Selenium Tutorials

Tutorials on Selenium RC and Java

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 [...]

Automated UI Tests for jQuery Mobile Apps Using Selenium

In this screencast we’ll show you how to automate UI tests for jQuery Mobile Web apps using Selenium

Use Selenium Grid to Run Automated, Parallel Tests in Multiple Environments

Selenium Remote Control (RC), part of a suite of tools from the Selenium project, is an automated test framework for web applications. Selenium RC supports many programming languages and almost all browsers. The most important advantage of Selenium RC is the method in which the browser is driven. Unlike other web UI automation tools, Selenium [...]

Hiring Selenium QA people

Ideally people working with Selenium to automate the testing of applications will have some development skills in addition to their QA skills. It could be that they are an experienced developer and they are helping start a QA automation side to their employer’s project. It could be that they are a QA who has used [...]

Selenium, You Are Doing It Wrong!

Avoiding Brittle, Unmaintainable, Unmanageable Tests In this live webinar, Adam Goucher and Frank Cohen discuss Selenium adoption in the enterprise: Selenium best practices, Selenium infrastructure, and the evolution of Selenium IDE and RC. Adam demonstrates what teams are doing wrong when it comes to using Selenium for browser automation.

Create Robust Selenium Tests With PageObjects

The Page Object Pattern is a strong and efficient way to create, maintain and reuse test scripts for testing Web applications. PageObjects bring object oriented programming to test scripts. Selenium PageObject is a software and test development pattern to represent Web pages or parts of Web pages. PageObject is an approach to building test scripts [...]

Execute Selenium tests as unit test in Eclipse IDE

Thumbnail image for Execute Selenium tests as unit test in Eclipse IDE

One more time I’m here talking about Selenium and tests. As I talked in the last post Functional Tests with Selenium 2.0 and cargo-maven-plugin, there was a problem if you want implement a new Selenium Test and execute it, you must to execute all Selenium tests, but it’s not efficient. So, to resolve this problem [...]

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 [...]

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 [...]

Data Driven Testing: Importing Data from Excel to Selenium with TestNG

Data Driven testing generally means executing a set of steps with multiple sets of data. The data can be stored in a database or an Excel sheet. Selenium does not provide any out-of-the box solution for data driven testing but leaves it up to the user to implement this on his own. People who are [...]