EIEIOTECHNOVATION
← Training programmes

EIEIO / AUTOMATION & EMERGING TECHNOLOGY

Robot Framework Automation - Advance

Course outline

3 days

Duration

3 days

Objective

To achieve Test Automation using Robot Framework – Selenium/Excel/DB/AutoIT/API, Framework designing from scratch and also CI/CD process with JIRA configuration.

Prerequisite

Basic knowledge of Robot framework and Selenium Library.

Outline

Robot Framework (Quick Overview)

Overview

  • Origin & History
  • Features & Capabilities
  • Robot Framework – Libraries - Selenium/Appium

Installation & Configuration

  • Command Line & Path Basics
  • Install Python & PIP
  • Install Robot Framework & Libraries
  • Install Desired Browsers
  • Install Selenium Web Drivers (IE and Chrome)
  • Install Selenium Webdriver for Firefox
  • Install Eclipse + RED Plugin
  • Install PyCharm IDE + Robot Plugin / RIDE
  • Create Base Scripts Directory

Exploring the Robot Framework Libraries

  • BuiltIn (Log, Verifications, Repeat)
  • DateTime
  • Collections
  • String
  • Dialogs (Pause for Manual Steps/Data Entry
  • OperatingSystem (Folders & Files)

Selenium Library (Only Advance Concepts)

Web UI

  • Automating web elements.
  • Handling Static dropdowns with Select WebDriver API
  • Handle Dynamic dropdowns with WebDriver API
  • Handling Checkboxes with WebDriver API
  • Handling Radio buttons with Customized XPath
  • Handling Radio button dynamically- real time examples
  • Types of Alerts present and Methods to handle them
  • Handling Alerts using WebDriver API
  • Web Elements Validation
  • End to End Practice Exercise

Real Time Exercises (end to end Programming)

  • Test Cases- Practice Exercise
  • Exercise 1.1-Limiting WebDriver scope
  • Getting Count of links in the pages ,sections
  • Testcases-Practice Exercise-2
  • Exercise 2.1-Dynamic data in Websites
  • Exercise 2.2-Dynamic Links Handling
  • Exercise 2.3-Validations & checkpoints

Practical problems and Methods to handle them with Selenium

  • How to handle table Grids in webpage
  • Techniques used for table grid-Real time example
  • How to overcome Synchronization problems
  • Maximizing window and deleting cookies
  • Handling HTTPS certifications
  • How to troubleshoot if it is not invoking in Firefox
  • Killing the Process and Cookies using Selenium
  • Changing download directory of the browser
  • Assigning attribute in runtime and extracting the details
  • Disabling pop-ups in browser

Handing dynamic pages using JavaScript

  • How to handle forms using JavaScript.
  • Techniques used for handling dynamic dropdown
  • Validation of XPath and CSS using JavaScript
  • Getting video content using JavaScript
  • Handling videos using JavaScript

AutoIt Library for Windows Automation

  • What is AutoIt?
  • Download and Install
  • Finding windows/ on screen Element with AutoIt
  • Writing scripts in AutoIt
  • Managing Operations in AutoIt

Working with RPAFramework

  • Working with Excel
  • Working with PDF
  • Working with Word document
  • Working with JSON
  • Email Trigger through Robot Framework
  • Tables

Debugging

  • Source Code Level Debugging.
  • Debugging Techniques.

Framework Design: A framework will be designed from scratch after Selenium.

Introducing User-Defined Keywords

  • Break the Script into Keywords
  • Moving Keywords to Resource Files
  • Adding Set Up and Tear Down
  • Overview of Page Objects
  • Demo: Create a Page Object
  • Increase Readability Using Gherkin

Use Variables to Centralize Data

  • Scalar Variables
  • List Variables
  • Variable Scope
  • Passing Variables to Keywords
  • Supplying Script Input Data at Runtime
  • Modify Our Project with Variables

Page Object Model

Database Library (MSSQL/PostGre) Data Driver Library – Excel, CSV

Make the Script More Readable

  • BDD Framework
  • Style: Procedural vs. Gherkin
  • Creation and Running testcase with user stories

Script Running Options

  • Running from a Command Window
  • Running from a Batch File
  • Running from the Task Scheduler

Command Line Options

  • Running all test
  • Running test with tags
  • Running failed test case
  • Other test control command line options

Pabot for parallel running Customized report generation

Supporting Tools

  • Library documentation tool (libdoc)
  • Test data documentation tool (testdoc)
  • External tools

Customize Function Library Using Python

  • Python binding
  • Pdf comparison
  • Image comparison
  • Customizing libraries required for projects.

API Automation using Request Library (quick demo)

  • Step by step guide to under API testing.
  • API testing using Postman.
  • Automating all API request using Robot framework.
  • Authentication handling using Request Library.
  • Script to fetch different parts of a response.
  • Validating/Filtering the response
  • Appending the automation with existing framework

GIT-Jenkins - CI/CD Tool

  • GIT Installation
  • Working with GIT
  • Why Jenkins? and where it going to help us in Framework design?
  • Installing & Configuring Jenkins
  • Creating Jenkins project and integrating Existing Framework
  • Running the Framework and Scheduling it from Jenkins

JIRA Configuration

  • X-Ray plugin Introduction
  • Importing the test result to JIRA
  • Deploying the output into JIRA Board with new issue type.
  • Deploying the output into JIRA Board with existing issue type.
  • Appending test result with tags and existing issue type

Programme scope, delivery arrangements and suitability are confirmed during enquiry.