Python Automation Testing
Enroll Now
(No payment required)

Course Contents

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
  • PyCharm
  • The PyDev Eclipse plugin
  • PyScripter
  • Setting up PyCharm
  • Taking your first step with selenium and Python
  • Cross-browser support
  • Setting up Internet Explorer
  • Setting up Google Chrome
  • Summary

Writing Tests Using unit test

  • The unit test library
  • The Test Case class
  • The setUp() method
  • Writing tests
  • Cleaning up the code
  • Running the test
  • Adding another test
  • Class-level setUp() and tearDown() methods
  • Assertions
  • Test suites
  • Generating the HTML test report
  • Summary

Finding Elements

  • Using developer tools to find locators
  • Inspecting pages and elements with Fire focusing the Firebug add-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 the name attribute
  • 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
  • Summary

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, checkboxes, 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-downs and lists
  • Understanding the Select class
  • Properties of the Select class
  • Methods of the Select class
  • Working with alerts and pop-up windows
  • Understanding the Alert class
  • Properties of the Alert class
  • Methods of the Alert class
  • Automating browser navigation
  • Summary

Synchronizing Tests

  • Using implicit wait
  • Using explicit wait
  • The expected condition class
  • Waiting for an element to be enabled
  • Waiting for alerts
  • Implementing custom wait conditions
  • Summary

Cross-browser Testing

  • The Selenium stand-alone server
  • Downloading the Selenium stand-alone server
  • Launching the Selenium stand-alone server
  • Running a test on the Selenium stand-alone server
  • Adding support for Internet Explorer
  • Adding support for Chrome
  • Selenium Grid
  • Launching the Selenium server as a hub
  • Adding nodes
  • Adding an IE node
  • Adding a Firefox node
  • Adding a Chrome node
  • Mac OSX with Safari
  • Running tests in grid
  • Running tests in a cloud
  • Using SauceLabs
  • Summary

Course Schedule

Overall Duration: 4 to 6 Weeks

Weekday: 1 hour per day (Mon-Fri)

Weekend: 2 hours per day (Sat-Sun)

Available Languages: English, Tamil

Mode of Learning: Live Online Meet

We undertake class training room sessions for students/professionals at your premises over weekend

Certification available

To know about training batch slot availability and fees, enquire now

Enroll Now
(No payment required)