Automation

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’... »

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... »

Selenium Server (Grid) with Watir & Cucumber

This subject is a repeat request I’ve had from various YouTube and website visitors.  I’m often asked how to set up Selenium Grid to work with Watir and Cucumber. The process is really rather simple, it just takes a bit of getting used to. Audience This is an advanced subject in web automation – mainly requiring the reader/viewer to have an understanding of: Web Automation Watir-... »

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... »

Automating SEO, Link and Page Validation

Note #1: make sure you have the right to test or crawl the site you are obtaining links from or testing the title and meta data of.  To fire off a test like this against a random site could result in your IP being banned by the admin.  It could also be deemed an attack by some. Note #2: If you have permission and the site you are testing is hosted by GoDaddy, you will have to work with Tier 2 supp... »

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... »

Screen Automation for Online Trading

Introduction What is Screen Automation? Screen automation is a class of automated tasks based on visual changes on a screen.  Unlike traditional API based automation, here you are not sending commands to a backend API, but rather using a library to detect visual cues on screen (image or text/ocr) and then take decisions based on those queues. Why not use an API? An API would be the far better way ... »

Automated Audio Detection

There aren’t a lot of libraries to accomplish this task of validating audio playback.  I saw this question on Stack Overflow and my solution was to provide a script that uses sox for the audio detection. Test Browser Based Phone Audio Presence With web phone calls, you have two major protocols: WebRTC and RTMFP.  The later is flash based.   Usually WebRTC is the choice decision – but i... »

404 Checker

After getting a ping from a friend of mine, I updated my web scrapper and modified it a bit to fit his needs.  He wanted to catch 404’s… so I sent him my old web scrapper.  The problem was though, his test machine had limited memory.  Due to that it was crashing out and not completing the test.  My old code would leverage Anemone to crawl, and then put each URL into an array.  Then ite... »

What is Selenium

There is a serious misunderstanding with a lot of people who are not doing web automation day to day.  Every now and then I run into someone looking at my code and he/she says, “hmm. have you heard of selenium?” Such comments deserve a *bonk* on the head. Selenium So here’s a post to all those managers, developers and team leaders who don’t know what selenium, webdriver, ge... »

Page 1 of 41234