QA/Execution/Web Testing/Selenium Guidelines

< QA‎ | Execution‎ | Web Testing
Revision as of 05:09, 23 October 2009 by Stephend (talk | contribs)

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. ...
  • wherever possible, use relative--not absolute--URLs in |open| commands

PHP