Difference between revisions of "Example Selenium test suite"

From Organic Design wiki
m
Line 1: Line 1:
 +
;See also
 +
*[[Special:Selenium]]
 +
*[[Special:Selenium/{{PAGENAME}}]]
 +
 
==First test==
 
==First test==
 
This test is an example of transclusion of another article which itself a test article encapsulated in <nowiki><selenium></nowiki> tags.
 
This test is an example of transclusion of another article which itself a test article encapsulated in <nowiki><selenium></nowiki> tags.

Revision as of 09:27, 13 December 2007

See also

First test

This test is an example of transclusion of another article which itself a test article encapsulated in <selenium> tags. <selenium> Create Account

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>

Second test

this test is an example of an inline <selenium> test. <selenium> Create Account

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>