storedDataPresentation revision 2d7019e19039fd083850f76e54b6b26a7b06a8f2
<?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:28080/" />
<title>storedDataPresentation</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">storedDataPresentation</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>index.html</td>
<td></td>
</tr>
<tr>
<td>deleteAllVisibleCookies</td>
<td></td>
<td></td>
</tr>
<tr>
<td>runScript</td>
<td>require([&quot;app/comp/user/delegates/UserDelegate&quot;], function(userDelegate) { userDelegate.removeAllUsers(); });</td>
<td></td>
</tr>
<tr>
<td>waitForCondition</td>
<td>selenium.browserbot.getUserWindow().$.active == 0</td>
<td>10000</td>
</tr>
<tr>
<td>runScript</td>
<td>require([&quot;app/comp/user/delegates/UserDelegate&quot;], function(userDelegate) { userDelegate.createEntity({ userName : &quot;test@test.test&quot;, firstname : &quot;FirstName&quot;, lastname :&quot;LastName&quot;, email : &quot;test@test.test&quot;, password : &quot;tesT#1#Test&quot;, address1 : &quot;Test Address Line 1&quot;, address2 : &quot;Test Address Line 2&quot;, city : &quot;TestCity&quot;, postalcode : &quot;Any postal code&quot;, phonenumber : &quot;+48666666666&quot;, country : &quot;poland&quot;, state_province : &quot;dolnoslaskie&quot;, securityquestion : &quot;&quot;, securityanswer : &quot;&quot; }); });</td>
<td></td>
</tr>
<tr>
<td>waitForCondition</td>
<td>selenium.browserbot.getUserWindow().$.active == 0</td>
<td>10000</td>
</tr>
<tr>
<td>type</td>
<td>name=loginText</td>
<td>test@test.test</td>
</tr>
<tr>
<td>type</td>
<td>name=loginPassword</td>
<td>tesT#1#Test</td>
</tr>
<tr>
<td>click</td>
<td>name=loginButton</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>2000</td>
<td></td>
</tr>
<tr>
<td>verifyValue</td>
<td>name=firstName</td>
<td>FirstName</td>
</tr>
<tr>
<td>verifyValue</td>
<td>name=lastName</td>
<td>LastName</td>
</tr>
<tr>
<td>verifyValue</td>
<td>name=address1</td>
<td>Test Address Line 1</td>
</tr>
<tr>
<td>verifyValue</td>
<td>name=address2</td>
<td>Test Address Line 2</td>
</tr>
<tr>
<td>verifyValue</td>
<td>name=city</td>
<td>TestCity</td>
</tr>
<tr>
<td>verifyValue</td>
<td>name=phoneNumber</td>
<td>+48666666666</td>
</tr>
<tr>
<td>verifyValue</td>
<td>name=postalCode</td>
<td>Any postal code</td>
</tr>
<tr>
<td>verifySelectedLabel</td>
<td>//select[@name='country']</td>
<td>Poland</td>
</tr>
<tr>
<td>verifySelectedLabel</td>
<td>//select[@name='stateProvince']</td>
<td>Dolnośląskie</td>
</tr>
</tbody></table>
</body>
</html>