Task - 2

  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/time is not available, it should display "Please choose another date/time"

  5. 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 the form of a decision table

    ANSWER:

    Test case design techniques:

    The type of test case design techniques are,

    1. Equivalence class partition (ECP).

    2. Boundary value analysis (BVA).

    3. Decision table testing.

    4. State transition testing.

    5. Use case testing.

1.Equivalence class partition (ECP).

Splitting input data with a valid partition and an invalid partition .

Test description

Valid partition

Invalid partition

First name 

Deva

344para

Last name

M

20

Email(enter the valid email)

iamdeva@gmail.com

a@...g@

Phone number(10 digits)

6369942357

87645345

2.Boundary value anlysis .

Test description

Valid partition

Invalid partition(minimum)

Invalid partition (maximum)

First name (specified character size)

Deva

344para

3000459

Last name (specified character size)

M

20

47asdhfhvh

Email(enter the valid email)

iamdeva@gmail.com

a@...g@

abeurjmcelwqeylmowjhf--kdh

Phone number(10 digits)

6369942357

87645345

785481167798798

3.Decision Table Testing

Input

TC1

TC2

TC3

TC4

TC5

First name

Yes

Yes

Yes

Yes

Yes

Last name

Yes

Yes

Yes

No

yes

Email

Yes

Yes

Yes

Yes

no 

Phone number

Yes

no

Yes

Yes

yes

Date and Time

Yes

yes

No

Yes

yes

Status

Appointment Success

Please enter the valid Phone number

Please enter the valid date

Please enter valid name 

Please enter valid email

Test case design

TC -ID

Test Description

Test Case

Test Condition

valid

Invalid

Result

First name

verify the first name

Enter valid user name

Need a valid user name

Deva

First name is correct

Last name

verify the last name

Enter valid name

Need a valid user name

Mohan

Last name is correct

Email

verify the email address

Enter valid email

need a valid email

iamdeva@gmail.com

Email is correct

Phone number

verify the phone number

Must be 10 digits

need a valid number

6369942357

phone number is correct

date and time

Verify the date and time

Enter valid date and time

valid date and time

01/08/2023 9am-11am

date and time is correct

Mobile App-test Scenario for users :

1.Open application.

2.Check the application is present on the mobile.

3.Check the user can launch the application.

4.Check the user can able to login the application.

5.To check the app provides a user guide prepared to direct the users to the app.

6.To check if the battery can sustain the app and help in its performance under the projected load volumes.

7.To secure the data storage and data validation and more.

8.To check if the buttons are placed in the proper section to avoid complexity.

9.To check if the text is clear and simple for the user to read and understand the context easily.

10.To check if the page scrollings are all enabled or not