Posted on February 24, 2019Categories JavaScript, Quality Assurance, TechnologyTags , , ,   Leave a comment on Selenium IDE3 Using If and Variables

Selenium IDE3 Using If and Variables

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”

Posted on January 5, 2018Categories Development, Plugin Development, Programming Languages, Technology, WordPressTags , , , , , , , , , , , , , , 1 Comment on Automated Web App Testing With phpStorm

Automated Web App Testing With phpStorm

Selenium IDE was a great way to handle automated web app testing like the Store Locator Plus plugins for WordPress.    Selenium IDE is a simple script recorder and playback too that runs on Firefox.    Or, I should say, it used to run on Firefox.  That broke in 2017 when Firefox 52 came out. After a lot of research I finally found a viable alternative to Selenium IDE that will work with modern browsers.  It is also free, locally … Continue reading “Automated Web App Testing With phpStorm”

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 25, 2017Categories JavaScript, Programming Languages, Quality AssuranceTags , , , , ,   Leave a comment on Selenium : Hiding Login Credentials In An Automated Test

Selenium : Hiding Login Credentials In An Automated Test

With most web automation and testing tasks you are going to want to login to a secure system.   You are also going to want to keep your login credentials out of the testing code repository.    For my test suite that is being rewritten with Selenium for the MySLP service I am employing a basic JavaScript module methodology along with some git ignore rules to keep my credentials private. In this example I have also added the ability to … Continue reading “Selenium : Hiding Login Credentials In An Automated Test”

Posted on September 24, 2017Categories JavaScript, Programming Languages, Quality Assurance, TechnologyTags , , , ,   Leave a comment on Selenium Web App Test: Are My Web Parts There?

Selenium Web App Test: Are My Web Parts There?

As per my previous articles, I am building new test cases using Selenium as a replacement for my older Selenium IDE tests.  Selenium IDE is no longer supported by Firefox 55+ and the next generation doesn’t appear as though it will be ready any time soon.  If you are going to continue testing your web apps with Selenium, now is the time to learn Webdriver. This is a continuation of the Selenium automated web testing series.   You can  use … Continue reading “Selenium Web App Test: Are My Web Parts There?”

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 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 February 9, 2017Categories JavaScript, Quality AssuranceTags , ,   Leave a comment on Selenium IDE Extensions Hacking

Selenium IDE Extensions Hacking

I use Selenium IDE as a tool for testing the Store Locator Plus WordPress plugin.   It is a great tool for automating browser interactions and sussing out basic problems.  With the launch of the My Store Locator Plus SaaS service we need to build more complex tests for multiple accounts and services.    Thankfully Selenium IDE not only has a myriad of plugins but makes it easy to create your own. While “officially sanctioned” Selenium Plugins are true Firefox browser plugins … Continue reading “Selenium IDE Extensions Hacking”