Skip to main content

Some Major Testing Techniques

Some major software testing techniques along with their core focus and differences.

  • Black-box Testing

    • Focus: Testing functionality without knowledge of internal code.
    • Approach: Inputs are provided, and outputs are validated against expected results.
    • Use cases: UI testing, functional testing, system testing.
    • Example: Entering data in a form and checking the output, without knowing how the data is processed internally.

  • Exploratory Testing

    • Focus: Simultaneous learning, test design, and execution.
    • Approach: Testers explore the application freely to discover bugs.
    • Use cases: Early-stage testing, usability testing, uncovering hidden issues.
    • Characteristics: Often unscripted but can be structured with charters.
    • Example: A tester interacts with a new feature without a predefined test case, observing how it behaves.

  • Ad-hoc Testing

    • Focus: Unstructured and informal testing.
    • Approach: No documentation, no planning—just “on-the-fly” testing.
    • Use cases: Quick checks, last-minute testing, exploratory bug finding.
    • Characteristics: Heavily relies on tester’s intuition and experience.
    • Example: Clicking randomly on a webpage to see if anything breaks.

  • Boundary Value Analysis (BVA)

    • Focus: Testing edge values around input boundaries.
    • Approach: Inputs are chosen at the edges of valid and invalid ranges.
    • Use cases: When input ranges are defined (e.g., numeric fields).
    • Example: If valid input is 1 to 100, test 0, 1, 2, 99, 100, 101.

Comments

Popular posts from this blog

Automation framework basics!

Automation framework basics refer to the foundational components, tools, and principles used to create a structured and maintainable automated testing environment. Whether you're using Selenium, Appium, or any other automation tool, these principles apply broadly. Here's a breakdown: ✅ What is an Automation Framework? An automation framework is a set of guidelines, rules, and tools that help in designing and implementing test scripts efficiently. It provides structure and standardization for automation testing, making the process more organized, reusable, and scalable. 🧱 Core Components of an Automation Framework Test Scripts Automated scripts that perform the actual testing. Written using programming languages (Java, Python, JavaScript, etc.). Test Data Management Separates data from scripts for reusability. Often stored in Excel, JSON, XML, or databases. Object Repository Central storage of web elements (like buttons, input fields). Im...

Bug Life Cycle (Defect Life Cycle)

The bug life cycle is the journey a software bug goes through from the moment it's found until it's fixed and confirmed as gone. Here's a simple explanation in layman's terms. OR In technical terms , the Bug Life Cycle (also known as Defect Life Cycle ) refers to the sequence of stages a defect or bug goes through during its lifetime in a software development process. It helps track the current status of a bug and ensures proper handling from detection to closure. 🐞 Bug Life Cycle: New – Someone finds a problem in the software and reports it. The bug is now "new." Assigned – The bug is given to a developer (the person who fixes it). In Progress / Open – The developer starts working on fixing the bug. Fixed – The developer believes they have solved the problem and marks it as "fixed." Tested / Retest – The tester checks the software again to see if the bug is really gone. Verified – If the bug is truly fixed, it's ma...

AI tools and techniques that can be integrated into Selenium test cases to enhance automation with intelligence, self-healing, and smarter reporting.

  🔧 1. Healenium (Self-healing for Selenium) Use case : Automatically heals broken locators at runtime. Integration : Java-based and works directly with Selenium WebDriver. GitHub : https://github.com/healenium/healenium-web 📌 Benefits : Reduces test maintenance effort and improves test stability. 🧠 2. Testim (AI-based test execution and maintenance) Use case : Uses AI to identify elements and adapt to DOM changes. Integration : While Testim has its own framework, you can integrate via REST API or CI/CD pipelines. 📌 Alternative : Use AI features in the Testim platform for authoring and executing Java-based tests externally. 🔍 3. Applitools Eyes (Visual AI testing) Use case : Compares screenshots using AI to detect visual regressions. Integration : Java SDK available; easy to integrate with existing Selenium tests. Site : https://applitools.com 📌 Benefits : Detects UI bugs that are hard to find with DOM-based checks. 🗂️ 4. Mabl (AI ...