QA/Execution/Web Testing/Selenium Guidelines: Difference between revisions

No edit summary
Line 13: Line 13:
=IDE=
=IDE=
* click vs. clickAndWait - use the latter on anything that requires network activity, but if you use the former on other buttons/links, your script will pause indefinitely
* click vs. clickAndWait - use the latter on anything that requires network activity, but if you use the former on other buttons/links, your script will pause indefinitely
* verifyLocation - use w/regexp; otherwise it'll be absolute (I think)
* verifyLocation - use w/regexpi; otherwise it'll be absolute (I think)
** e.g. ...
** e.g. ...
* wherever possible, use relative--not absolute--URLs in |open| commands
* wherever possible, use relative--not absolute--URLs in |open| commands
Line 24: Line 24:


*VerifySelectedLabel can be used to verify the selected option in a dropdown box.
*VerifySelectedLabel can be used to verify the selected option in a dropdown box.


=PHP=
=PHP=
Confirmed users
9,511

edits