Difference between revisions of "Example Selenium test"
From Organic Design wiki
({{{TEST|Create Account}}}) |
(go back to main page after logout) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 7: | Line 7: | ||
<table cellpadding="1" cellspacing="1" border="1"> | <table cellpadding="1" cellspacing="1" border="1"> | ||
<thead> | <thead> | ||
| − | <tr><td rowspan="1" colspan="3"> | + | <tr><td rowspan="1" colspan="3">Create Account</td></tr> |
</thead><tbody> | </thead><tbody> | ||
<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 67: | Line 73: | ||
</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>



