Courses

RUBY CUCUMBER WITH SELENIUM AND WATIR WEBDRIVER

INTRODUCTION TO AUTOMATION

1. What is automation testing?
2. What is the use of automation testing?
3. What do we need to automate

LOCATORS

1. How to identify elements in webpage using selenium
2. Tools to identify elements / objects
3. Firebug
4. IE Developer tools
5. Google Chrome Developer tools
6. Locating elements by ID
7. Finding elements by name
8. Finding elements by link text
9. Finding elements by XPath
10. Finding elements by using CSS
11. Summary

BASIC RUBY PROGRAMMING

  • Introduction to Ruby
  • Data types
  • Variable declaration, usage and scope
  • Comments
  • Control Structures and their shorter forms
  • Loops 
  • Arrays
  • Hashes
  • Methods
  • Sigils and Symbols
  • Regular Expressions
  • Classes and Object-Oriented Programming
  • Modules
  • Namespaces and Mixins
  • Procs and Lambdas
  • Reading and Writing Files
  • Standard Libraries (Useful Modules)

Test-Unit Framework

1.Introduction to Test::Unit framework
2.Usage of Test::Unit framework
3.Hands-on test cases using Test::Unit framework


INTRODUCTION TO WEB DRIVER (SELENIUM 2.0)

1. Introduction
3. Downloading and configuring webdriver in RubyMine
4. Drivers for Firefox, IE and Chrome
5. First selenium webdriver code

INTRODUCTION TO CUCUMBER

  • Why Cucumber?
  • Cucumber installation and Environment setup
  • features file, scenario, steps definition
  • scenario keywords – Given, When, And, Then
  • Background
  • Regular Expression usage in Cucumber
  • cucumber framework flow
  • Tables / Data Tables
  • Scenario hooks
  • Tagging
  • Grouping
  • Execution

SAMPLE PROGRAMS FOR WEB DRIVER IN CUCUMBER FOR HANDLING:

  • Text box
  • Link
  • Button
  • Checkbox
  • Radio button
  • Dropdown
  • Capture screenshot (positive)
  • Handling on load alerts
  • Handling multiple windows

ACTIONS CLASS

  • Draggable
  • Droppable
  • Mouseover
  • Selectable
  • Simulating right click
  • Slider

CONNECTING TO PROXY SERVER USING WEBDRIVER

OBJECT REPOSITORY USING PAGE-OBJECT

1. Use of object repository
2. How to use OR in scripts
3. Sample scripts using object repository


INTRODUCTION TO WATIR-WEBDRIVER

SAMPLE PROGRAMS FOR WATIR - WEB DRIVER IN CUCUMBER FOR HANDLING:

1. Text box
2. Link
3. Button
4. Checkbox
5. Radio button
6. Dropdown
7. Capture screenshot

live Chat