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

From MozillaWiki
Jump to navigation Jump to search
Line 2: Line 2:


=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
* verifyLocation - use w/regexp; otherwise it'll be absolute (I think)
* verifyLocation - use w/regexp; otherwise it'll be absolute (I think)
** e.g. ...
** e.g. ...


=PHP=
=PHP=

Revision as of 23:46, 22 October 2009

Here be some Selenium guidelines (mostly for writing, but include running here too).

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
  • verifyLocation - use w/regexp; otherwise it'll be absolute (I think)
    • e.g. ...

PHP