Announcing pytest-mozwebqa 1.0
Finally I can announce that I have released version 1.0 of the pytest plugin used by Mozilla’s Web QA team! It’s been in use for several months now, but I’ve paid off some long standing technical debt,...
View ArticleHow to WebDriverWait
As WebDriver moves more towards being more of an API and less of a testing tool, functions that contained the logic to wait for pages such as wait_for_page_to_load() are being removed. The reason for...
View ArticleWebDriver’s implicit wait and deleting elements
WebDriver has introduced implicit waits on functions like find_element. That means that when WebDriver cannot find an element, it will automatically wait for a defined amount of time for it to appear....
View ArticleWebDriver and Py.test parametrize
On the Web QA team at Mozilla we have been using the py.test unit testing software for a while now and find it very useful. We can extend and customise it using plugins and have done so to great effect...
View ArticleSetting Up PyCharm to Run MozWebQA Tests
(The following is a guest post by Bob Silverberg, one of our awesome contributors in Web QA.) PyCharm is a Python IDE, released by JetBrains. I quite enjoy using it and, as I've recently started...
View ArticleFlynnID 0.2
In Tron, Flynn’s identity disc is the master key to getting onto the Grid. In the far less exciting real world, FlynnID is the key to registering a Selenium node to Selenium Grid. Yesterday I released...
View ArticleBIDPOM drops support for Selenium RC
As all of the active Mozilla Web QA automation projects are now using WebDriver, there is no longer a need for BIDPOM (Browser ID Page Object Model) to support Selenium RC. I considered keeping this...
View ArticleFlynnID 0.3
I’ve just released an update to FlynnID. The primary change is that I’ve reintroduced the command line arguments, meaning a single node can be registered without the need for a configuration file. I’ve...
View ArticleVery nice xpath and css selector locator cheat sheet for Selenium
I was recently asked by a colleague for some advice on locators and I shared this cheat sheet with him. It contains just about everything you need to know for formulating locators for use with...
View ArticleWriting reliable locators for Selenium and WebDriver tests
By Zac Campbell If you’ve come here looking for the perfect, unbreakable locator, then I’m afraid to tell you that there is no perfect locator. That HTML changes and locators become incompatible are...
View Article
More Pages to Explore .....