Selenium Webdriver with Python

Pre-requisite H/w –

  • Windows or Macbook machine with atleast 4GB RAM and 100 GB HDD space
  • Zoom Meeting for attending live classes.

Course Duration –

  • Total 20-25 Hrs Session.
  • Timings – Mon-Fri, One Hour in Morning IST

Who can take this course –

  1. Manual Testers with no programming background
  2. Test Engineers who would like to Develop Test Automation Framework for their Projects.
  3. Managers who would like to develop ROBUST and RELIABLE Framework for long runs
  4. Devops Candidates who would like to see How Continuous Integration Tools play role for End to End Framework Development.

What will you understand after the course – 

  1. Understand Selenium Webdriver and Concepts
  2. Selenium IDE and its significance
  3. Basics of Python
  4. Unittest Framework
  5. Various Element Locating Strategies
  6. Working with various UI elements (radio button, checkboxes, textboxes, alertboxes)
  7. Cross Browser Testing

Course Content –

Chapter 1 : Setup Environment

  • Setup and Installation of Python
  • Download and configure Eclipse , Pydev

Chapter 2 : Basics of Python

  • Simple Script with Hello World Program
  • Working with different variable types
  • Conditional Programming – if..else, Nested conditions if..elif..else
  • Loop Programming – For loop, while loop

Chapter 3: Functions and Exception Handling

  • Creating simple and parameterized functions
  • Exception handling using try except and finally loop

Chapter 4: Data Structures

  • Lists – Create , Get Value from List, Modify List, Remove Value from List, Looping on Lists, Nested Lists, Delete List. Operations using inbuilt methods
  • Dictionaries – Create, Read key value pairs, modify , insert key: value pair, delete key, Nested Dictionaries. Operations using inbuilt methods
  • Tuples – Create, Update value in Tuple, delete tuple

Chapter 5: Object Oriented Programming

  • Classes – Instance of classes, Functions in the classes.
  • Inheritance – Method Overloading , Method Overriding

Chapter 6: Introduction to Selenium

  • Selenium Architecture
  • Setup Selenium python client libraries

Chapter 7 : Selenium IDE

  • Install Plugin for Selenium IDE on Firefox
  • Setting up a simple record and playback script using Selenium IDE
  • Export Script in various programming languages as the requirement (Python in our case)

Chapter 8 : Element Locator Strategies

  • Locating Element using Xpath (absolute or relative), using Indexes for same XPATH elements
  • Locating Element using Css , id
  • Locating Multiple elements using same XPATH
  • Locating All elements using Selenium IDE
  • Locating Elements with Link Text and Partial Link Text
  • Locating Elements using Google Chrome Inspector

Chapter 9 : Simple Basic Selenium Script

  • Launch Basic Web browser and load the URL
  • Locate elements using Python bindings of Selenium Webdriver
  • Maximizing the Browser.

Chapter 10 : Unittests

  • Execute the tests using unittest framework
  • Use various Assertion methods to verify the tests to be performed
  • Execute multiple testcases using unittests.
  • Setup and Teardown

Chapter 11 : Data Driven Framework

  • Reading the data from xls file using xlrd utility
  • Modifying the scripts to read data from xls and execute the test runs

Chapter 12 : Selenium Python Bindings

  • Webdriver class, Webelement class and various methods
  • Automating forms
  • Working with textboxes, checkboxes, and radio buttons.
  • Dropdowns and Lists
  • Alerts and Popup Windows

Chapter 13 : Custom Interruptions

  • Implicit and Explicit waits
  • Wait conditions

Chapter 14 : Selenium Grid

  • Testing on chrome and internet explorer
  • Setting up Selenium Grid and browser specific nodes
  • Managing the test runs on Chrome, Firefox, IE based on Selenium Grid