Task 2: Test Case Design Techniques

Q1. You are testing a form that allows users to schedule appointments with a doctor. The form has the following fields: first name, last name, email, phone number, and appointment date/time. Some more inputs:

If any field is blank, we should display "All fields are required"

If the email is invalid, we should display "Please enter a valid email"

If the phone number is invalid, we should display "Please enter a valid phone number"

If the appointment date/time is not available, it should display "Please choose another date/time"

If all fields are correct and the appointment is available, we should schedule the appointment successfully.

For these requirements write down the correct list of conditions in the form of decision table

Ans:
Here's a decision table that outlines the conditions for the given requirements:

First NameLast NameEmail ValidationPhone ValidationAppointment AvailabilityExpected Result
-TTTT"All fields are required"
T-TTT"All fields are required"
TTFTT"Please enter a valid email"
TTTFT"Please enter a valid phone number"
TTTTF"Please choose another date/time"
TTTTTSchedule the appointment successfully

2)Suppose you are a software tester and you are assigned to test a new mobile app that has just been developed. The app has three different user roles: basic user, premium user, and admin user. You have been given the following three test scenarios to execute:

-->Basic users can only access limited features of the app, while premium users can access all features. Admin users have access to advanced settings and can perform all actions.

-->Users should be able to create and delete their accounts successfully. Passwords must meet the required complexity standards and users should receive a confirmation email upon successful account creation.

-->Users should be able to navigate through the app seamlessly without any crashes or performance issues. The app should also display appropriate error messages when a user attempts to perform an action they are not authorized to perform.

For each of the test scenarios, describe the steps you would take to test them and the expected results.

Ans: