Skip to main content

✨ Series: "Python for QA Testers – Step-by-Step Guide"

 

🔹 Week 1: Python Basics for Testers

  • Day 1: Python Setup (Install Python, VSCode or PyCharm)

  • Day 2: Variables, Data Types, and Print Statements

  • Day 3: Conditional Statements (if, else)

  • Day 4: Loops (for, while)

  • Day 5: Functions and Why They Matter in Test Scripts

  • Day 6: Lists, Tuples, Dictionaries (used a lot in test data)

  • Day 7: Practice: Write a simple function to validate user login input


🔹 Week 2: Python for File, Data, and Logs

  • Day 8: Reading and Writing Files (CSV, TXT, JSON)

  • Day 9: Handling Exceptions (Try-Except blocks in test flows)

  • Day 10: Basic Regular Expressions (for data validation)

  • Day 11: Intro to Python unittest

  • Day 12: Writing Your First Unit Test

  • Day 13: Run Tests from Terminal or VSCode

  • Day 14: Practice: Read a CSV file and assert data matches expectations


🔹 Week 3: Selenium + Python for Web Automation

  • Day 15: Install Selenium and Set Up Browser Driver

  • Day 16: Locate Elements (find_element_by_...)

  • Day 17: Perform Actions (click, send_keys, submit)

  • Day 18: Waits (implicit vs explicit)

  • Day 19: Assertions and Validations

  • Day 20: Write Your First Selenium Test Case (login form)

  • Day 21: Practice: Automate a simple form and validate result


🔹 Week 4: API Testing with Python

  • Day 22: Install and Use requests Library

  • Day 23: Send GET/POST Requests and Print Response

  • Day 24: Validate Status Code, Headers, and Body

  • Day 25: Using JSON Response Data

  • Day 26: Write a Test Case for an API using pytest

  • Day 27: Parameterization in Pytest

  • Day 28: Practice: Test a public API (e.g., OpenWeather, Reqres)


🔹 Bonus (Optional): Reporting and CI/CD Basics

  • Day 29: Generate HTML Reports with pytest-html

  • Day 30: Introduction to CI/CD (Jenkins/GitHub Actions)

Comments

Popular posts from this blog

Understanding XML for QA Testing

 As a QA tester, working with XML is essential, especially for API testing, data validation, and automation . Today, I explored the key concepts every QA should know about XML. 🔹 What is XML? XML ( eXtensible Markup Language ) is used for storing and transporting data in a structured format. It’s widely used in APIs (SOAP), test data, and configurations . 🔹 Why QA Testers Should Learn XML? ✅ API Testing – SOAP APIs use XML for requests & responses. ✅ Test Data Handling – XML is used in test scripts, Selenium, and data-driven testing. ✅ Config Files – Many automation tools (TestNG, Jenkins) use XML for setup. 🔹 Key XML Concepts for QA 📌 XML Structure – Elements, attributes, nesting, and schema validation. 📌 XPath – Used for locating XML nodes in automation & API testing. 📌 XML Schema (XSD) – Ensures data correctness in APIs. 📌 Parsing XML – Reading & extracting values using tools like Postman, Python, or Java . 💡 Where to Learn XML? 📖 W3Scho...

30 Manual Testing interview questions from glass door

Here are 30 manual testing interview questions commonly encountered in interviews, compiled from various sources including Glassdoor: What is the difference between Quality Assurance (QA), Quality Control (QC), and Software Testing? QA focuses on improving the processes to deliver Quality Products. QC involves the activities that ensure the verification of a developed product. Software Testing is the process of evaluating a system to identify any gaps, errors, or missing requirements. Can you explain the Software Testing Life Cycle (STLC)? The STLC includes phases such as Requirement Analysis, Test Planning, Test Case Development, Environment Setup, Test Execution, and Test Closure. What is the difference between Smoke Testing and Sanity Testing? Smoke Testing is a preliminary test to check the basic functionality of the application. Sanity Testing is a subset of regression testing to verify that a specific section of the application is still worki...

QA Automation journey

🔥 50-Day QA Automation Learning Plan (TS + Playwright) Day Topic Focus 🔹 Phase 1: Foundations (Days 1–10) | 1 | Introduction to Test Automation & Testing Pyramid | What, why, and how of automation | | 2 | Intro to JavaScript & TypeScript | Setup, syntax overview | | 3 | Variables, Data Types, Constants | Hands-on coding | | 4 | Functions, Loops, Conditionals | Practice basic logic | | 5 | Classes & Constructors in TS | OOP basics | | 6 | Setup Playwright Project | Install, basic structure | | 7 | First Test with Playwright | Run test, understand selectors | | 8 | Debugging in Playwright | Logs, retries, timeout handling | | 9 | Folder Structure & Best Practices | Test organization | | 10 | Recap & Mini Project | Small Playwright test project | 🔹 Phase 2: Unit & API Testing (Days 11–25) | 11 | What is Unit Testing? | Concept + console app example | | 12 | Annotations & Test Hooks | beforeAll, afterEach, etc. | | 13 | Parametrized...