SequrityQuestionChange revision 41b8a41890ba8f4574304c7ef42effe818413348
0N/A<?xml version="1.0" encoding="UTF-8"?>
2362N/A<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
0N/A<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
0N/A<head profile="http://selenium-ide.openqa.org/profiles/test-case">
0N/A<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
0N/A<link rel="selenium.base" href="http://localhost:28080/" />
2362N/A<title>New Test</title>
0N/A</head>
2362N/A<body>
0N/A<table cellpadding="1" cellspacing="1" border="1">
0N/A<thead>
0N/A<tr><td rowspan="1" colspan="3">New Test</td></tr>
0N/A</thead><tbody>
0N/A<tr>
0N/A <td>open</td>
0N/A <td>index.html</td>
0N/A <td></td>
0N/A</tr>
0N/A<tr>
0N/A <td>deleteAllVisibleCookies</td>
2362N/A <td></td>
2362N/A <td></td>
2362N/A</tr>
0N/A<tr>
0N/A <td>runScript</td>
0N/A <td>require([&quot;app/comp/user/delegates/UserDelegate&quot;], function(userDelegate) { userDelegate.removeAllUsers(); });</td>
0N/A <td></td>
0N/A</tr>
0N/A<tr>
0N/A <td>waitForCondition</td>
0N/A <td>selenium.browserbot.getUserWindow().$.active == 0</td>
0N/A <td>1000</td>
0N/A</tr>
0N/A<tr>
0N/A <td>runScript</td>
0N/A <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>
0N/A <td></td>
0N/A</tr>
0N/A<tr>
0N/A <td>waitForCondition</td>
0N/A <td>selenium.browserbot.getUserWindow().$.active == 0</td>
0N/A <td>1000</td>
0N/A</tr>
0N/A<tr>
0N/A <td>type</td>
0N/A <td>name=loginText</td>
0N/A <td>test@test.test</td>
0N/A</tr>
0N/A<tr>
0N/A <td>type</td>
0N/A <td>name=loginPassword</td>
0N/A <td>tesT#1#Test</td>
0N/A</tr>
0N/A<tr>
0N/A <td>click</td>
0N/A <td>name=loginButton</td>
0N/A <td></td>
0N/A</tr>
0N/A<tr>
0N/A <td>waitForElementPresent</td>
0N/A <td>id=securityDialogLink</td>
0N/A <td></td>
0N/A</tr>
0N/A<tr>
0N/A <td>click</td>
0N/A <td>id=securityDialogLink</td>
0N/A <td></td>
0N/A</tr>
0N/A<tr>
0N/A <td>waitForElementPresent</td>
0N/A <td>name=passwordOld</td>
0N/A <td></td>
0N/A</tr>
0N/A<tr>
0N/A <td>type</td>
0N/A <td>name=passwordOld</td>
0N/A <td>tesT#1#Test</td>
0N/A</tr>
0N/A<tr>
0N/A <td>pause</td>
0N/A <td>300</td>
0N/A <td></td>
0N/A</tr>
0N/A<tr>
0N/A <td>fireEvent</td>
0N/A <td>name=passwordOld</td>
0N/A <td>change</td>
0N/A</tr>
0N/A<tr>
0N/A <td>waitForElementPresent</td>
0N/A <td>name=fgtnSecurityQuestion</td>
0N/A <td></td>
0N/A</tr>
0N/A<tr>
0N/A <td>verifyElementPresent</td>
0N/A <td>name=fgtnSecurityQuestion</td>
0N/A <td></td>
0N/A</tr>
0N/A<tr>
0N/A <td>select</td>
0N/A <td>name=fgtnSecurityQuestion</td>
0N/A <td>label=What was your first pet's name?</td>
0N/A</tr>
0N/A<tr>
0N/A <td>type</td>
0N/A <td>name=fgtnSecurityAnswer</td>
0N/A <td>qwe</td>
0N/A</tr>
0N/A<tr>
0N/A <td>fireEvent</td>
0N/A <td>name=fgtnSecurityAnswer</td>
0N/A <td>change</td>
0N/A</tr>
0N/A<tr>
0N/A <td>waitForElementPresent</td>
0N/A <td>//div[@id='securityMore']/div[3]/span</td>
0N/A <td></td>
0N/A</tr>
0N/A<tr>
0N/A <td>verifyElementPresent</td>
0N/A <td>//div[@id='securityMore']/div[3]/span</td>
0N/A <td></td>
0N/A</tr>
0N/A<tr>
0N/A <td>waitForElementPresent</td>
0N/A <td>css=span.ok</td>
0N/A <td></td>
0N/A</tr>
0N/A<tr>
0N/A <td>verifyElementPresent</td>
0N/A <td>css=span.ok</td>
0N/A <td></td>
0N/A</tr>
0N/A<tr>
0N/A <td>fireEvent</td>
0N/A <td>name=fgtnSecurityQuestion</td>
0N/A <td>change</td>
0N/A</tr>
0N/A<tr>
0N/A <td>fireEvent</td>
0N/A <td>name=fgtnSecurityAnswer</td>
0N/A <td>change</td>
0N/A</tr>
0N/A<tr>
0N/A <td>click</td>
0N/A <td>id=dialogOk</td>
0N/A <td></td>
0N/A</tr>
0N/A<tr>
0N/A <td>waitForElementPresent</td>
0N/A <td>//div[@id='messages']/div[2]</td>
0N/A <td></td>
0N/A</tr>
0N/A<tr>
0N/A <td>verifyTextPresent</td>
0N/A <td>Security question has been changed</td>
0N/A <td></td>
0N/A</tr>
0N/A</tbody></table>
0N/A</body>
0N/A</html>
0N/A