Domain Analysis Testing
Domain Analysis Testing
Task 02
Q1:
Perform domain analysis testing on the following scenario:
Consider a games exhibition for Children, 6 competitions are laid out, and tickets have to be
given according to the age and gender input. The ticketing is one of the modules to be tested
in for the whole functionality of Games exhibition. According to the scenario, we got six
scenarios based on the age and the competitions:
🞂 Age >5 and <=10, Boy should participate in Storytelling.
🞂 Age >5 and <=10 , girl should participate in Drawing Competition.
🞂 Age >10 and <=15, Boy should participate in Quiz.
🞂 Age >10 and <=15 , girl should participate in Essay writing.
🞂 Age<=5, both boys and girls should participate in Rhymes Competition. 🞂
Age >15, both boys and girls should participate in Poetry competition.
Solution:
First we will have the two partitions:
For Girls:
Test cases:
For Girls:
Test cases:
For Boys:
🞂 Age<=5
🞂 Age>15
Conditions:
Withdrawal Amount <= Balance
Credit granted
Actions:
Withdrawal granted
Decision Table:
Test Cases:
T - - - F
- T - - F
- - T - F
- - - T F
T - - - T
- T - T
- - T - T
- - - T T
Test Cases:
TC#1
Gpa >80 and gpa <= 100 + No Failure:
Admitted
Scholarship Received
TC#2
Gpa > 70 and gpa <= 80+ No Failure:
Admitted
No Scholarship Received
TC#3
Gpa >= 70 and gpa <= 60+ No Failure:
Admitted
No Scholarship Received
gpa <60
Not Admitted
No Scholarship Received