
Set up Python on a Windows machine by downloading the installer, performing a customized install, configuring the environment variables, and verifying the installation with Python -V.
Set up the PyCharm community edition (free) for Python programming by downloading, installing, and launching the editor, then create a new Python project and select Python 3.6.
Learn how pip, the Python package manager, installs and manages software packages; set up the Python scripts path, then use pip install for packages like robot framework and openpyxl.
Learn how pytest, a Python testing framework, lets you organize and conditionally run multiple tests, set up prerequisites and post scripts, use assertions, and generate reports.
Execute selenium tests with python frameworks conditionally by skipping tests using a skip decorator and skip if conditions, and run targeted tests with the -k keyword filter in pytest.
Learn how to use assertions in selenium with python to compare actual results with expected values, verify browser titles and forms, and handle pass and failure cases in test scenarios.
Organize a Selenium with Python project by creating a base driver module, start and close browser helpers, and import the shared driver across test case files for data-driven testing.
Learn to drive tests with data from a config file by reading details like browser name and driver paths, and switch between Chrome and Firefox using a reusable config reader.
Explore the basics of behavior driven development, defining end-to-end application behavior in a BDD approach with Gherkin and step definitions to automate tests.
Discover the common files in a BDD framework for Selenium testing: feature files in Gherkin, step definition code, and a test runner to execute and generate reports.
Learn to write feature files in Gherkin for behavior-driven testing, define end-to-end scenarios, and link them to step definitions in Cucumber. Discover Gherkin keywords, .feature extension, and setup with Notepad++.
Use the Gherkin scenario keyword to define test cases under a feature, with multiple scenarios like registered user search item, add to cart, and purchase.
Explore behavior-driven development by outlining test cases as scenarios with given, when, and then steps, starting from the login page and detailing actions.
Learn Gherkin basics by using when, then, and, and end to model multi-action steps and validations in a test case scenario.
Apply tags to feature, scenario, and scenario outline to control execution. Leverage how tags are inherited from feature to scenarios, outlines, and examples for smoke, sanity, and regression tests.
Create a robust BDD automation project structure using behave: install behave, organize features, steps, and environment files, and establish a test folder with feature and step definitions.
Learn to write data to an Excel file by creating a workbook, renaming sheets, and writing cell values. Save changes and manage sheets, including creating a second sheet.
Parse a Python dictionary to JSON and back using the json module, converting between string and dictionary formats with sample data and printed results.
Selenium is an open-source web-based automation tool. Python language is used with Selenium for testing. It has far less verbose and easy to use than any other programming language.
Data Driven Framework is one of the popular Automation Testing Framework in the current market. Data Driven automated testing is a method in which the test data set is created in the excel sheet, and is then imported into automation testing tools to feed to the software under test.
Data Driven allow to execute our test cases with different sets of test data, data can be fetched from CSV, EXCEL, Database or any other source.
BDD Framework
behavior-driven development (BDD) is a software development process that emerged from test-driven development (TDD).Behavior-driven development combines the general techniques and principles of TDD with ideas from domain-driven design and object-oriented analysis and design to provide software development and management teams with shared tools and a shared process to collaborate on software development.