
Design a program that adds two numbers by prompting the user for the first and second numbers, storing them in variables, and printing the sum.
Take three float inputs a, b, and c for the triangle. Compute the area with s = (a+b+c)/2 and area = sqrt(s*(s-a)*(s-b)*(s-c)), then print the result.
Learn how Python uses lists, defined with square brackets, to store multiple values, access items by index, and perform operations like append, clear, remove, and sort, with indexing rules.
Learn to swap two numbers in a simple Python program by exchanging the values of x and y, as part of the Python made simple course.
Learn to create and manipulate dictionaries in Python, including adding key-value pairs, accessing values by keys, and using common methods like keys, values, items, update, and get.
Explore how to use if statements in Python, including indentation, nested conditions, and else branches, with practical examples checking numbers for positive, zero, or negative and parsing input as integers.
Explore how to use for loops in Python to iterate over lists, dictionaries, and strings, printing items, keys, and values.
Learn how to generate a random number in Python using the random module, including installation, importing, and using a range to produce numbers between zero and ten.
Learn to check if a number is prime by testing divisibility with modulo in a loop, handling inputs and edge cases like negative numbers.
Generate the fibonacci sequence in Python and Java by prompting for the number of terms and printing it with a while loop.
Select elements by id with CSS selectors, where a hash denotes the id attribute; inspect pages, copy the selector, and access fields like username and password.
Target a parent select, then a child option, using the greater-than selector to pick a month by value. Inspect the month select and choose options by their values.
Discover how to apply the next sibling selector to navigate between month options, select the second or third option, and handle cases where access to certain options differs.
Explore the start with function to locate dynamic and static elements using xpath and css selector, and see how it handles changing ids on Facebook signup page's first name input.
Learn how to use the content function in XPath to locate dynamic web elements with partial attribute values, including contains, starts with, and middle matches, with practical Facebook signup examples.
Explore the document object model and web elements, then use selectorhub and xpath tools to inspect, copy css selectors and xpaths, and identify ids, classes, and names for automation.
Learn how to locate web elements with Selenium Python using by id, name, class name, and XPath, and how to input text with send keys for a Facebook login form.
Learn to select elements by link text and partial link text, use link.click to navigate, and apply these techniques to automate actions like clicking forgot password.
Learn to handle radio buttons in web automation by inspecting inputs, using value and XPath selectors, and clicking to select one while deselecting others, with examples from sign up page.
Learn how to handle dropdowns in selenium using the select tag, including selecting by index, value, or visible text, with examples from a Facebook signup page.
Explore launching web pages with JavaScript and Selenium, using driver.execute_script and window.open to open facebook.com, compare with driver.get, and control timing with sleep.
Learn how Selenium waits, including implicit and explicit waits, replace sleep with dynamic element handling to make automation faster and more reliable.
Master explicit wait in Selenium to target an element, and compare it with implicit wait. Apply this to a login flow that waits for the three button to become clickable.
learn to use pytest markers to selectively run tests with -m, mark, and built-in markers like skip and xfail, control reporting, and skip or deselect tests as needed.
Explore parameterized fixtures and parameter sizing in pytest, using two methods, demonstrate with a and b values, and validate results.
Explore dynamic parameterization of fixtures by using request config options to launch the browser (Chrome or Firefox) based on a provided parameter.
Master explicit waits in a test automation framework using Selenium's WebDriverWait and expected conditions to replace hard-coded sleeps with until-based checks, such as element to be clickable.
Build a Python test automation framework with page object model, creating login and other page classes, methods to enter username and password, and a base folder with a superclass.
Create a reusable login module by building a base driver class and a login page, enabling inheritance across test cases and handling username, password, and submit actions in Python.
Develop a modular login automation using separate username, password, and submit elements with locator types and XPath, leveraging a base driver and dedicated functions for login and Twitter interactions.
Learn to build and refine a test automation framework to automate Twitter likes, handle multi-window flows with parent and child handles, and execute actions via a base driver.
Develop and extend a test automation framework to run across Chrome, Firefox, and Edge using WebDriverManager, with pytest fixtures for browser and URL, controlled by command-line options.
Move the driver-connected twitter-like utility from utilities to the pages, and refactor locators and object creation to improve the test automation framework. Prepare for logging in the next lecture.
Configure a Python logging setup for large projects and test automation by creating a logger, enabling a debug level, and adding console and file handlers with formatters.
Initialize a git repository, stage and commit changes, ignore unwanted files with a .gitignore, and push updates to a GitHub repository using origin main.
Welcome to the 'python automation masterclass' course on Udemy!
Embark on an exciting journey to become a proficient Python automation expert! In this comprehensive course, you'll learn how to leverage Python's versatility and power to automate a wide range of tasks, ultimately streamlining your everyday life with cutting-edge tools and techniques.
The course is thoughtfully divided into sixteen sections, each focusing on essential topics and practical applications:
Section 1: Introductions
Familiarize yourself with the course structure and discover the potential of automation with Python.
Section 2: Getting started with Python basics
Build a solid foundation by exploring fundamental Python programming concepts.
Section 3: Improve Your coding skills with Python exercises
Sharpen your coding skills with hands-on exercises designed to challenge and enhance your understanding of Python programming.
Section 4: Learn CSS selector for test automation framework
Dive into web automation by mastering CSS selectors for efficient interaction with web page elements.
Section 5: Learn XPath for test automation with Selenium
Expand your toolkit with XPath for precise automation of complex web structures.
Section 6: End-to-End project with a complete method in Selenium and WebDriver
Apply your skills to build a full automation project using Selenium and WebDriver.
Section 7: Learn pytest framework of Python, getting ready for the test automation framework
Discover the powerful pytest framework for effective and scalable automated tests.
Section 8: Logging - get prepared for the test automation framework
Learn effective logging practices for diagnosing issues and tracking automation execution.
Section 9: Design and develop a test automation framework
Elevate your skills by designing a modular and scalable test automation framework.
Section 10: Learn Git and Github
Master Git and Github basics for collaboration and version control in automation projects.
Sections 11-16: Automation for WhatsApp, Email, YouTube, Facebook, YouTube views, and Telegram
Explore automation in popular platforms, from WhatsApp to Telegram, optimizing your communication and workflows.
Throughout this course, you'll gain not only a deep understanding of Python automation but also develop problem-solving and analytical skills. Learn industry best practices, write clean and maintainable code, and understand the ethical considerations of automation.
Join us on this exciting journey to unlock the full potential of Python automation and revolutionize your everyday life. Enroll now for a transformational learning experience!