#1 India's Top IT Training Institute
×

About Uncodemy

Know more about who we are and what we stand for.

About Us

About Us

Discover our mission to equip individuals with essential IT skills and industry expertise.

Read More →
UnCodeMy Gallery

UnCodeMy Gallery

Explore highlights from our IT training sessions and success stories.

Read More →
Mentors

Mentors

Meet the industry experts who train and guide you through your course.

Read More →
Free Resources

Free Resources

Free tutorials, interview questions, tools and calculators to help you learn.

Explore →
×

Free Resources

Learn, practice and plan your career — bilkul free.

Tutorials

Tutorials

Step-by-step written tutorials to learn any technology at your own pace.

Read More →
Free Counselling

Free Counselling

Book a free video counselling session and pick the right course for you.

Read More →
Online Compiler

Online Compiler

Write, run and test your code online — no setup required.

Read More →
Test Artifacts & Process

Test Case Execution

What is Test Case Execution?

Test case execution is the process of running the designed test cases against the application under test, comparing the actual results to the expected results.

Steps in Test Case Execution

  • Set Up the Test Environment: Ensure the correct build, data, and configuration are in place.
  • Execute Test Steps: Perform each step exactly as documented in the test case.
  • Record Actual Results: Note what actually happened during execution.
  • Compare with Expected Results: Mark the test case as Pass, Fail, or Blocked.
  • Log Defects: Raise a defect report for any failed test case.
  • Update Test Execution Reports: Track overall progress and coverage.

Why Careful Execution Matters

Consistent, disciplined execution ensures results are trustworthy and repeatable, and provides accurate data for tracking test progress and product quality.

Before the First Test Runs: Entry Criteria

Execution goes smoothly only when a few conditions are met first. Most teams agree on entry criteria such as:

  • The build is deployed to the test environment and its version number is recorded.
  • A smoke test has passed, proving the main screens open and login works.
  • Test data, user accounts and third-party sandboxes are ready.
  • Test cases are reviewed and assigned to testers in the test management tool.
  • Known blockers from the previous cycle are fixed or documented.

If the smoke test fails, the build is usually rejected rather than tested further, which saves hours of logging defects that all share one cause.

Execution Status Values and What They Mean

StatusUse it when
PassEvery step produced the expected result
FailAt least one actual result differs from the expected one; a defect ID is attached
BlockedThe test cannot start or continue because of another defect or an environment problem
Not RunPlanned for this cycle but not yet executed
Deferred / SkippedIntentionally left out of this cycle, with a recorded reason

Using these values consistently matters, because the execution report is built from them. Marking a blocked test as failed, for instance, inflates the defect count and hides the real blocker.

Worked Example: One Execution Cycle for Login

A tester runs five login cases on build 3.8.2. The execution log might look like this:

CaseActual resultStatusDefect
TC-L01 valid loginDashboard openedPass-
TC-L02 wrong passwordError shown, but message says "user not found"FailBUG-311
TC-L03 lock after 3 attemptsAccount locked as expectedPass-
TC-L04 reset password emailMail server down in test environmentBlockedENV-27
TC-L05 remember meNot startedNot Run-

The defect report for BUG-311 would include the build number, exact steps, test data, a screenshot and the expected versus actual message. When a fix arrives, the tester retests TC-L02 and then runs nearby regression cases, such as TC-L01 and TC-L03, to confirm the fix did not break related behaviour.

Running tests in the right order

  1. Smoke tests first, to confirm the build is testable.
  2. High-priority cases covering core business flows such as payment or checkout.
  3. New features and recently changed areas, where defects are most likely.
  4. Remaining functional cases, then lower-risk cosmetic checks.
  5. Retests of fixed defects as fixes arrive, followed by targeted regression.

Ordering by risk means that if time runs out, the untested cases are the least important ones.

Exit Criteria and Execution Mistakes

A cycle normally ends when planned cases are executed, no open critical defects remain, and any accepted risks are signed off by the product owner. Common slips during execution include:

  • Changing steps on the fly without updating the test case, so the next tester cannot repeat them.
  • Writing "works fine" instead of recording the actual result observed.
  • Testing on the wrong build because the version was not checked.
  • Reusing test data that an earlier test already modified.
  • Logging several unrelated problems inside one defect.

A quick daily habit helps: update statuses before the stand-up meeting, so progress charts reflect reality.

Ready to master real-world software testing?

Learn manual and automation testing hands-on with mentor-led sessions.

Explore Course