Difference between revisions of "Template:Sandbox"
From Organic Design wiki
m (rv ><) |
(Selenium tests) |
||
Line 2: | Line 2: | ||
− | + | <selenium><html> | |
− | + | <head> | |
− | + | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
− | + | <title>Create Account</title> | |
− | + | </head> | |
− | + | <body> | |
+ | <table cellpadding="1" cellspacing="1" border="1"> | ||
+ | <thead> | ||
+ | <tr><td rowspan="1" colspan="3">Create Account</td></tr> | ||
+ | </thead><tbody> | ||
+ | <tr> | ||
+ | <td>open</td> | ||
+ | <td>/wiki/index.php?title={{{NAME|Special:Userlogout}}}</td> | ||
+ | <td></td> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | <td>clickAndWait</td> | ||
+ | <td>link=Log in / create account</td> | ||
+ | <td></td> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | <td>clickAndWait</td> | ||
+ | <td>link=Create an account</td> | ||
+ | <td></td> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | <td>storeEval</td> | ||
+ | <td>new Date().getTime()-1000000000000</td> | ||
+ | <td>username</td> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | <td>type</td> | ||
+ | <td>wpName2</td> | ||
+ | <td>${username}</td> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | <td>type</td> | ||
+ | <td>wpPassword2</td> | ||
+ | <td>password</td> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | <td>type</td> | ||
+ | <td>wpRetype</td> | ||
+ | <td>password</td> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | <td>clickAndWait</td> | ||
+ | <td>wpCreateaccount</td> | ||
+ | <td></td> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | <td>verifyTitle</td> | ||
+ | <td>glob:*successful*</td> | ||
+ | <td></td> | ||
+ | </tr> | ||
+ | |||
+ | </tbody></table> | ||
+ | </body> | ||
+ | </html> | ||
+ | </selenium> | ||
+ | |||
+ | [[Category:Selenium]] |
Revision as of 04:26, 11 December 2007
<selenium>
Create Account | ||
open | /wiki/index.php?title={{{NAME|Special:Userlogout}}} | |
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>