Automation Testing

Where do Testers Fit in XP?

According to the books, XP includes unit testing (done by the programmers) and acceptance testing (done by the “customers”). Programmers use unit tests merely to verify that the software works as they intended. The acceptance tests are necessary to validate that the software actually works the way the “customer” wants it to.2 Specifically, the “customer” [...]

Blending Automation Approaches

One hundred percent test automation and 100 percent exploratory testing are absolutes. They make for great arguments, but, for those of us stuck in the great middle ground, those positions aren’t very helpful. Matthew Heusser describes a blended approach to software testing, explains how some of his clients have used it over the long term, [...]

How to Build a Good Automated Test Suite

A good automated test suite runs fast, provides a safety net for refactoring, documents the intent of the code, and alerts the team to regressions. It doesn’t prevent bugs on its own, but if bugs are escaping the team, that’s a sign that there’s a flaw in the team’s development approach–which includes the team’s approach [...]

How to Capture Screenshots Using WebDriver in Java and C#

Selenium 2 (or WebDriver) has come up with some great new functionality that makes website testing much easier. This is because of the webdriver architecture allows interaction outside of javascript sandbox. That means if you have a quirky browser implemnentation of javascript and you had to shoe horn your scripts, you don’t have to do [...]

Selenium’s Sweet Spot: Preventing Catastrophes

I’m proud of the automated tests I built at Sulia. They run in two minutes. They prevent big bugs from reaching production. The false positive rate is about 1%. In over a decade of working on big teams and on small ones, I haven’t seen a more effective end-to-end testing regime. It didn’t start that [...]

Android Mobile Automation Testing with Selenium WebDriver

Selenium WebDriver is a browser automation tool which provides a lightweight and elegant way for testing web apps. Selenium WebDriver is now available as an SDK extra in the Android SDK, and supports 2.3 (Gingerbread) and onwards! Whether or not your site is optimized for mobile browsers, you can be sure that users will be [...]

Automated Testing and the Test Pyramid

Why Do Automated Testing? Before digging into a testing approach, lets talk about key reasons to do automated testing: Rapid regression testing to allow systems/applications to continue to change and improve over time without long “testing” phases at the end of each development cycle Finding defects and problems earlier and faster especially when tests can [...]

Web Consistency Testing

Web Consistency Testing is a new form of Web testing that aims to answer the simple question: does this page look right? It’s an automated approach to making sure a page looks the way we expect, whether that be cross-browser, over time (regression), in multiple locales, or whatever else we can think of.

Continuous Integration with Django and Hudson CI

We’re always looking for new tools to make our development environment more robust here at Caktus. We write a lot of tests to ensure proper functionality as new features land and bug fixes are added to our projects. The next step is to integrate with a continuous integration system to automate the process and regularly [...]

Effective Test Automation in an Agile Environment

The last five years saw an immense growth in the number of agile and Scrum projects. Additionally, the IT market has changed significantly, not only with various new tools—including Selenium 2, Watir WebDriver, BrowserMob, and Robot Framework—but with approaches that have also completely changed. For example, more focus has been made on cloud-based test automation [...]