Lab 05
Lab 05
Consider a dialogue box which will ask the user to upload photo with certain conditions
like
If any of the conditions fails, the system will throw corresponding error message stating the
issue and if all conditions are met photo will be updated successfully
SOLUTION:
Legend:
Interpretation:
Case 1 – The photo has the correct format, correct file size, and correct resolution. The
photo is successfully uploaded.
Case 2 – The photo has the correct format and correct file size, but the resolution is
incorrect. An error message is displayed.
Case 3 – The photo has the correct format, but the file size is incorrect and the resolution
is correct. An error message is displayed.
Case 4 – The photo has the correct format, but both the file size and resolution are
incorrect. An error message is displayed.
Case 5 – The photo has an incorrect format, but the file size and resolution are correct.
An error message is displayed.
Case 6 – The photo has an incorrect format, and the file size is correct, but the resolution
is incorrect. An error message is displayed.
Case 7 – The photo has an incorrect format, the file size is incorrect, but the resolution is
correct. An error message is displayed.
Case 8 – The photo has an incorrect format, incorrect file size, and incorrect resolution.
An error message is displayed.
Task 02: Consider A flight reservation system that can be accessed with correct agent name
and password and if user enters the wrong password, the system will allow three attempts,
and if wrong password is entered at 4th attempt, the system closes the system
automatically. In this scenario, testing with the correct password and with an incorrect
password is compulsory.
Draw the state Transition diagram and state table for the above scenario.
S6 4th Attempt
Start 1st Attempt 2nd Attempt 3rd Attempt
Correct Password
Correct Password Incorrect Password
Correct Password