Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

WATIR

( Duration: 4 Days )

This WATIR training course is a practical course that will teach to create test scripts and give you an understanding of Watir’s power and capability.

By attending WATIR workshop, delegates will learn to:

  • Automate web applications using WATIR
  • Understand different types of webdrivers used in WATIR
  • Get hands on to control the page elements

  • Fundamentals of GUI Test Automation
  • Ruby
  • Basic understanding of the HTTP protocol, including concepts like SSL, redirection, GETvs POST, etc.
  • Basic knowledge of SQL

COURSE AGENDA

1

Introduction

  • WATIR Introduction
  • How does WATIR work?
  • Why WATIR?
  • Install Ruby and WATIR
  • How to set up WATIR?
  • Install Browser Developer Toolbar
2

WATIR Architecture

  • WATIR Architecture
  • Advantages of WATIR
3

Web Drivers

  • Supported Browsers
  • IE Driver
  • Chrome Driver
  • Firefox driver
  • How to initiate/use Webdrivers?
  • Constraints/Limitations of Wedrivers
4

Page Objects

  • Simple
  • Images and Buttons
  • Checkboxes
  • Links
  • Radio Buttons
  • Selection Boxes
  • Text Fields
  • Forms
  • Frames
  • Tables
5

Finding Page elements

  • By Index
  • By XPath
6

Unit Tests

  • Write sample unit tests
  • Run Unit tests
  • Sample example tests cases
  • Developing test cases
  • Identifying HTML elements on a page
  • Interacting with the web pages
  • WATIR Syntax to write test cases
7

WATIR – Methods and Classes

  • WATIR inbuilt functions
  • WATIR methods
  • Classes
  • Connecting WATIR to databases
8

Advanced Topics

  • CSS
  • Multiple Attributes
  • Running Tests
  • Validating Test Results
  • Collections of HTML Elements
  • HTML Elements Supported by WATIR
  • Platforms
  • WATIR Methods Supported by HTML Element
9

Hands on assignments

  • Hands on assignments on automating test cases using WATIR
10

Connecting Watir to databases

11

Query Db in Watir

12

Developing a test framework

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X