CartSure Exploratory & Experience-Based Testing

Business Scenario

Welcome!

You are now learning advanced testing techniques in the CartSure project as a Software Tester.

Before testing real-world applications, it is important to understand that some defects cannot be identified through predefined test cases alone, as users may perform unexpected actions or workflows.

In CartSure, you will explore different modules such as user registration, payment processing, and order management to identify edge cases and unexpected system behaviour.

Based on your testing observations and experience-based techniques, you will then validate how the application behaves under unusual conditions, invalid workflows, and unpredictable user actions.

These activities help ensure that CartSure’s application behaviour remains stable

So, today you will learn how to perform Exploratory Testing, identify edge cases, apply Experience-Based Testing techniques.

Pre-Lab Preparation

Topic: Testing Techniques

1)Black Box vs White Box And Equivalence Partitioning
2)Boundary Value Analysis And Decision Table & State Transition

Task 1: Perform exploratory testing

  • Ensure all modules are available:

 

git pull origin branchName

Git Pull

  • Product Catalogue
  • Cart
  • Checkout
  • Payment
  • Account/Profile

Prepare for Testing

 

1

1

  • Open CartSure e-commerce site

Explore the Application

1

2

Perform random, unscripted actions to find unexpected behaviour:

 

Remove or change product quantities

b

Add different products to the cart

a

Apply valid, invalid, and expired coupon codes

c

Proceed to checkout with empty or full cart

d

Try different payment methods

e

Navigate using back/forward buttons and multiple tabs

f

Enter special characters or invalid inputs in forms

g

Observe and Note

 

 

1

3

  • Check for errors, crashes, UI glitches
  • Identify unexpected behaviour (e.g., discount not applied, payment failure not handled)

  • Record any usability issues

AreaActionObservationSeveritySuggestion
CartAdd max quantityScroll issueMediumAuto-scroll or pagination
CouponExpired codeError unclearHighShow “Coupon expired”
PaymentInvalid cardNo retry guidanceHighAdd retry instructions
CheckoutEmpty cartCheckout allowedCriticalDisable checkout
UI/UXMultiple tabsCart not syncedMediumSync in real-time

Records Finding

 

1

4

Outcome

 

1

5

  • Hidden issues discovered

  • Edge cases identified

  • Ready for documentation in Exploratory Testing Report

Create Decision Table

1

3

CONDITIONDESCRIPTION
C1Stock Available(Yes/No)
C2Payment Successful(Yes/No)
C3Coupon Valid(Yes/No)

Identify Actions

1

2

ACTIONDESCRIPTION
A1Place Order
A2Apply Discount
A3Show Payment Error
A4Show Out Of Stock Error

Identify System States (Example: Order Placement Workflow)

1

1

RULEC1:StockC2:PaymentC3:CouponActions
R1YESYESYESPlace Order + Apply Discount
R2YESYESNOPlace Order(No Discount)
R3YESNO-Show Payment Error
R4NO--Show Out Of Stock Error

Task 2: Create Decision Table

STATEDESCRIPTION
BROWSINGUser is Viewing Products
CARTUser has Added Product to Cart
CHECKOUTUser Proceeds to Checkout
PAYMENTUser Enters Payment Details
ORDER CONFIRMEDPayment Successful, Order placed
PAYMENT RETRYPayment Failed, User Retries
FROM STATEACTION/EVENTTO STATE
BROWSINGAdd ProductCART
CARTProceed to CheckoutCHECKOUT
CHECKOUTMake Payment PAYMENT
PAYMENTPayment SuccessfulORDER CONFIRMED
PAYMENTPayment FailedPAYMENT RETRY
PAYMENT RETRYRetry SuccessORDER CONFIRMED
CARTRemove ProductBROWSING

Identify Transitions

1

2

Based On Decision Table

1

1

Task 3: Design Test Cases

TC IDCONDITIONINPUTEXPECTED ACTION
TC01STOCK+PAYMENT+COUPONSTOCK = YES
PAYMENT = YES
COUPON = VALID
PLACE ORDER + APPLY COUPON
TC02STOCK+PAYMENT+INVALID COUPONSTOCK = YES
PAYMENT = YES
COUPON = INVALID
PLACE ORDER(NO DISCOUNT)
TC03STOCK+PAYMENT FAILED​STOCK = YES
PAYMENT = NO
SHOW PAYMENT ERROR
TC04OUT OF STOCK​STOCK = NOSHOW OUT OF STOCK ERROR

Based on State Transitions

1

2

TC IDINITIAL STATEACTION/EVENTNEXT STATEEXPECTED RESULT
TC05BrowsingAdd ProductCartProduct added to cart
TC06CartProceed to CheckoutCheckoutUser enters checkout page
TC07CheckoutMake Payment (Success)Order ConfirmedOrder placed successfully
TC08CheckoutMake Payment (Fail)Payment RetryPayment retry option shown
TC09CartRemove ProductBrowsingCart updated / empty

Task 3: Design Test Cases

Add Product -> Cart -> Checkout -> Payment

1

1

Payment Success -> Order Confirmed

1

1

1

2

Payment Fail -> Payment Retry

1

3

Remove Product -> Cart Updates/Back to Browsing

1

4

Verify Error Messages for OUT OF STOCKS or INVALID COUPON

1

5

TC IDSCENARIOEXPECTED RESULTSTATUS
TC01STOCK+PAYMENT+VALID COUPONORDER + DISCOUNTPASS
TC02STOCK+PAYMENT+INVALID COUPONORDER(NO DISCOUNT)PASS
TC03PAYMENT FAILEDRETRY PAYMENTPASS
TC04OUT OF STOCKSHOW ERRORPASS
TC05REMOVE ITEM FROM CARTBACK TO BROWSINGPASS

Validation Table

TC IDSCENARIOCONDITION/STATEEXPECTED RESULT
TC01Place order with valid couponStock=Yes, Payment=Success, Coupon=ValidOrder placed + Discount applied
TC02Place order with invalid couponStock=Yes, Payment=Success, Coupon=InvalidOrder placed without discount
TC03Payment failsStock=Yes, Payment=FailShow payment retry option
TC04Product out of stockStock=NoShow "Out of Stock" error
TC05Retry payment successPayment Retry, SuccessOrder confirmed
TC06Add product to cartBrowsing → Add ProductProduct added to cart
TC07Proceed to checkoutCart → CheckoutCheckout page opens
TC08Remove item from cartCart → Remove ProductCart updated / Back to browsing

OUTPUT: Logic-Based Test Cases

 

Great job!

You have successfully completed your CartSure Business Logic Testing using Decision & State Models session.

  • Applied Decision Table Testing and State Transition Testing to design logic-based test cases and validate business workflows, rules, and system behaviour across different application states.

You now understand how testers validate business rules and workflow behavior using Decision Table and State Transition Testing techniques.

Checkpoint

   Git Push

git push origin branchName

Next-Lab Preparation

Topic: Testing Techniques

1)Black Box vs White Box
2)Equivalence Partitioning
3)Boundary Value Analysis
4)Decision Table & State Transition

MT12-CartSure Exploratory & Experience-Based Testing

By Content ITV

MT12-CartSure Exploratory & Experience-Based Testing

  • 40