storedDataPresentation revision aad719b323501306ded0d31401a9208df0e6b1f0
<?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">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<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>deleteAllVisibleCookies</td>
<td></td>
<td></td>
</tr>
<tr>
<td>open</td>
<td></td>
</tr>
<tr>
<td>runScript</td>
<td>require(["org/forgerock/commons/ui/user/delegates/UserDelegate"], function(userDelegate) { userDelegate.removeAllUsers(); });</td>
<td></td>
</tr>
<tr>
<td>waitForCondition</td>
<td>10000</td>
</tr>
<tr>
<td>runScript</td>
<td>require(["org/forgerock/commons/ui/user/delegates/UserDelegate"], function(userDelegate) { userDelegate.createEntity({ userName : "test@test.test", givenName : "givenName", familyName :"familyName", email : "test@test.test", password : "tesT#1#Test", address1 : "Test Address Line 1", address2 : "Test Address Line 2", city : "TestCity", postalCode : "Any postal code", phoneNumber : "+48666666666", country : "poland", stateProvince : "dolnoslaskie", securityQuestion : "1", securityAnswer : "qwe" }); });</td>
<td></td>
</tr>
<tr>
<td>waitForCondition</td>
<td>10000</td>
</tr>
<tr>
<td>type</td>
<td>name=login</td>
<td>test@test.test</td>
</tr>
<tr>
<td>type</td>
<td>name=password</td>
<td>tesT#1#Test</td>
</tr>
<tr>
<td>type</td>
<td>name=password</td>
<td>tesT#1#Test</td>
</tr>
<tr>
<td>fireEvent</td>
<td>name=password</td>
<td>keyup</td>
</tr>
<tr>
<td>fireEvent</td>
<td>name=login</td>
<td>keyup</td>
</tr>
<tr>
<td>click</td>
<td>name=loginButton</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>id=profile_link</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>id=profile_link</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>2000</td>
<td></td>
</tr>
<tr>
<td>verifyValue</td>
<td>name=givenName</td>
<td>givenName</td>
</tr>
<tr>
<td>verifyValue</td>
<td>name=familyName</td>
<td>familyName</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>