Q1.You are testing a form that allows users to schedule appointments with doctors. 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 valid phone number”.
- If the appointment date or time is not available, we should display, “Please choose another date or time”.
- If all fields are correct and appointment is available, we should display, “we should schedule the appointment successfully”.
List of conditions for Decision Table:
Test cases Conditions Mention Pass/Fail
First Name Empty All fields are required F
First Name Filled First name filled successfully P
Last Name Empty All fields are required F
Last Name Filled Last Name filled successfully P
Mail id Filled Mail id filled successfully P
Mail id Empty Please enter valid email F
Mail id If there is no @ symbol Please enter valid email F
Mail id If there is no gmail.com Please enter valid email F
Phone Number Empty Please enter valid phone number F
Phone Number <10 numbers Please enter valid phone number F
Phone Number =10 numbers Phone Number filled successfully P
Appointment date Empty Please choose date F
Appointment date >= Current date Appointment date filled successfully P
Appointment date Selected date is fully occupied Please choose another date F
Appointment Time Empty Please choose Time F
Appointment Time >= Current time Appointment time filled successfully P
Appointment Time Selected time is occupied Please choose another time F
All fields All fields are correct All fields are filled successfully P
All fields If any field is blank Please fill the mandatory fields F
Appointment Appointment is not available Please select other day/time F
Appointment Appointment is available Appointment is scheduled successfully P
Q2.You are a software Tester and 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. The below are following three test scenarios.
- Basic users can only access the 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. Password must meet the required complexity standards and users should receive a confirmation email on successful account creation.
- Users should be able to navigate through the app seamlessly without any crashes or performance issues. The app should display appropriate error messages when a user attempts to perform an action they are not authorized to perform.
Test Plan for the above Test scenarios:
1.Test Scenario Description : Verifying the login page of Mobile application of users
1.1Test Case Description : Valid Username and valid Password
Test Steps:
- Open the Mobile Application
- Click on User
- Enter valid username and valid password
- The user login is successful
- The limited features of the user should be visible. Test Scenario Description : Verifying the login page of Mobile application of users
1.2Test Case Description : Invalid Username and Invalid Password.
Test Steps:
- Open the Mobile Application
- Click on User
- Enter Invalid username and Invalid password
- The user login is Unsuccessful
- Give a message “Please enter valid username and valid password”. Test Scenario Description : Verifying the login page of Mobile application of users
1.3Test Case Description : Invalid Username and Invalid Password.
Test Steps:
- Open the Mobile Application
- Click on User
- Enter valid username and Invalid password
- The user login is Unsuccessful
- Give a message “Please enter valid username and valid password”. Test Scenario Description : Verifying the login page of Mobile application of users
1.4Test Case Description : Invalid Username and Invalid Password.
Test Steps:
- Open the Mobile Application
- Click on User
- Enter Invalid username and valid password
- The user login is Unsuccessful
- Give a message “Please enter valid username and valid password”.
2.Test Scenario Description : Verifying the login page of Mobile application of Pemium users
2.1Test Case Description : Valid Username and valid Password
Test Steps:
- Open the Mobile Application
- Click on Premium User
- Enter valid username and valid password
- The user login is successful
- The all features of the premium user should be visible. Test Scenario Description : Verifying the login page of Mobile application of premium users
2.2Test Case Description : Invalid Username and Invalid Password.
Test Steps:
- Open the Mobile Application
- Click on Premium User
- Enter Invalid username and Invalid password
- The Premium user login is Unsuccessful
- Give a message “Please enter valid username and valid password”. Test Scenario Description : Verifying the login page of Mobile application of Premium users
2.3Test Case Description : Invalid Username and Invalid Password.
Test Steps:
- Open the Mobile Application
- Click on Premium User
- Enter valid username and Invalid password
- The Premium user login is Unsuccessful
- Give a message “Please enter valid username and valid password”. Test Scenario Description : Verifying the login page of Mobile application of Premium users
2.4Test Case Description : Invalid Username and Invalid Password.
Test Steps:
- Open the Mobile Application
- Click on Premium User
- Enter Invalid username and valid password
- The Premium user login is Unsuccessful
- Give a message “Please enter valid username and valid password
3.Test Scenario Description : Verifying the login page of Mobile application of Admin users
3.1Test Case Description : Valid Username and valid Password
Test Steps:
- Open the Mobile Application
- Click on Admin User
- Enter valid username and valid password
- The Admin user login is successful
- The all advanced features of the Admin user should be visible.
Test Scenario Description : Verifying the login page of Mobile application of Admin users
3.2Test Case Description : Invalid Username and Invalid Password.
Test Steps:
- Open the Mobile Application
- Click on Admin User
- Enter Invalid username and Invalid password
- The Admin user login is Unsuccessful
- Give a message “Please enter valid username and valid password”.
Test Scenario Description : Verifying the login page of Mobile application of Admin users
3.3Test Case Description : Invalid Username and Invalid Password.
Test Steps:
- Open the Mobile Application
- Click on Admin User
- Enter valid username and Invalid password
- The Admin user login is Unsuccessful
- Give a message “Please enter valid username and valid password”.
Test Scenario Description : Verifying the login page of Mobile application of Admin users
3.4Test Case Description : Invalid Username and Invalid Password.
Test Steps:
- Open the Mobile Application
- Click on Admin User
- Enter Invalid username and valid password
- The Admin user login is Unsuccessful
- Give a message “Please enter valid username and valid password”.
4.Test Scenario Description : Creating a account
Test Case Description : Creating a New user account by filling all mandatory fields.
Test Steps:
- Open the Mobile Application
- Click New user
- New user form will be visible
- Enter First name and Last Name
- Enter valid mobile Number with 10 digits
- Enter Valid Mail id
- Create Password with minimum 10 letters with special characters.
- Confirm Password
- If any field is blank sent a message “Please fill all the mandatory fields”.
- Once all details all correct New user account is created and confirmation mail will sent to the mailid of the user.
5.Test Scenario Description : Deleting a account
Test Case Description : Deleting a user account in a mobile application.
Test Steps:
- Open the Mobile Application
- Click Login
- Enter user name and Password
- Once Login goto settings menu
- Click Delete my Account
- Show a message that “Are you sure you want to delete your account permanently”
- Click yes and proceed.
- Your Account is deleted successfully and Mail confirmation on deletion will sent to the users mailid.
6.Test Scenario Description : User perform unauthorized actions.
Test Case Description : When a user perform unauthorized action display a message that you are not authorized to perform this action.
Test Steps:
- Open the Mobile Application
- Click Login
- Enter user name and Password
- Click main menu
- Copy the content
- Display a message that “You are not authorized to perform this action”.
- Click Ok.
Top comments (0)