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 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”

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”

Posted on January 31, 2017Categories Hacking, WordPressTags , , , , 1 Comment on Wiring WordPress Media Uploader Into Your Web App

Wiring WordPress Media Uploader Into Your Web App

As predicted, the “premium” theme I purchased to make things happen on the HereMusic.Live site needs more tweaking.  Today I am diving into the proper way to wire the WordPress media uploader into a plugin after learning the theme not only cannot handle a media file with parenthesis in the name but it also is dropping the media title into the URL field on the form.  Ugh. Most of the magic for the WordPress Media interface is managed via JavaScript. … Continue reading “Wiring WordPress Media Uploader Into Your Web App”

Posted on January 9, 2017Categories Plugin Development, Programming Languages, Technology, The Internet, WordPressTags , , , , ,   Leave a comment on Some jQuery Foo I Learned While “Leveling Up” This Weekend

Some jQuery Foo I Learned While “Leveling Up” This Weekend

I am the first to admit that I got on the JavaScript bandwagon a little late.   I was a bit hesitant because of my work with government projects a half-decade ago.   When you work with the US Government you quickly forget the “best of” when coding web apps and instead use their default protocol of using “the oldest crap possible”.   I would not be surprised if they are still using Internet Explorer 6 as their go-to standard.   For the non-geeks, … Continue reading “Some jQuery Foo I Learned While “Leveling Up” This Weekend”