Web Automation

Selenium Server Setup

Why Selenium Server (aka Grid)? If one were to run their tests back to back it would take some time to deliver the final result of all tests.  Say you had 100 browser automation tests.  Let’s further say that each test takes on average 2min to complete.  Back to back that’s 200min.  That’s about 3.3 hours to complete your automated testing. However, if you farmed your 100 tests a... »

Lettuce vs Cucumber

Lettuce and Cucumber For those that don’t know, Lettuce and Cucumber are different frameworks that utilize BDD (behavior driven development.)  BDD is a form of greater specification, which works well for test engineers and QA Automation specialists. Tests are written in a human readable format, such as: Given a visitor to our websites homepage When they register as a new user Then their regi... »

Student Request: How to validate a store locator’s distance?

A student of mine really impressed me with a recent question.  I had tasked him with automating the front end of a music retailer website.  My student, Exuar, showed me some of the UI automation.  But he asked me about something he was trying to figure out. The music retailer site had a “store locator” option.  He would automate the UI to pass in a zip code, but he wanted to verify tha... »

Page 1 of 8123»

Ruby Performance Testing with Watir

A reader of mine asked me how they should go about performance testing some front end performance.  This is a good question, because tools such as JMeter are pretty good at getting performance metrics for load – but you must keep in mind that JMeter isn’t a browser and doesn’t always find front end performance issues. For example, if a user had a AJAX call on a web page, and they... »

Ruby: Querying a MySQL database

This is a short and easy little post regarding Ruby and using it to query a MySQL database… This came up for one of my students.  I wanted him to get used to finding solutions to problems. I gave him a problem of validating some activity by automating a SQL call to a database.  Any language could be used, but since we were working with Web Automation I picked Ruby. there’s a variety of... »

Web Automation with CSV Imports

I had a real life request at work the other day.  My boss had a goal of migrating some phone numbers to different POPs.  In fact he had a large list – 4,000+ numbers.  The carrier in question only had a web interface for this task (no API) and the web interface would only take one number at a time.  The carrier’s website was slow, taking about 10 seconds for time to find a number in th... »

Page 1 of 8123»

YouTube will probably ban my account… here’s why

Who I Am For those just finding this YouTube post, you might wonder who I am.  I’ve been in the QA industry with regards to software companies for the past 14 years.  I’m a blogger who tries to give back to the Tech community in the form of online help, video tutorials and blogs pertaining to subjects about tech topics: Software QA Development (front end, back end) Security What’... »

Tags:

Video: Build a Web Automation Framework in under 20 min

In under 20min you can actually have a web automation framework built and running a simple test.  I did a screencast video of this, and put it up on Youtube: I realize my voice isn’t the greatest, but hey, we all have our faults.   »

Selenium Grid with Watir and Cucumber Browser Automation

Selenium Grid with Watir and Cucumber Browser Automation

I love using Watir-webdriver to automate and validate browser elements. When I got into a realm of having hundreds of automated browser tests synchronous tests would take too long.  In some cases it would take upwards of an hour.  At my previous job, we had 700 tests that 8 hours to finish. However, with Selenium Grid we can parallel test. Cucumber makes this really easy to set up by introducing f... »

QA Using BDD

I’ve been getting a lot of response in a post I wrote regarding BDD and automation for QA solutions. Several QA people have written me, or posted that they feel this is not the role of QA and that developers should in fact maintain this… one clever gent even tried to bolster his point by claiming “Well it has Development in the BDD title itself!” BDD – What Is It? Yes... »

Why QA Automation Is Needed

I have some detractors… It’s my fault, I drew them with my own detraction of a blog post I saw elsewhere… and they came to repay the favor I suppose. The detractors come in a varying degrees of an anti-automation philosophy. Rather than talk theory or throw pseudo data around, I wanted to give a real life case study.  How Automation and BDD done right can save the day for QA. Som... »

Found the Problem

At 10am we were down to 2 failures. In looking at one of the acceptance tests I found the problem, by running it locally. It failed when FF went through the same flow but then got a new overlay on one of the pages. Here’s the deal… our acceptance tests are in two frameworks:a) homegrown groovy/spock frameworkb) GEB framework We’re actively trying to convert all acceptance tests t... »

Page 1 of 212