Posted on December 21, 2018Categories Quality Assurance, TechnologyTags , , , , 8 Comments on Selenium IDE if element exists

Selenium IDE if element exists

Did you know you can tell Selenium IDE to execute certain commands only if a specific element exists on the page? The if element exists trick makes your web app testing scripts far more interesting. Here is a quick example using Selenium IDE 3 — the “new” Selenium IDE. Log out a standard user In this use case a WordPress multisite standard user is logged in. We can only execute our commands if we are a super admin. When trying … Continue reading “Selenium IDE if element exists”

Posted on April 9, 2018Categories Quality Assurance, TechnologyTags , ,   Leave a comment on Cypress.IO Shortcomings — Pattern or Die

Cypress.IO Shortcomings — Pattern or Die

Digging into Cypress.IO in a sprint to replace my almost-completely-useless stack of Selenium IDE tests for Store Locator Plus, I’ve run into some issues that seem to go beyond my lack of knowledge with the tool. Yes, it is a great step in the right direction and it can be man-handled to do what I need.  For now.   But tools should not be forcing you to do things a specific way. That are supposed to make you more efficient, no re-train … Continue reading “Cypress.IO Shortcomings — Pattern or Die”

Posted on February 15, 2018Categories JavaScript, Quality AssuranceTags , , , , , , , 1 Comment on CypressIO Simplifies Web App Testing

CypressIO Simplifies Web App Testing

After discussing projects over the past week, one of the guys at Automattic brought up CypressIO.   If you’ve been following the recent posts on Lance.Bio you know that the path to running automated web testing has run from Selenium IDE, the QA tool of choice for the past few years for Store Locator Plus, to recent forays into Selenium Webdriver.      Webdriver is powerful but difficult to code and soon led to the discovery of WebdriverIO, then Mocha and … Continue reading “CypressIO Simplifies Web App Testing”

Posted on February 13, 2018Categories Programming, Quality AssuranceTags , , , , , , , , 1 Comment on Setting Up WebdriverIO For Automated Website Testing

Setting Up WebdriverIO For Automated Website Testing

I’ve been writing about Selenium IDE for years , telling anyone that would listen how it helps automate user experience testing.    Recently , with the demise of Selenium IDE along with the engine updates to Firefox, I started talking about migrating to Selenium Webdriver.    Think of Selenium Webdriver as the “professional version” of Selenium IDE.    It is far more powerful but is a pain to setup and does require minimal JavaScript coding skills. By installing a few … Continue reading “Setting Up WebdriverIO For Automated Website Testing”

Posted on September 27, 2017Categories JavaScript, Programming Languages, TechnologyTags , , , , , ,   Leave a comment on Selenium on JavaScript : New WordPress Site Config Script

Selenium on JavaScript : New WordPress Site Config Script

This article continues the journey into learning Selenium on JavaScript (SoJa).  It builds on the lessons of the previous articles and adds some common library functions to make our tests more readable and starts to employ the Don’t Repeat Yourself (DRY) concept. In this case we are going to build a common library module that we will re-use in future scripts. It will load our configuration and environment.  It will also export some methods that make our test script code … Continue reading “Selenium on JavaScript : New WordPress Site Config Script”

Posted on September 22, 2017Categories Quality AssuranceTags , , , , , , , , , ,   Leave a comment on A Simple Selenium Script Example Using JavaScript and Safari

A Simple Selenium Script Example Using JavaScript and Safari

In my previous articles I showed how to enable Safari for web automation (hint: developer menu Allow Remote Automation) and how to get your Node.js environment setup on MacOS to begin writing automated web application scripts.    This example is a very basic script to show how to perform a basic web page load (the MySLP site in this case) with some parameter passing that can be expanded in later examples. Enironment Preparation My test environment is running on MacOS … Continue reading “A Simple Selenium Script Example Using JavaScript and Safari”

Posted on April 18, 2017Categories Quality Assurance, TechnologyTags , , , , 6 Comments on Selenium IDE Rollups With Arguments

Selenium IDE Rollups With Arguments

As I prepare another release of Store Locator Plus with some new features I’ve decided it is time to up my QA-fu with Selenium.   I’ve been using Selenium IDE for a while now and find that , despite being free, it is one of the best user experience testing tools out there.    I’ve paid for a few testing tools over the years and I always come back to Selenium IDE.     The paid tools are do not … Continue reading “Selenium IDE Rollups With Arguments”