You are testing a form that allows user to schedule appointments with a doctor. The form has the following fields : First name, last name, email, phone number, appointment date and time :
Example: Form to schedule appointments with a doctor
Required Details : First name , Last name , Email , Phone number & Appointment date/time.
Scenario 1:
User should be open the browser google chrome and should be able to open the webpage.
Output:
User should be able to open the webpage and see the page to fill the form.
Scenario 2:
Fill the form with required details of your first and last name, email, phone number and appointment date/time correctly without omitting any of the above fields.
First name : Masarrath
Last name : Nazia
Email : abc1@gmail.com
Phone number : 1345678963
Appointment Date/Time : 03/11-5:00 pm
Output:
The appointment is schedule for selected time 3/11 at 5:00pm
Scenario - 3
Fill the form with required details of your first name, email, phone number and appointment date and time with first name field blank.
First name :
Last name : Nazia
Email : abc1@gmail.com
Phone number : 1345678963
Appointment Date/Time : 03/11-5:00 pm
Output
User gets the error message to enter the First name.
Scenario - 4
Fill the form with required details of your last name, email, phone number and appointment date and time with omitting the first name field blank.
First name : Masarrath
Last name :
Email : abc1@gmail.com
Phone number : 1345678963
Appointment Date/Time : 03/11 : 5:00 PM
Output
User gets the error message to enter the last name.
Scenario - 5
Fill the form with required details of your first and last name, phone number and appointment date and time with the incorrect email id.
First name : Misha
Last name : Raj
Email : abc1@gmil.com
Phone number : 1345678963
Appointment Date/Time : 03/11-5:00 pm
Output
User gets the error message to enter the correct user name.
Scenario - 6
Fill the form with required details of your first and last name, email id and appointment date and time with the incorrect phone number by entering just 9 or 11 numbers.
First name : Masarrath
Last name : Nazia
Email : abc1@gmail.com
Phone number : 134567896
Appointment Date/Time : 03/11-5:00 pm
Output
User gets the error message to enter the correct phone number.
Scenario - 7
Fill the form with required details of your first and last name, email id, phone number and enter incorrect yesterday's date.
First name : Masarrath
Last name : Nazia
Phone number : 1345678963
Appointment Date/Time : 03/11-5:00 pm
{Available 07/11-5:00pm , 08/11-6:00pm}
Output
Please choose another date for the appointment as the selected date is not available.
Scenario - 8
Fill the form with required details of your first & last name, email id, phone number and appointment date and incorrectly giving the time which is almost full.
First name : Masarrath
Last name : Nazia
Phone number : 1345678963
Appointment Date/Time : 03/11-5:00 pm
{Available 03/12-5:00pm , 05/11-6:00pm}
Output
Please choose another date for the appointment as the selected time is not available.