Selenium WebDriver with Python
Selenium WebDriver is a web framework that permits you to execute cross-browser tests. This tool is used for automating web-based application testing to verify that it performs expectedly. Selenium WebDriver allows you to choose a programming language to create test scripts. For the purpose of this course, we shall be using Python.
Learning Outcome
By the end of the course, the learner shall have skill and understanding of the following:
- Python Basics
- Python IDE
- Remoting
- CLI
- Selenium Locators
- Selenium Multi Browser Execution
- Python Selenium API Methods
- Advanced Selenium User interactions
- End to end Practise Examples to Automate
- PyTest
- Python PyTest Reports
- Log4J Logging Python
- Page object Model Design Pattern
- End to end Framework design from scratch
- Python Data driven Framework using Excel
- Pyxl Examples with Selenium Integration
- Jenkins CI Integration
- GITHUB Version control Management
Prerequisites
- Access to high speed internet
- Webcam and microphone
- Admin / root access for the OS
- Ability to remote access using SSH
- Basic understanding of how the file system works
- Basic understanding of how the internet works
- Programming experience in any language
Outline
This four 4 day course shall cover the following topics:
- Python
- Identifiers
- Reserved Words
- Lines and Indentation
- Comments
- Numbers
- Python Lists
- Python Tuples
- Python Dictionaries
- Python Sets
- Copying
- Python Strings
- String formatting
- Regular Expressions
- Arithmetic Operators
- Comparison (Relational) Operators
- Assignment Operators
- Logical Operators
- Membership Operators
- Operators Precedence
- Decision Making
- The if Statement
- The if else Statement
- For Loop
- While Loop
- Break And Continue
- Defining Your Own Functions
- Parameters
- Function Documentation
- Passing Collections to a Function
- Variable Number of Arguments
- Scope
- Map
- Filter
- Lambda
- Aliasing
- Importing Set Of Element From A Module
- Namespace
- Exception Types
- Try Except Component
- Handling General Exception
- Handling Specific Exception
- Raise
- Access Modes
- Writing Data to a File
- Reading Data From a File
- Read Functions
- Classes
- Attributes
- Methods
- Constructor
- Inheritance
- Polymorphism
- Selenium Python
- Chrome browser automation
- Basic WebDriver methods
- How to run tests in Firefox and Edge Driver
- Inspecting HTML to identify attributes of element
- Introduction to CSS Selector and name locators with example
- Finding Elements with Xpath and Css Using Chropath Plugin
- Extracting Text from webPage with Validation Assertions
- Identifying Links with Text and building Smart CSS around it
- Identifying Xpath and CSS Using Parent child traverse mechanism
- Identifying Labels with the CSS Parent child Tag mechanism
- WebElements
- Web applications to Practise Selenium Automation
- Identifying Static dropdowns using Select class of selenium
- Introducing Validation assertions and running tests in different browsers
- Handling AutoSuggestive Dynamic dropdowns using Selenium Webdriver
- Handling CheckBox dynamically using Selenium Python programming
- Understand radiobutton Automation methods with examples
- Handling Java / JavaScript Alert popups using Selenium
- WebDriver
- Waits
- Developing End to End Test case
- Implicit Wait in Selenium
- Explicit Wait in Selenium
- Functional Automation
- Automate HTML Web Tables using Selenium Python
- Techniques to handle Child Windows/Tabs with Selenium
- Frames and techniques to handle with Selenium
- Advanced Interactions with Browser elements using Actions class
- Double Click and Context click using Actions Selenium class
- Integrations
- JavaScript executor
- JS Executor methods for various Web operations
- Chrome Options in Selenium
- Framework design
- Unit Testing
- Assessment
Practical, connected learning
My wider training approach brings hands-on implementation and systems thinking together, connecting technology with real operational needs.