Selenium IDE3 is continually evolving and has become my new tool-of-choice for testing web apps from the user experience perspective. Some of the features of the older Selenium IDE, such as rollups, are not supported. This has required some time to learn how to recreate test scripts in the new IDE. Along the way I’ve learned some tricks which are not documented on the main Selenium IDE site. Creating Selenium IDE3 Variables Using variables in Selenium IDE3 is similar to … Continue reading “Selenium IDE3 Using If and Variables”
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”
After a year-long hiatus, one of my favorite web app testing tools is back. It is nice to have Selenium IDE back as a viable option. Yes, it is similar to the old version. No, it is not perfect. It is a lot easier to use than nearly any other web app testing option available.
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”
Testing Store Locator Plus with lots of locations is a chore. Thankfully Cypress.IO data list processing makes this a lot easier. It turns out that the old-school Selenium IDE scripts that we’ve been using to test Store Locator Plus for years will no longer work. We already knew Firefox versions beyond 54 broke things — but we kept an old install on hand so while we port 500+ test scripts to a new system. What finally broke the old-school Firefox … Continue reading “Cypress.IO Data List Processing — Testing A WordPress Plugin”
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”
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”