Difference between revisions of "Example Selenium test"
From Organic Design wiki
(go back to main page after logout) |
|||
Line 12: | Line 12: | ||
<td>open</td> | <td>open</td> | ||
<td>{{localurl: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> |
Latest revision as of 01:38, 4 August 2008
<selenium>
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>