Skip to main content

Posts

Showing posts from August, 2011

Selenium WebDriver Ruby tutorial

This is a list of very short examples which demonstrate the basic usage of Selenium Webdriver for test automation in Ruby language. Each section includes a sample web page code and automated test code, along with the comments for better understanding. Getting started. WebDriver initialization Working with Element Locators Submitting Forms Page Test Testing Image elements on the page Page Test Setting Checkboxes Page Test Setting Radio Buttons Page Test Selecting Select Boxes Page Test Testing HTML Tables Page Test Executing JavaScript code on the page. Handling popup dialogs Page Test Dealing with the Frames Page Test A single Test Unit Include several Test Units in a Test Suite