Using XPath Axes for locating elements in Selenium

Thumbnail image for Using XPath Axes for locating elements in Selenium

XPath is a very powerful and widely used mechanism in Selenium for locating elements on a Web Page. XPath is used for locating nodes in an XML document and it can also be used for locating HTML elements in XHTML. Selenium supports XPath along with various other locator strategies. XPath in Selenium extends beyond the [...]

How to Build the Best Browser Test Suite

Thumbnail image for How to Build the Best Browser Test Suite

Testing a website used to be so much easier. You would develop and test your code in Internet Explorer and be totally oblivious to anything but major HTML, CSS or JavaScript errors. Even the most conscientious developers would only test a couple of other minority browsers. Today, we are faced with 5 mainstream browsers and, [...]

Load Testing GWT Applications with Selenium 2 and Gradle

Thumbnail image for Load Testing GWT Applications with Selenium 2 and Gradle

This post shows how to do a load test on a GWT application that runs in production mode. Production mode means the application is deployed to a web server and only reachable through the HTTP protocol. It also means that GWT-RPC is enabled for the communication between the server and its clients. JMeter is a very popular [...]

Automation Testing Tools in Full View

Thumbnail image for Automation Testing Tools in Full View

In  order to make the right choices among tools, you must be able to classify them. Otherwise, any choice would be at best haphazard. Without functioning classification, you would not be able to understand new tools fast, nor come up with ideas of using, or creating new tools. Taxonomy is a systematic description of tool [...]

We Cannot Avoid Testing JavaScript Anymore

Thumbnail image for We Cannot Avoid Testing JavaScript Anymore

You have to test your web application. Since the current year is 2011 and not 2002, you’re going to use Ajax requests in it, and a certain amount of JavaScript code. JUnit, PHPUnit, NUnit and other frameworks perfect for server-side languages cannot directly test your JavaScript code, since they cannot execute it. No problem, we [...]

Action Based Testing: The Solution for Agile Test Automation

Thumbnail image for Action Based Testing: The Solution for Agile Test Automation

How can automated functional testing fit into agile projects? That is a question we encounter a lot nowadays. Agile has become more common, but functional testing often remains a manual process because during agile iterations/sprints, there is simply not enough time to automate it. This is unlike unit testing, which is routinely automated effectively. The [...]

Ten Software Testing Traps

Everyone at some point in their careers faces difficulties. The problem could be not having enough resources or time to complete projects. It could be working with people who don’t think your job is important. It could be lack of consideration and respect from managers and those who report to you. Software testers aren’t exempt [...]

Bugs That Automated Tests Aren’t Good at Finding

Thumbnail image for Bugs That Automated Tests Aren’t Good at Finding

In response to my last post, Shrini suggested, “ You should probably do a post on types of bugs that unit testing (or developer testing at any level) would’nt catch. That would be a fitting reply to all those who swear by automated unit testing/API Testing.” I am a big proponent of well-designed automated tests, [...]

Selenium Keyword Driven Testing

Thumbnail image for Selenium Keyword Driven Testing

Is keyword driven testing something that could be implemented using Selenium? If so, how exactly and where can I learn more about it? A simple example might help me get started Thanks! This question originated from Stackoverflow.com was asked by Ame Answers Yes. But keyword driven testing is not something particular to Selenium. Selenium is [...]

Test Automation Beyond Regression Testing

Automated tests can do more than simple regression testing Focus automation on doing things that cannot be done manually Many possible architectural approaches for more powerful automated tests A good oracle is critical to make automated tests worthwhile