Difference between revisions of "Example Selenium test"
From Organic Design wiki
({{{TEST|Create Account}}}) |
m |
||
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> |
Revision as of 21:54, 25 December 2007
<selenium>
Create Account | ||
open | /wiki/index.php?title=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>