Posted on February 14, 2018Categories JavaScript, Quality Assurance, TechnologyTags , , , , , 1 Comment on WebdriverIO and Mocha For Better Test Reports

WebdriverIO and Mocha For Better Test Reports

In a continuing series on using WebdriverIO with Selenium we are going to focus on getting better reporting output now that our environment is setup.  The previous article on setting up WebdriverIO should have you up-and-running with basic tests.   Now it is time to use some of that “Mocha flavoring” to get useful reports out of our tests.   WebdriverIO and Mocha gives you the tools to group together tests and report the results in plain text. Adding Mocha to a … Continue reading “WebdriverIO and Mocha For Better Test Reports”

Posted on September 27, 2017Categories JavaScript, Quality Assurance, TechnologyTags , , , , , , , ,   Leave a comment on Selenium on JavaScript : User List Test

Selenium on JavaScript : User List Test

I wasn’t quite sure what to name this article.  The Selenium on JS example here can be used to scan any table to ensure every entry on a list of strings exists; should I name it Test Web Page Has All Your Important Data?   The test also uses a separate NodeJS module to configure that list of important string, in my case user account names; Using NodeJS modules to configure repetitive data lists?  It also employes the Promise construct … Continue reading “Selenium on JavaScript : User List Test”

Posted on September 21, 2017Categories Programming Languages, Quality AssuranceTags , , , , , , 5 Comments on Testing Web Apps With Selenium and JavaScript

Testing Web Apps With Selenium and JavaScript

It turns out I’ve been making the setup of Selenium 2 (Selenium Server + Webdriver) far too complicated.   As noted in my prior article, getting the client side of the equation setup with Safari is as simple as going to the developer menu and selecting “Allow Remote Automation”. The server side of things is almost as easy.  I’ve opted to build my tests in JavaScript since that is the “way of the web app world” these days and because … Continue reading “Testing Web Apps With Selenium and JavaScript”

Posted on September 21, 2017Categories Quality Assurance, TechnologyTags , , , , , 1 Comment on Installing Safari Webdriver for Selenium 2

Installing Safari Webdriver for Selenium 2

Automated testing with Selenium is now your best option for scripted web testing if you have been using Selenium IDE with Firefox for the past few years.  As of Firefox 55, released in August of 2017, Selenium IDE no longer works “out of the box” with the latest browser.  While the folks over at SeleniumHQ work on “Selenium IDE TNG” (The Next Generation, I assume) you are going to be left either running older Firefox 54 which will try to … Continue reading “Installing Safari Webdriver for Selenium 2”