Q1. You are testing a form that allows users to schedule appointment with a doctor. The form has the following field: first name , last name ,email, phone number and appointment time /date. Some more inputs:
1 If any field is blank, we should display “ All fields are required”
ANS: Decision table
2 If the email is invalid, we should display “Please enter a valid email”
ANS: State transition
3 if the phone number is invalid, we should display “please enter valid phone number”
ANS: State transition , Boundary value analysis (BVA)
4 If the appointment date/time is not available, it should display “Please choose another date/time”
ANS: State transition
5 If all fields are correct and the appointment is available, we should schedule the appointment successfully.
ANS: State transition
For there requirements write down the correct list of conditions in form of decision table.
Q2. Suppose you are software testing 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 setting and can perform all actions.
ANS: Application is loaded and network is connected
Basic user , Premium user and Admin is able to logging
Basic user ,check access the limited features -> TEST PASS
Basic user, check access the all features -> TEST FAIL
Basic user, check access the all advance setting -> TEST FAIL
Premium user, check access the all features -> TEST PASS
Premium user, check access the all advance setting -> TEST FAIL
Admin user, check access the all features-> TEST PASS
Admin user, check access the all advance setting-> TEST PASS
· 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.
Ans: Check with the creation of account -> TEST PASS
Check the successful message for the account creation-> TEST PASS
Check the password with complexity standers-> TEST PASS
Check with simple password-> TEST FAIL
· User 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.
Ans: Check with user can navigate to the permitted access area ->TEST PASS
Check with can user navigate to all access area ->ERROR MASSEGE
For each of the test scenarios, describe the steps you would take to test them and the expected results.

Top comments (0)