
Discover why testers should learn Python and how to use it with Selenium, Robot Framework, and Testcomplete, plus data generation, web scraping, and data analytics with NumPy and pandas.
Follow a four-step installation roadmap for Python, PyCharm, pip, and libraries to start web automation with Selenium.
Install Python 3.7.2 on a Windows 64-bit machine by downloading, running the installer, choosing a custom location, setting the PATH, and verifying the version in the command prompt.
download and install PyCharm community edition on Windows, create a Python project named automation one, and select the Python interpreter versions available; then switch to a black or IntelliJ theme.
Configure pip, the Python package installation manager, on Windows, set it as an environment variable, verify the setup by running pip, and use it to install libraries or packages.
Learn to install and manage Python libraries with pip, including install, uninstall, update (-U), and listing installed packages, using Selenium as a concrete example.
Solve library issues in PyCharm for Selenium by verifying the project interpreter, selecting the correct Python environment, and installing packages with pip for the project or base interpreter.
Create a Python project in PyCharm, add a Python file, and write a basic print statement with comments, while learning indentation and running code from PyCharm or command prompt.
Learn how to take user input in Python using the input function, store it in variables, and print results; explore variables, concatenation with plus, and continuation symbol for multi-line statements.
Discover how to declare and use variables in Python, including multiple assignments and assigning the same value to several variables. Explore constants, typecasting, and printing and concatenation with variables.
Cover constants in Python, noting that all-caps names signal constants but behave like variables, and introduce type casting between strings and integers using int() and str().
Explore Python's standard types—numbers, strings, lists, tuples, and dictionaries—through automatic type inference and basic operations, including numeric calculations, string uppercasing, and list, tuple, and dictionary usage.
Handle two conditions in Python by using if and else to classify user-entered numbers as even or odd, using mod by two and proper type casting.
Learn how to handle multiple conditions in Python using if, elif, and else to classify a number as negative, zero, positive, and further as even or odd.
Explore nested conditions in Python by using if-else blocks inside each other to handle negative or positive numbers, and determine even or odd status with two implementation approaches.
Apply condition handling in Python by using logical or and logical and to validate numeric inputs, such as marks, with if, elif, and else, including even/odd and positive checks.
Explore condition handling by writing a Python program that reads three numbers, casts them to integers, and identifies the largest and smallest among them.
Write a Python program that reads user input and uses condition handling to identify numbers divisible by both five and 11, by five only, by 11 only, or by neither.
Develop condition handling with a month day calculator that takes a month number and displays days (31 for January, 30 for April, 28 for February) and handles invalid input.
Explore condition handling by determining triangle types from three user-provided side lengths, identifying equilateral, scalene, and isosceles cases.
Practice condition handling by prompting for maths, English, physics, chemistry, and biology marks, compute their average, and assign a letter grade from A to F based on defined thresholds.
Write a Python program that takes input number and checks if it's prime using the rule that primes are divisible only by one and itself, like 7 and 13.
Explore why loops are essential for repeating tasks in automation and programming. Learn how to write for, while, and for each loop, and run them over lists, tuples, and dictionaries.
Explore Python for loop syntax with a final range, showing how range(10) runs from 0 to 9 by default starting at zero and excluding the final value.
Explore for loops with a start and end range in python, printing a multiplication table from a user-specified number and range, while handling type casting between int and string.
Learn to control Python for loops with range by setting a custom increment or decrement, including start, end, and increment values, illustrated with practical examples in PyCharm.
Discover how to run a Python for loop in reverse using a decrement value with range(start, end, step), end is excluded, and print a reverse table from user input.
Learn to use the for loop with lists and tuples, including advanced looping, iterating over list elements, printing values, and summing numeric lists in Python.
Learn to implement a while loop with increment and decrement, define an initial point and condition, then print a multiplication table from user input (1–10).
Demonstrate a while loop with decrement by running from ten to one, show i minus equal to one, and typecast input to int to print a reverse table.
Learn how to use the break statement to exit loops on a condition, with a 1–10 for loop stopping at five and a multiplication table stopping at 60.
Learn how the continue statement in Python skips the remaining loop steps when a number is a multiple of ten, demonstrated by printing a table that omits multiples of ten.
Explore using the else statement with loops in Python, executing after loop completion. See a PyCharm demo that prints 1 to 10, then 'loop is ended'.
Explore Python string handling, from defining strings with double, single, or triple quotes to multi-line literals, and perform concatenation, repetition, user input, and typecasting for seamless string operations.
Learn to fetch substrings and characters from strings in Python using index-based slicing, including start-end ranges, single-index access, end-exclusive behavior, and common index errors.
Learn essential string operations in Python for automation: determine length with len, convert to upper or lower case, and capitalize the first letter.
Learn to remove spaces in Python using lstrip, rstrip, and strip to compare actual results with expected ones in automation; cover left, right, and both-sides trimming.
Explore advanced string operations in Python, including replace to modify substrings, find to locate data, and split to tokenize strings, with examples on length and removing spaces.
Learn how to compare strings in Python for automation, using case sensitive and case insensitive comparisons, stripping spaces, and double equals to compare actual versus expected results.
Explore Python lists, store data types in square brackets, fetch values by index or slice, and perform read, write, update, and delete operations. Measure length with len; loop through items.
Learn Python list operations: concatenate lists with the plus operator, find the final list length, and perform write operations by updating, inserting, and deleting the first occurrence.
Discover tuples in Python and how they differ from lists. Learn to use parentheses for data, index and slice values, check length, and concatenate while noting read-only behavior.
Concatenate two tuples with the plus operator and show that tuples support read operations only, while update, insert, and remove actions are not allowed, unlike lists.
Define and use dictionaries in Python by storing data as unique key-value pairs, accessing values by keys, and comparing dictionary operations to lists and tuples.
Learn what a function is in Python and why to write functions for reusability and modularity. Explore how to define and call functions using def, indentation, and practical examples.
Create functions in Python with def, a colon to start the body, and consistent indentation. Call the function, and use return to end and output a value.
Learn how Python functions work with and without arguments, see examples of printing results, passing inputs, and using type casting for string concatenation to produce dynamic outputs.
Create and use Python functions with return values to enable reuse across operations. Explore examples of multiplication and addition, and learn when to return data versus simply printing results.
Explore the three Python argument types—required, keyword, and default—showing how each must be passed, named, or given a default value to run functions correctly.
Learn how to write a Python class, define functions inside it, and access class members by creating an object, with the self parameter and a sample welcome method.
Explore class methods in Python by creating a class with three function types: no-argument, argument-only, and argument-and-return. Learn to access these using a class object and self.
explains that a constructor is a special method named __init__ in a class, with self as the first argument, automatically invoked when an object is created, and can take arguments.
Learn why constructors initialize resources in a class by establishing a database connection once at object creation, avoiding duplicate code and enabling safe method calls.
Learn how to create an object of a class in another Python file by importing the module, constructing with arguments, and invoking its methods.
Understand what a Python module is—a .py file with executable code, module functions, and classes with properties and constructors. Learn how to define and use modules in a project.
Learn how to use Python modules by importing modules, recognizing executable code runs on import, calling module functions, and creating class instances with constructors to call methods.
Design a Python project structure by creating a directory tree with folders like library, test cases, and utility, then add modules, classes, methods, and subdirectories.
Compare import and from import in Python by demonstrating module-wide access versus direct class imports, illustrate object creation and method calls across subdirectories.
Master Python file handling by using open to create file objects and perform read, write, and append operations, including line-by-line and character-level reading.
Demonstrate reading a file character by character using a loop with read, then read line by line using read_line and a while loop until end of file, printing each line.
Learn how to write data to a .txt file in Python using write and append modes, where write mode overwrites and append mode preserves content and creates the file.
Explore Python file handling by reading data and tracking cursor position with tell and seek, including updates after reading lines.
Python in not just use for web browser automation but also can use for following
Read | Search & validate data in excel
Have to pull text off of several web pages?
Copy thousands of files from one location to another
Perform repeatable tasks in single click
Rename multiple files & folders within a second.
Course Coverage
Step by Step Setup
Why to Learn Python as Software Tester
Basic Programming
Modules
OOPS Concepts
OpenPyXl
Working with Notepad and CSV
Pytest Framework
Interview Question
Practical Implementation
Practice Exercises
Realtime Scenario
Best Practices
After this course, you will be eligible to implement your knowledge to make Testing Utilities using Python and also ready to automation different types of application (Web, API) using Python, Most common tools available in market which support python are following, you will be ready to work on these tools after completing this course
Selenium with Python
API Testing using Python
Appium with Python
Robot Framework
- Detailed Python Programming Concepts
- Test Execution using Pytest Framework
- Interview Preparation
- Detailed Python Programming
- Allure Reporting
- No prior Automation or Programming knowledge is Required
End to End Automation Frameworks
- Detailed Data Driven Framework using Excel
- End to End Implementation of BDD(Behavior Driver Development) framework with Behave
- Keyword driven framework implementation using Robot Framework