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 to open a URL that is only available to the super admin an error page shows up. Thankfully this page also comes with an easily identifiable body ID set to error-page.

Read More

Web App Testing, Selenium IDE Is Back

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.

The new interface in Selenium IDE 3.4.5
Read More

WordPress Continues To Break Things In The Name Of Security

In what has become a nearly annual tradition, WordPress has released yet another update that broke thousands of plugins across the Internet.    As usual, they claim this is in the best interest of security.  Thus the breaking change was done with ZERO notification to developers.   It was also forced onto most sites as a “security patch release” which will update any site that does not forcibly stop automatic updates.

Communication From WordPress Core Is Horrid

While I don’t have an issue with breaking changes for true security issues, what IS a problem is pushing out a change with almost ZERO testing to millions of websites with ZERO communication.    They gave absolutely no warning to thousands of sites that this “update version” was coming and that it would knowingly break things.   They did not communicate to site owners so they could block updates.    They did not communicate to plugin or theme developers so they could come up with new releases.

Read More

Vue Intro Article

A quick intro to Vue. If you are a jQuery fan I highly recommend looking into adding Vue to your developer toolbox.

www.telerik.com/blogs/vue-for-jquery-developers

Using Bitbucket Pipelines To Deploy to AWS EC2

This is not an in-depth article — have too much going on these days for that.  It is a more a short-hand techie crib sheet of how I got a deployment repo to auto-pull the latest changes to its develop branch over to my staging server automatically.    This is pulling down a fully software environment to a directory on the server.

Read More

%d bloggers like this: