Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92096209
test_comment_add.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Nov 17, 07:54
Size
3 KB
Mime Type
text/xml
Expires
Tue, Nov 19, 07:54 (2 d)
Engine
blob
Format
Raw Data
Handle
22375674
Attached To
R3600 invenio-infoscience
test_comment_add.html
View Options
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://localhost/" />
<title>test_comment_add</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">test_comment_add</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>http://localhost/record/1</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Discussion</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>msg</td>
<td>This cannot go in.</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//input[@value='Add comment']</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Before you add your comment</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td>http://localhost</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=login</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>p_un</td>
<td>romeo</td>
</tr>
<tr>
<td>type</td>
<td>p_pw</td>
<td>r123omeo</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>action</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td>http://localhost/record/1</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Discussion</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Your nickname, romeo, will be displayed as author of this comment</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>msg</td>
<td>This is a test comment.</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//input[@value='Add comment']</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Your comment was successfully added.</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Back to record</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>romeo wrote</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>This is a test comment.</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=logout</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td>http://localhost</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=login</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>p_un</td>
<td>juliet</td>
</tr>
<tr>
<td>type</td>
<td>p_pw</td>
<td>j123uliet</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>action</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td>http://localhost/record/1</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Discussion</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Reply</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>msg</td>
<td>This is a test reply.</td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Your nickname, juliet, will be displayed as author of this comment</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//input[@value='Add comment']</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Back to record</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>juliet wrote</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>This is a test reply.</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=logout</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
Event Timeline
Log In to Comment