Selenium

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

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

Page Objects in Selenium 2.0

Thumbnail image for Page Objects in Selenium 2.0

There’s an important difference in tests between the specification of what to test versus the implementation of how to test. For example, my test specification might be “When the user enters their username and password and clicks the login button, then they are logged in and can see their recommendations”. This describes a scenario – [...]

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