UserLogout revision 41b8a41890ba8f4574304c7ef42effe818413348
250N/A<?xml version="1.0" encoding="UTF-8"?>
250N/A<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
250N/A<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
250N/A<head profile="http://selenium-ide.openqa.org/profiles/test-case">
250N/A<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
250N/A<link rel="selenium.base" href="http://localhost:28080/" />
250N/A<title>UserLogout</title>
250N/A</head>
250N/A<body>
250N/A<table cellpadding="1" cellspacing="1" border="1">
250N/A<thead>
250N/A<tr><td rowspan="1" colspan="3">UserLogout</td></tr>
250N/A</thead><tbody>
250N/A<tr>
250N/A <td>open</td>
250N/A <td>index.html</td>
250N/A <td></td>
250N/A</tr>
250N/A<tr>
250N/A <td>deleteAllVisibleCookies</td>
844N/A <td></td>
250N/A <td></td>
250N/A</tr>
250N/A<tr>
250N/A <td>runScript</td>
250N/A <td>require([&quot;app/comp/user/delegates/UserDelegate&quot;], function(userDelegate) { userDelegate.removeAllUsers(); });</td>
250N/A <td></td>
618N/A</tr>
250N/A<tr>
844N/A <td>waitForCondition</td>
844N/A <td>selenium.browserbot.getUserWindow().$.active == 0</td>
250N/A <td>10000</td>
1258N/A</tr>
250N/A<tr>
250N/A <td>runScript</td>
250N/A <td>require([&quot;app/comp/user/delegates/UserDelegate&quot;], function(userDelegate) { userDelegate.createEntity({ password : &quot;tesT#1#Test&quot;, userName : &quot;test@test.test&quot;, firstname : &quot;test&quot;, lastname :&quot;test&quot;, email : &quot;test@test.test&quot;, address1 : &quot;&quot;, address2 : &quot;&quot;, city : &quot;&quot;, postalcode : &quot;&quot;, phonenumber : &quot;123&quot;, country : &quot;&quot;, state_province : &quot;&quot;, securityquestion : &quot;1&quot;, securityanswer : &quot;qwe&quot; }); });</td>
250N/A <td></td>
250N/A</tr>
250N/A<tr>
250N/A <td>waitForCondition</td>
250N/A <td>selenium.browserbot.getUserWindow().$.active == 0</td>
250N/A <td>10000</td>
250N/A</tr>
250N/A<tr>
250N/A <td>deleteAllVisibleCookies</td>
250N/A <td></td>
250N/A <td></td>
250N/A</tr>
250N/A<tr>
250N/A <td>type</td>
250N/A <td>name=loginText</td>
250N/A <td>test@test.test</td>
250N/A</tr>
250N/A<tr>
250N/A <td>type</td>
250N/A <td>name=loginPassword</td>
250N/A <td>tesT#1#Test</td>
250N/A</tr>
250N/A<tr>
250N/A <td>click</td>
250N/A <td>name=loginButton</td>
250N/A <td></td>
250N/A</tr>
250N/A<tr>
250N/A <td>waitForElementPresent</td>
250N/A <td>id=logout_link</td>
250N/A <td></td>
250N/A</tr>
250N/A<tr>
250N/A <td>verifyElementPresent</td>
250N/A <td>id=logout_link</td>
250N/A <td></td>
250N/A</tr>
250N/A<tr>
250N/A <td>pause</td>
250N/A <td>500</td>
250N/A <td></td>
250N/A</tr>
250N/A<tr>
<td>click</td>
<td>id=logout_link</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>name=loginButton</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>name=loginButton</td>
<td></td>
</tr>
<tr>
<td>verifyValue</td>
<td>name=loginText</td>
<td></td>
</tr>
<tr>
<td>verifyValue</td>
<td>name=loginPassword</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>