Difference between revisions of "Example Selenium test"
From Organic Design wiki
(Wrap with <selenium> tags) |
(go back to main page after logout) |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 11: | Line 11: | ||
<tr> | <tr> | ||
<td>open</td> | <td>open</td> | ||
| − | <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> |
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>



