Automation Testing With Python

Course Features

Course Details

Chapter 1: Getting Started with Selenium Web Driver and Python
Preparing your machine
Installing Python
Installing the Selenium package
Browsing the Selenium Web Driver Python documentation
Selecting an IDE
The PyDevEclipseplugin
Setting up PyCharm
Taking your first step swithSelenium and Python
Cross-browser support
Setting up Internet Explorer
Setting up Google Chrome

Chapter 2: Writing Tests Using unit test
The unit test library
The Test Case class
The set Up()method
Writing tests
Cleaning up the code
Running the test
Adding another test
Class-level setUp() and tearDown()methods
Test suites
Generating the HTML test report

Chapter 3: Finding Elements
Using developer tools to find locators
Inspecting pages and elements with Fire foxusingthe Firebugadd-in
Inspecting pages and elements with Google Chrome
Inspecting pages and elements with Internet Explorer
Finding elements with Selenium Web Driver
Using the find methods
Finding elements using the ID attribute
Finding elements using then a meat tribute
Finding elements using the class name
Finding elements using the tag name
Finding elements using XPath
Finding elements using CSS selectors
Finding links
Finding links with partial text
Putting all the tests together using find methods

Chapter 4: Using the Selenium Python API for Element Interaction
Elements of HTML forms
Understanding the Web Driver class
Properties of the Web Driver class
Methods of the Web Driver class
Understanding the Web Element class
Properties of the Web Element class
Methods of the Web Element class
Working with forms, text boxes, check boxes, and radio buttons
Checking whether the element is displayed and enabled
Finding the element attribute value
Using the is selected()method
Using the clear()and send keys()methods
Working with drop down sand lists
Understanding the Select class
Properties of the Select class
Methods of the Select class
Working with alert sand pop-up windows
Understanding the Alert class
Properties of the Alert class
Methods of the Alert class
Automating browser navigation

Chapter 5:Synchronizing Tests
Using implicit wait
Using explicit wait
The expected condition class
Waiting for an element to been a bled
Waiting for alerts
Implementing custom wait conditions

Chapter 6: Cross-browser Testing
The Selenium stand a lone server
Downloading the Selenium stand a lone server
Launching the Selenium stand a lone server
Running a test on the Selenium stand alone server
Adding support for Internet Explorer
Adding support for Chrome
Selenium Grid
Launching Selenium server as a hub
Adding nodes
Adding an IEnode
Adding a Firefox node
Adding a Chromenode
Mac OSX withSafari
Running testsinGrid
Running test sinacloud
Using SauceLabs
This course does not have any sections.

More Courses by this Instructor