
Learn how Selenium with Python enables automated web testing for enterprises, covering Selenium 3, Selenium IDE, RC, WebDriver, and Grid, and why Microsoft, Google, Amazon, and Mozilla use it.
Install Python on Windows, Linux, or macOS and set environment variables to run Python from the command line. Then install Selenium with pip and verify by importing Selenium.
Download and prepare web drivers for Mozilla, Internet Explorer, and Google Chrome, unzip them, and set environment variables for Eclipse-based Selenium projects.
Install Eclipse and configure PyDev to run Python code, create a PyDev project, and configure the interpreter; verify by running a simple hello script, then install Selenium IDE in Firefox.
Configure Selenium IDE with Firefox by installing the Selenium IDE add-on, restarting the browser, and using it to inspect elements and automate web applications.
Learn the first step of selenium with python by launching chrome with a web driver, loading a page, retrieving its title, and handling errors while closing the browser.
Explore how to control the Firefox browser with Selenium using WebDriver, load a URL like Facebook, print the page title, and handle exceptions with simple waits and cleanup.
Explore how to automate Internet Explorer using selenium and webdriver in Python, loading gmail.com, handling exceptions, and ensuring clean completion by quitting the driver.
Explore Python's unittest style, create test cases, assemble them into a suite, and validate results with assertions, setup/teardown, and error handling, including Selenium-driven tests.
Use unit test with selenium to create test cases, verify page titles via a webdriver, and generate an html SDMI report summarizing pass and fail results.
Discover how to locate web elements with selenium using firefox developer tools and firebug, inspect elements, and use eight locators including id, name, link text, and partial link text.
Learn to use Firefox developer tools to inspect elements, identify locators such as id and class, and apply these selectors to track and automate web elements.
Find elements with selenium web driver by id, click them, and manage waits while exploring a sample Facebook link to demonstrate locating and interacting with page elements.
Learn to locate elements with selenium webdriver using find element by name and by link text, with practical anchor tag examples and common locator issues.
Locate web elements with Selenium WebDriver using link text and partial link text, then click targets like Facebook and practice find by tag for robust element identification.
Learn how to locate and click a button using Selenium by tag name, while noting that the first matching tag is selected and the driver is closed after the action.
Discover how to locate a web element by xpath, copy its xpath, and use a selenium script to press the logon button via driver.findelement(by.xpath(...)).
Learn to locate elements with CSS selectors in selenium by copying a selector and using the driver to click the login button.
Work with Selenium IDE to automate tests by recording actions in Firefox, selecting elements by ID, typing, clicking, and verifying page titles, then saving and generating code for Python tests.
Learn how to automate form interactions in selenium with an enterprise case study, covering text inputs, checkboxes, radio buttons, dropdowns, file uploads, and date fields.
Learn to automate Selenium form elements, including dropdowns, selects, radio buttons, checkboxes, and file uploads, by locating by id, name, or XPath and using send keys and click.
Automate the signup functionality of a UI5CN web app using selenium, driving chrome to fill first name, last name, email, and password, check the box, submit, and verify signup.
Learn to automate JavaScript alert windows using Selenium, locating elements by id, triggering on-click events, and handling alerts with accept or dismiss in automated tests.
Automate JavaScript confirm windows with Selenium by handling accept and dismiss actions to control redirects such as Facebook. Master confirm modals and test both accepting and canceling flows.
Learn how to automate a JavaScript alert and prompt window using Selenium, including switch to alert, send keys, and handling prompts, with data-driven, keyword-driven, and hybrid case study approaches.
Learn a data driven case study approach by reading login data from an Excel sheet with a data reader class, then validate the login functionality in a live web application.
Read excel data using the xlrd package, open a workbook, and select the first sheet by index. Slice and extract the username and password for login functionality.
Create a data-driven Selenium login test using a data reader to supply email and password, drive Chrome, interact with login elements by ID, and verify successful sign-in with checkpoints.
Learn to automate the change password workflow with Selenium using a data-driven approach and an Excel reader, locating elements by id, name, and XPath for robust enterprise testing.
Automate pop-up windows in Selenium by switching to the correct frame to log on to PTM.com, using frame switching and selectors. Explore a keyword-driven approach using YAML files.
Explore keyword driven testing by building a ptm logon system with a YAML config file for data and selectors, read by Python to drive tests.
Create a YAML module and extract data with the amélia reader model by building a YAML file, defining key-value pairs, and reading them for test configuration in the case study.
Create a test case with a keyword driven approach using a yaml model and runtime keys to locate elements and automate login on the PTM site.
Create a test framework with a hybrid driven approach, reading selectors from YAML and data from Excel at runtime, via a data reader model for flexible enterprise testing.
Prepare the first data unit by creating a yaml model and an Excel data file, organize packages, and set up the project structure for data handling.
Design the second unit of the final project by building reader modules that read data from Excel and JSON. Validate file handling and data extraction through code.
Learn how to create a test case using a hybrid driven approach in Selenium, retrieving data from YAML, configuring a unit test framework, and executing sign-in flows across frames.
Writing automated web testing is compulsory for any project and the most popular framework for doing it is Selenium, using WebDriver with Python. Python is very popular for developers and testers in every software field. It will accelerate your success in software quality assurance.
Learn and practice the most popular combination of tools for web test automation with Python.
Learn How to work with Python environment.
Each concept is discussed in detail and related to real-time web application.
Work with a data-driven approach for your automation suite.
Work with the keyword driven approach for your automation suite.
Build your own test framework with Hybrid Driven Approach mostly used in the industry nowadays.
Discussed case studies with real-world web application (example: UI5CN, OLX, Paytm etc.).
Dive into practical examples and exercises that illustrate Python's role in web automation.
You will learn Python programming language in a short period of time. Then you will learn Selenium Webdriver. Python is one of the most popular languages out there. Examples of well-known applications made with Python are Instagram, YouTube, Twitter, Facebook, Dropbox, Meetup and so much more. Knowing Python not only enables you to write front-end automation but also sets you up halfway into learning Back-end API testing.