Tips From Our Codebase To Help You Write Reliable Selenium Tests

July 26th, 2011 by Santiago Suarez Ordoñez

As part of our new “Test Like A Ninja Webinar Series,” I held an improv webinar last week that covered how to write better Selenium tests. Most of the content came from my own Selenium experience, as well as experience gleaned from working on our own customers’ issues.

Without further ado, here’s the video:

And here are some of the code snippets I talked about:

Implicit waits in Selenium 1:

Ignoring Open and waitForPageToLoad failures, as well as reporting pass/fail status automatically:

Reporting pass/fail status automatically on python for Selenium 2 tests

Tune in to the next Test Like A Ninja webinar on August 2 to learn how easy it is to test behind a firewall in the cloud.

Happy testing!

Comments (You may use the <code> or <pre> tags in your comment)

  1. [...] source and code snipets : http://saucelabs.com/blog/index.php/2011/07/tips-from-our-codebase-to-help-you-write-reliable-seleni… Related Content:Using RobotFramework with the Selenium LibrarySelenium IDE PluginsGetting started [...]

  2. [...]  El enlace del vídeo y de los códigos de ejemplo que se mencionan es este. [...]

  3. [...] and code snipets on http://saucelabs.com/blog/index.php/2011/07/tips-from-our-codebase-to-help-you-write-reliable-seleni… Related Content:Selenium IDE PluginsSelenium and CucumberJason Huggins and Simon Stewart on [...]

Leave a Comment