Task 2 :Test case design Techniques

Task2:

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

  1. If any field is blank , we should display “All fields are required”

  2. If the email is invalid, we should display “please enter a valid email”

  3. If the phone number is invalid , we should display “Please enter a valid phone number”

  4. If the appointment date is not available, it should display “Please choose another date/time”

  5. If all field are correct and the appointment is available , we should schedule the appointment successfully For these requirements write down the correct list of conditions in form of decision table

Decision Table

Decision Table Appointment form:
Input ValueTC01TC02TC03TC04TC05TC06
First NamePassFailPassPassPassPass
Last NamePassFailPassPassPassPass
EmailPassFailFailPassPassPass
Phone NoPassFailPassFailPassPass
Appointment DatePassFailPassPassFailPass
Appointment TimePassFailPassPassPassFail
ResultAppointment has been Completed successfullyAll fields are requiredPlease enter a valid emailPlease enter a valid phone number”Please choose another datePlease choose another date

Definition:

Pass: Correct value has been given

Fail: incorrected value has been given.

TC01: If all the values are corrected, system will displays the “Appointment has been completed successfully”

TC02: If all the values are Skipped, system will displays the “All fields are required”

TC03: If all the corrected values has been given except E-mail, system will displays the “Please enter a valid email”

TC04: If all the corrected values has been given phone Number system will displays the “Please enter a valid Phone Number”

TC05: If all the corrected values has been given date, system will displays the “Please enter a valid Date”

TC06: If all the corrected values has been given time , system will displays the “Please enter a valid time”

Q2. 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:

1)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.

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

3)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.

First IMG1:

0
Subscribe to my newsletter

Read articles from RamprasathSivakumar directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

RamprasathSivakumar
RamprasathSivakumar