Selenium Python Syllabus
Selenium Python Syllabus
• Selenium IDE
• Webdriver
• Grid
• ID
• Name
• CSS
• Tag
• Attribute
• Link text
• Partial link text
• Functional
• Regression
• Introduction to selenium
• Selenium architecture
• Locator concept and techniques
• Selenium IDE
• Selenium setup
• Selenium RC
• Web Driver
• TestNG
• Auto IT
• Selenium Grid
SECTION 1
Introduction to Automation
SECTION 2
Different Components of Selenium
• Selenium IDE
• Selenium-RC
• Selenium WebDriver
• Selenium-Grid
SECTION 3
Selenium IDE Introduction
SECTION 4
Core Python
Introductory Sessions
• History of Python
• Introduction
• Starting with Python
• Execute python script
• Indentation
• Data Types and Variables
• Operators
• Lists and Strings
• List Manipulations
• Shallow and Deep Copy
• Dictionaries
• Set and Frozensets
• Tuple
• Input from keyboard
Conditional Statements
• If-else Block
• Loops, While Loop
• For Loop
• Iterators and Iterables
Output Formatting
Functions
• Introduction to Functions
• Recursion and Recursive Functions
• Parameter Passing in Functions
• Namespaces
• Global and Local Variables
• Decorators
File Operations
SECTION 5
WebDriver (Selenium3.0) with Project Implementation
• WebDriver Introduction
• What is WebDriver?
• Why WebDriver?
• Difference between Web driver and Selenium RC
• Architecture of selenium web driver
• Configuring WebDriver in Eclipse
• Downloading WebDriver Jars and configuring in eclipse
• WebDriver Drivers introduction
• HTML Driver
• Firefox (OR) Gecko driver
• IE (OR) Microsoft Edge driver
• Chrome driver
• Working with IE Driver
• Downloading IE driver Server
• Configuring IE Driver Server
• Basic Example on IE Browser
• Working with Chrome driver
• Downloading Chrome driver server
• Configuring Chrome driver server
• Basic Example on Chrome browser
• Concept of firefox profile
• What is Firefox profile
• Why we need firefox Profile
• Basic WebDriver example
• WebDriver concepts
• WebDriver locators
• Locating elements by ID
• Locating elements by Class
• Locating elements by Tag
• Locating elements by Name
• Locating elements by Link Text
• Locating elements by Partial Link Text
• Locating elements by XPath
• Locating Elements by using CSS
• Working with web page elements using WebDriver
• Textbox
• Links
• Buttons
• Check Box
• Radio Button
• List Box
• Drop Down
• Selenium-WebDriver API Commands and Operations
• Driver commands like
• get(“url”);
• getTitle();
• getWindowHandle();
• getWindowHandles();
• close();
• quit(); ..etc
• Child element commands like
• clear();
• sendKeys(“Data”);
• click();
• getAttribute(“arg”);
• getTagName();
• getText();
• isDisplayed();
• isEnabled();
• isSelected(); ….etc.
• Webdriver all other commands.
• WebDriver Advanced Concepts
• Importing webDriver documentation in eclipse
• WebDriver desired capabilities class
• Proxy settings with webdriver/ working with proxy Servers
• HTMLUnit driver and desired capabilities
• Handling Links with WebDriver
• Handling webList
• Dynamic objects
• Extracting links and other webelements
• Capturing screenshots with WebDriver
• Window handles
• Tabbed browsing with WebDriver
• Example of Tabbed browsing
• Pop up handling in Selenium
• Example of Pop up handling
• Introducing Implicit wait and Explicit wait commands
• Web driver wait class
SECTION 6
Introducing Actions class Usage
SECTION 7
TestNG Framework
• Introduction to TestNG
• Difference between Junit and TestNG
• Why TestNG
• InstallingTestNG in Eclipse
• Advantages of TestNG over Junit
• Exploring TestNG Features
• TestNG annotations
• How to Use TestNG Annotations for Selenium programming.
• TestNG Annotations Complete Usage and Limitations
• TestNG Assert commands
• Automate tests using TestNG.
• xml file for suite.
• How to create testSuite for selenium tests.
• TestNG Execution Report
• TestNG Results output folder walkthrough
• TestNG Reporting features
SECTION 8
AutoIT
• Installing Auto IT
• Auto IT Overview
• Why Auto IT?
• AutoIT components
• AutoIT commands
• AutoIT Script examples
• Compiling AutoIT scripts
• Write AutoITprograms in Eclipse
SECTION 9
Automation Framework
SECTION 10
Modular Driven Framework
SECTION 11
Data Driven Framework
• What is parameterization?
• Types of parameterization
• Parameterization using Excel
• Parameterization using Property files.
• Random number parameterization
SECTION 12
Hybrid Driven Framework
SECTION 13
Selenium Grid
SECTION 14
Selenium RC Overview
• Introduction
• How Selenium RC Works
• Installation
• From Selenese to a Program
• Programming Your Test
• Learning the API
• Reporting Results
• Adding Some Spice to Your Tests
• Server Options
• Specifying the Path to a Specific Browser
• Selenium RC Architecture
SECTION 15
Maven and Jenkins
• What is Maven
• Difference between ANT and Maven
• Why Maven
• Maven installation
• Maven run commands
• POM XML
• Maven dependencies
• All plugins installations,
• Create builds using Maven
• Introduction to Jenkins
• How to integrate Selenium and Jenkins
SECTION 17
Real Time Process for Automation Testing