Page MenuHomec4science

test_submit_picture.html
No OneTemporary

File Metadata

Created
Sat, Nov 30, 01:02

test_submit_picture.html

<?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_submit_picture</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">test_submit_picture</td></tr>
</thead><tbody>
<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>jekyll</td>
</tr>
<tr>
<td>type</td>
<td>p_pw</td>
<td>j123ekyll</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>action</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Submit</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Demo Picture Submission</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>comboLIFE</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//input[@value='Submit New Record']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>DEMOPIC_TITLE</td>
<td>Test picture title</td>
</tr>
<tr>
<td>type</td>
<td>DEMOPIC_PHOTOG</td>
<td>AuthorA, FirstnameA<br />AuthorB, FirstnameB<br />AuthorC, FirstnameC</td>
</tr>
<tr>
<td>type</td>
<td>DEMOPIC_DATE</td>
<td>11/01/2001</td>
</tr>
<tr>
<td>type</td>
<td>DEMOPIC_KW</td>
<td>test keyword 1<br />test keyword 2</td>
</tr>
<tr>
<td>type</td>
<td>DEMOPIC_DESCR</td>
<td>This is some test description of the test picture.</td>
</tr>
<tr>
<td>type</td>
<td>DEMOPIC_ADD_RN</td>
<td>test-ref-a<br />test-ref-b</td>
</tr>
<tr>
<td>type</td>
<td>DEMOPIC_NOTE</td>
<td>This is a test comment.</td>
</tr>
<tr>
<td>type</td>
<td>DEMOPIC_FILE</td>
<td>/opt/invenio/lib/webtest/invenio/test.jpg</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>endS</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Submission Complete!<br /></td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Your document has the following reference(s): DEMO-PICTURE-LIFE-</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=logout</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>

Event Timeline