Task 1

Mukilan R UMukilan R U
5 min read

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 form of decision table

Answer

ConditionAll field enteredValid Phone number enteredValid Email enteredAppointment AvailableOutput Message
Case 1 : All Fields not enteredNoYesYesYes"All Fields are Required"
Case 2 : All Fields entered but invalid phone numberYesNoYesYes"Please Enter a Valid Phone number"
Case 3 : All Fields entered but invalid emailYesYesNoYes"Please Enter a Valid Email"
Case 4: All Fields are entered with valid email and phone number but appointment is not availableYesYesYesNo"Please choose another date/time"
Case 5: Some Fields are entered and some fields are blankNoYesYesYes"All Fields are Required"
Case 6: All Fields are entered with valid email and phone number and appointment is also availableYesYesYesYes"Schedule the appointment successfully"

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:

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.

Answer:

Test Scenario 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.

Steps to Test :

Step 1: Login as Basic User Credentials Attempt using premium and admin user features

Step 2: Login as Premium User Credentials Attempt using basic and admin user features

Step 3: Login as Admin User Credentials Attempt using basic and Premium user features

Expected Results :

Step 1: User must be able to use the basic features only and Premium and admin users features and not available

Step 2: User must be able to use the basic and premium features but Admin users features and not available

Step 3: User must be able to use all the features of the application

Test Scenario 2 : 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.

Steps to Test :

Step 1: Login with all types of User Credentials to create account

Step 2: Login with all types of User Credentials to create account with invalid password standards

Step 3: Login with all types of User Credentials to create account and check for successful account creation email

Step 4: Login with all types of User Credentials to delete the account

Expected Results :

Step 1: User must be able to create the account successfully

Step 2: User must not be able to create the account and error message must appear for invalid password standards

Step 3: User must be able to receive the successful account creation email after creation the accounts

Step 4: User must be able to delete the account successfully

Test scenario 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.

Steps to Test :

Step 1: Login with all types of User Credentials and navigate throughout the app for testing for crashes

Step 2: Login with all types of User Credentials and navigate throughout the app for testing performance issues with various networks such as WIFI and mobile network.

Step 3: Login with all types of User Credentials make unauthorized actions such as attempt to use premium features with basic user and check the error messages

Expected Results :

Step 1: Users must be able to navigate the app smoothly without crashes and slow loading.

Step 2:Users must be able to navigate the app smoothly without any performance issues despite of change in networks

Step 3: User must not be able to do the unauthorized action and error message must be appeared such as “Dont have the permission for the action“.

0
Subscribe to my newsletter

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

Written by

Mukilan R U
Mukilan R U