Selenium WebDriver for Python



Course code: STPY01

Duration:       40 Hours

Selenium is one of the best open source automation tool for functional and regression test. It supports multiple programming languages - Java, Ruby, C#, Python, PHP. And can be run on different browsers and OS, also. Due to the fact that it is an open source software, more and more organizations are adopting Selenium over other commercial software testing tools. There is a high demand for skilled and trained selenium testers in the market. While many are aware that Selenium IDE, as a tool, the actual Selenium is usage of Web driver and its core component to harness the actual potential of Selenium automation tool.

Audience

  • Any Graduate, Manual QA / Testing Professionals
  • Pre-requisites

  • Manual Testing. SDLC and STLC, HTML, CSS, JavaScript, C# (Basic information).
  • No prior Python programming experience is required. You will be taught from basics.
  • 1. Introduction

  • Test Automation for Web Applications
  • To Automate or Not to Automate?
  • Introducing Selenium
  • Brief History of The Selenium Project
  • Selenium’s Tool Suite
  • Choosing Your Selenium Tool
  • Supported Browsers and Platforms
  • Flexibility and Extensibility
  • HTML, CSS
  • 2. Selenium-IDE

  • Introduction
  • Installing the IDE ,Opening the IDE
  • IDE Features
  • Building Test Cases & Running Test Cases
  • Using Base URL to Run Test Cases in Different Domains
  • Selenium Commands – “Selenese”
  • Script Syntax
  • Test Suites
  • Commonly Used Selenium Commands
  • Verifying Page Elements, Assertion or Verification
  • Locating Elements
  • Matching Text Patterns
  • The “AndWait” Commands
  • The waitFor Commands in AJAX applications
  • Sequence of Evaluation and Flow Control
  • Store Commands and Selenium Variables
  • JavaScript and Selenese Parameters
  • echo - The Selenese Print Command
  • Alerts, Popups, and Multiple Windows
  • Debugging
  • Writing a Test Suite
  • User Extensions
  • Format
  • Executing Selenium-IDE Tests on Different Browsers
  • Troubleshooting
  • 3. Selenium WebDriver Basic

  • Introducing WebDriver
  • Fire bug and FirePath Configuration
  • Setting Up a Selenium-WebDriver Project
  • Introducing the Selenium-WebDriver API by Example
  • Selenium-WebDriver API Commands and Operations
  • Driver Specifics and Tradeoffs
  • Selenium-WebDriver’s Drivers
  • Nunit
  • 4. Selenium WebDriver: Advanced Usage

  • Explicit and Implicit Waits
  • Advanced User Interactions
  • Browser Startup Manipulation
  • Parallelizing Your Test Runs
  • Alerts
  • Pop-ups, Multiple windows, AJAX
  • Web element List
  • Drop Down List
  • Create automation test suites and run automated tests in different browsers.
  • Generate Nunit test reports.
  • Read configuration data from text files and how to read /write test data from excel files.
  • Generate test logging.
  • Learn different types of automation frameworks.
  • Data Driven Framework
  • Keyword Driven Framework
  • Hybrid Framework
  • 5. Selenium Grid

  • Create Setup hub and node
  • Test Plan
  • Execute and analysis the report
  • Sent test execution report by email.
  • 6. Python

  • Python Programming
  • Basic Programming in Python
  • Function & Parameters in Python
  • Python Data structures and operation
  • Python - File Operations
  • Python – Modules
  • Python – Object Oriented Programming
  • Execution steps
  • Environment setup(python, Pycharm, Selenium and etc.)
  • Introduction with Python and Pycharm
  • First Script on Selenium
  • PyUnit.
  • 7. PyAutoGUI – Controlling Mouse and Keyboard

  • Introduction to pyautogui
  • Accessing Flash content using pyautogui
  • Controlling Keyboard and Mouse events on web driver