Posts

Showing posts with the label QA

The Ultimate Guide to Git & GitHub for QA Engineers

Image
As a QA Engineer, knowing Git (version control) and GitHub (remote repository hosting) is not optional anymore. Modern QA workflows – whether manual or automation – rely on Git for: Collaborating with developers & other testers Maintaining test automation frameworks Tracking changes in test scripts, data, and documentation Rolling back safely when bugs are introduced Tip for QAs: Treat your automation scripts, test cases, and configuration files just like code. Version control ensures no work is lost and every change is traceable. Git Basics Every QA Must Know Command What it does / Example git clone <repo-url> Download a remote repo locally. Example: git clone https://github.com/org/repo.git git status Check which files are staged, unstaged, or untracked. git add . Stage all changes for commit. Use carefully – better to stage specific files durin...

How to Use Page Object Model in Selenium with Java (Beginner Guide)

Image
The Page Object Model (POM) is a popular design pattern in Selenium WebDriver that helps make test code more readable, maintainable, and reusable. In POM, each web page in your application is represented by a separate class file. 🧠 Why Use Page Object Model? Code Reusability: Write the page structure once and reuse it in multiple test cases. Maintenance: If UI changes, only the page class needs to be updated. Readability: Tests are clean and easy to understand. 📁 Typical Project Structure src ├── main │ └── java │ └── pages │ └── LoginPage.java │ └── DashboardPage.java │ └── utils │ └── BaseTest.java ├── test │ └── java │ └── tests │ └── LoginTest.java 📝 Example Code 🔹 LoginPage.java public class LoginPage { WebDriver driver; @FindBy(id = "username") WebElement txtUsername; @FindBy(id = "password") WebElement txtPassword; @FindBy(id = ...

Difference Between Smoke, Sanity & Regression Testing (With Examples)

Image
In software testing, terms like Smoke Testing , Sanity Testing , and Regression Testing are often used interchangeably, but they serve different purposes. Let’s dive into each type of testing with definitions, examples, and a clear comparison. What is Smoke Testing? Smoke Testing is a high-level test to check whether the major functionalities of an application are working after a new build or deployment. It’s often called a “Build Verification Test (BVT)” . Whenever a new build is received, some basic functionality of the application is verified. Purpose: To validate the stability of a build before proceeding to detailed testing. Performed on every new build release. To catch issue early on new build release. Example: Check if the application launches. Check if user login works. Check if main navigation is functional. Think of it as a basic health check before deeper diagnosis. What is Sanity Testing? San...