AccessFromLoginDialog revision 41b8a41890ba8f4574304c7ef42effe818413348
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<?xml version="1.0" encoding="UTF-8"?>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<head profile="http://selenium-ide.openqa.org/profiles/test-case">
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
3f24ae54ba5a63d93c5b71ea2264c0dddbf688c0bnicholes<link rel="selenium.base" href="http://localhost:28080/" />
3f24ae54ba5a63d93c5b71ea2264c0dddbf688c0bnicholes<title>New Test</title>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</head>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<body>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<table cellpadding="1" cellspacing="1" border="1">
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<thead>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr><td rowspan="1" colspan="3">New Test</td></tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</thead><tbody>
0662ed52e814f8f08ef0e09956413a792584eddffuankg<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>open</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>index.html</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td></td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>deleteAllVisibleCookies</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td></td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td></td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>runScript</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>require([&quot;app/comp/user/delegates/UserDelegate&quot;], function(userDelegate) { userDelegate.removeAllUsers(); });</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td></td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>waitForCondition</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>selenium.browserbot.getUserWindow().$.active == 0</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>1000</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>runScript</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>require([&quot;app/comp/user/delegates/UserDelegate&quot;], function(userDelegate) { userDelegate.createEntity({ userName : &quot;test@test.test&quot;, firstname : &quot;test&quot;, lastname :&quot;test&quot;, email : &quot;test@test.test&quot;, password : &quot;tesT#1#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>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td></td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>waitForCondition</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>selenium.browserbot.getUserWindow().$.active == 0</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>1000</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>type</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>name=loginText</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>qwe</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>type</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>name=loginPassword</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>qwe</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>click</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>name=loginButton</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td></td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>waitForTextPresent</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>Login/password combination is invalid.</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td></td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>verifyTextPresent</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>Login/password combination is invalid.</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td></td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>type</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>name=loginText</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>test@test.test</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>type</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>name=loginPassword</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>qwe</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>fireEvent</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>name=loginButton</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>click</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>waitForTextPresent</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>Login/password combination is invalid.</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td></td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>verifyTextPresent</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>Login/password combination is invalid.</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td></td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>runScript</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>require([&quot;app/comp/user/views/LoginView&quot;], function(obj) { obj.toggle()});</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td></td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
3f24ae54ba5a63d93c5b71ea2264c0dddbf688c0bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>waitForTextPresent</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>Forgot your password</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td></td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>click</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>id=forgotPasswordLink</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td></td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>waitForElementPresent</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>name=forgottenEmail</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td></td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>click</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>name=forgottenEmail</td>
3f24ae54ba5a63d93c5b71ea2264c0dddbf688c0bnicholes <td>onFocus</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>click</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>name=fgtnSecurityAnswer</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>onFocus</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>waitForValue</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>name=forgottenEmail</td>
0662ed52e814f8f08ef0e09956413a792584eddffuankg <td>test@test.test</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>pause</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>300</td>
0662ed52e814f8f08ef0e09956413a792584eddffuankg <td></td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>fireEvent</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>name=forgottenEmail</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>change</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>waitForElementPresent</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>css=span.ok</td>
3f24ae54ba5a63d93c5b71ea2264c0dddbf688c0bnicholes <td></td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<tr>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>verifyElementPresent</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td>css=span.ok</td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <td></td>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</tr>
3f24ae54ba5a63d93c5b71ea2264c0dddbf688c0bnicholes</tbody></table>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</body>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</html>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes