Difference between revisions of "Example Selenium test"

From Organic Design wiki
(go back to main page after logout)
 
(6 intermediate revisions by 2 users not shown)
Line 11: Line 11:
 
<tr>
 
<tr>
 
<td>open</td>
 
<td>open</td>
<td>/wiki/index.php?title=Special:Userlogout</td>
+
<td>{{localurl:Special:Userlogout}}</td>
 +
<td></td>
 +
</tr>
 +
 
 +
<tr>
 +
<td>open</td>
 +
<td>{{localurl:Main Page}}</td>
 
<td></td>
 
<td></td>
 
</tr>
 
</tr>
Line 66: Line 72:
 
</body>
 
</body>
 
</html>
 
</html>
<selenium>
+
</selenium>
 
 
[[Category:Selenium]]
 

Latest revision as of 01:38, 4 August 2008

<selenium> Create Account

Create Account
open {{localurl:Special:Userlogout}}
open {{localurl:Main Page}}
clickAndWait link=Log in / create account
clickAndWait link=Create an account
storeEval new Date().getTime()-1000000000000 username
type wpName2 ${username}
type wpPassword2 password
type wpRetype password
clickAndWait wpCreateaccount
verifyTitle glob:*successful*

</selenium>