Selenium Simplified - Automated Browser Testing With Selenium WebDriver Made Simple

Jun 15, 2016 - 2 minute read - Firefox Selenium Simplified Blog WebDriver

Using Portable Firefox 46 with WebDriver

As mentioned on David Burns’ blog and in a previous post here Firefox are moving towards Marionette driver. At the time of writing Firefox 47 doesn’t work with FirefoxDriver and you need to use Marionette. This may change back soon, and David’s blog post might no longer be available. As mentioned on the above posts you can use Marionette, or use the ESR. OR you could use a portable version of Firefox.

Apr 25, 2016 - 2 minute read - FAQ Selenium Simplified Blog WebDriver

How to use the Firefox Marionette Driver

Note: This post was triggered by a blog post on David Burns’ Blog which states that FirefoxDriver will stop working at version 47 of Firefox.  It is easy to switch to using the new MarionetteDriver. I suggest you try it on your code, and if your tests work, then keep using it. If your tests fail, then it is most likely some defects in the newer MarionetteDriver. In which case: raise defects to the Mozilla team, switch back to Firefox 45 or 46, and periodically try new versions of MarionetteDriver until your tests are working enough that you can use that as your main ‘Firefox’ driver.

Mar 24, 2016 - 2 minute read - Practices Selenium Simplified Blog WebDriver

Coding for workarounds so you know when they are fixed

With most libraries you use to automate your work, you have to code workarounds. I coded a workaround in my Selenium WebDriver tests because there was a bug in ChromeDriver which meant that cookies were created differently than other browsers. When I upgraded to WebDriver 2.53.0 and ChromeDriver 2.21 I discovered I didn’t need my workaround anymore. In the code I had one set of code for Chrome, and another set for other browsers:

Mar 21, 2016 - 2 minute read - Selenium Simplified Blog Training Courses WebDriver

Upgrade to Selenium WebDriver 2.53.0 and ChromeDriver 2.21

Selenium WebDriver 2.53.0 is available Upgrade to Selenium WebDriver 2.53.0 I’ve just updated my online Selenium 2 WebDriver with Java course to use version 2.53.0 of Selenium WebDriver. Change Log I mainly update due to browser changes but this update required a code fix. Selenium WebDriver 2.53.0 Minor code fix in the pom.xml to add a dependency on the new Htmlunit driver project. The package structure in the htmlunit driver was left the same so all I had to amend was the pom file

Jan 14, 2016 - 2 minute read - Selenium Simplified Blog WebDriver

Can I use Selenium WebDriver to automate a Windows Desktop Application?

A question posted on the forum of my Selenium WebDriver course. “Can I use Selenium WebDriver to automate a Windows Desktop Application?” I have updated and expanded the answer I provided on the course forum into this blog post. Answer: No. WebDriver is Web only. But… Since WebDriver has a RemoteWebDriver architecture, people have created RemoteWebDriver implementations which aim to automate Windows Applications: Some options that I have not tried, based around WebDriver:

Jan 7, 2016 - 5 minute read - Practices Selenium Simplified Blog

Test Automation in Cybernetics And Management

I recently re-read Stafford Beer’s 1967 “Cybernetics and Management”. An overview of Cybernetics and its derivation from Operational Research; because its examples use organisations and teams, it provides immediate relevance to my work. I re-read this because I like to understand ‘automation’ from a more historical perspective, rather than focus on it from the perspective of ‘test automation’. An Unfortunate Word A paragraph towards the end of the book stood out:

Oct 7, 2015 - 3 minute read - Conferences Selenium Simplified Blog

TestWorksConf 2015 Notes and Information

I have added the slides for my TestWorksConf keynote to my TestWorksConf page. So if you’d like to see them then you can head off here. This post is to describe the rest of the conference and link to useful sources of information I think you’ll find interesting. The conference (#testworksconf) was probably the most ‘hands on’ conference I have ever attended. Xebia, the organisers, created a usb stick with a VM which had all the software that would be used in the workshops and demonstrated by the speakers so that the conference attendees could hack along with the talks.

Jul 24, 2015 - 4 minute read - Grid Selenium Simplified Blog

Lessons learned from a cloud grid bug

Lessons Learned from a Cloud Grid Bug Because my Selenium WebDriver with Java course covers as much of the Selenium WebDriver API as I can, I often have code usage in there that doesn’t see the light of day on many live projects. Therefore it can act as ‘edge cases’ for drivers and grid installations. A few days ago the course code identified a problem on TestingBot, which they have now fixed.

Jul 21, 2015 - 5 minute read - Grid Java Selenium Simplified Blog WebDriver

Generic Selenium WebDriver Grid Configuration Handling to use BrowserStack, Saucelabs and TestingBot

[]( taken from page 103 of 'Der Beobachter. Allgemeine Anleitung zu Beobachtungen über Land und Leute. In my Selenium WebDriver with Java course I have a abstraction class. I use an abstraction class so that in the @Test methods we make a call to Driver.get rather than individual firefox or chrome drivers, or RemoteDrivers And the configuration of this is adjusted via the actual code, or a mix of environment variables and properties.

Jul 1, 2015 - 2 minute read - Courses Selenium Simplified Blog WebDriver

Recent course source code changes for WebDriver 2.46.0

I just finished updating my course source code for WebDriver 2.46.0 I removed some of the code to github: webdriverbackedselenium-example-on-github-now operadriver-is-now-officially-deprecated-in-my-code I had to make a few other minor changes which I summarise below. Chrome and Firefox Chrome and ChromeDriver 2.16 now seem to work as well as the Firefox driver. I used to have some issues with Frames and Window management but that has all gone away.