0% found this document useful (0 votes)
33 views14 pages

Software Quality Engineering - NUCES-FAST - Assignment # 1 - Solution

Uploaded by

k224818
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views14 pages

Software Quality Engineering - NUCES-FAST - Assignment # 1 - Solution

Uploaded by

k224818
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 14

SQE Assignment 1

Mustafa Masood
22K-4818 BSE-5B

Test Cases

1.

Requirement Project Tutorial


1
Reference Name app

Test Case Id 1.1 Test Type GUI

Test Case
Verify that the user can successfully sign in with valid data.
Description

1. Open the application


Test Steps 2. Enter valid email, valid password.
3. Click on the "Sign In" button.

Expected Result User should be able to login, redirect to dashboard

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood

Tested By (To be filled during A2)

2.

Requirement Project Tutorial


3
Reference Name app

Test Case Id 3.1 Test Type GUI

Test Case
Verify that the user cannot log in with invalid credentials.
Description
1. Open the app on a mobile device.
Test Steps 2. Enter invalid username or password or both.
3. Click on the "Sign In" button.

Expected Result An error message should be displayed stating "Invalid Username or Password."

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood

Tested By (To be filled during A2)

3.

Requirement Project Tutorial


3
Reference Name app

Test Case Id 3.2 Test Type GUI

Test Case Verify that an error message is displayed when the user attempts to sign in
Description without providing all the required data.

1. Open the application.


Test Steps 2. Leave one or more required fields empty (email or password).
3. Click on the "Sign In" button.

Expected Result Display error message: “Email and password can’t be empty”

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood


Tested By (To be filled during A2)

4.

Requirement Project Tutorial


3
Reference Name app

Test Case Id 3.3 Test Type GUI

Test Case
Test the toggle functionality in the password field.
Description

1. Open the app.


Test Steps 2. Enter a password in the password field.
3. Toggle the password visibility.

Expected Result The password should switch between hidden and plain text.

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood

Tested By (To be filled during A2)

5.

Requirement Project Tutorial


2
Reference Name app

Test Case Id 2.1 Test Type GUI

Test Case
Verify that the user can successfully sign up with valid data.
Description
1. Open the application.
2. Navigate to the Sign Up screen.
Test Steps 3. Enter valid email, password, confirm password.
4. Click on the "Sign Up" button.

Expected Result Display success message : “User Registered Successfully.”

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood

Tested By (To be filled during A2)

6.

Requirement Project Tutorial


2
Reference Name app

Test Case Id 2.2 Test Type GUI

Test Case Verify that an error message is displayed when the user attempts to sign up
Description without providing the required data.

1. Open the application.


Test Steps 2. Navigate to the Sign Up screen.
3. Leave one or more required fields empty (e.g., email or password).
4. Click on the "Sign Up" button.
Expected Result Display Error message: "Please enter correct data."

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)


Prepared By Mustafa Masood

Tested By (To be filled during A2)

7.

Requirement Project Tutorial


2
Reference Name app

Test Case Id 2.3 Test Type GUI

Test Case Verify that an error message is displayed when the user enters an invalid email
Description format during sign-up.

1. Open the application


2. Navigate to the Sign Up screen.
Test Steps 3. Enter an invalid email format in the email field.
4. Fill in all other fields.
5. Click on the "Sign Up" button.
An error message should be displayed indicating that the email format is
Expected Result
invalid.

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood

Tested By (To be filled during A2)

8.

Requirement Project Tutorial


2
Reference Name app

Test Case Id 2.4 Test Type GUI


Test Case Verify that an error message is displayed when the password and confirm
Description password fields do not match.

1. Open the application


2. Navigate to the Sign Up screen.
Test Steps 3. Enter a valid email and password.
4. Enter a different value in the "Confirm Password" field.
5. Click on the "Sign Up" button

An error message should be displayed indicating that the passwords do not


Expected Result
match.

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood

Tested By (To be filled during A2)

9.

Requirement Project Tutorial


5
Reference Name app

Test Case Id 5.1 Test Type GUI

Test Case
Verify that the user can successfully add a vehicle with valid data.
Description

1. Navigate to the dashboard.


2. Click on the "+" button.
Test Steps 3. Click on the "Add New Vehicle" button to add a vehicle.
4. Enter valid vehicle details (e.g., vehicle name and registration number).
5. Click the "Ok" button.
Expected Result Display success message: “Vehicle Registered.”

Actual Result (To be filled during A2)


Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood

Tested By (To be filled during A2)

10.

Requirement Project Tutorial


5
Reference Name app

Test Case Id 5.2 Test Type GUI

Test Case Verify that an error message is displayed when the user tries to add a vehicle
Description without entering the required details.

1. Navigate to the dashboard.


2. Click on the "+" button.
Test Steps 3. Click on the "Add New Vehicle" button to add a vehicle.
4. Leave the vehicle name or registration number fields empty.
5. Click the "Ok" button.
An error message should be displayed indicating that vehicle details are
Expected Result
required.

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood

Tested By (To be filled during A2)

11.
Requirement Project Tutorial
5
Reference Name app

Test Case Id 5.3 Test Type GUI

Test Case Verify that the vehicle name and registration number fields accept
Description alphanumeric characters and special symbols.

1. Navigate to the dashboard.


2. Click on the "+" button.
Test Steps 3. Click on the "Add New Vehicle" button to add a vehicle.
4. Enter a vehicle name and registration number with alphanumeric and
special characters.
5. Click the "Ok" button.
Expected Result The vehicle should be added successfully without any validation errors.

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood

Tested By (To be filled during A2)

12.

Requirement Project Tutorial


5
Reference Name app

Test Case Id 5.4 Test Type GUI

Test Case Verify that clicking the "Cancel" button reverts the user back to the previous
Description screen without saving any changes.

1. Navigate to the dashboard.


2. Click on the "+" button.
Test Steps 3. Click on the "Add New Vehicle" button to add a vehicle.
4. Enter vehicle details (e.g., vehicle name and registration number).
5. Click the "Cancel" button.
The user should be taken back to the previous screen, and no data should be
Expected Result
saved.

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood

Tested By (To be filled during A2)

13.

Requirement Project Tutorial


5
Reference Name app

Test Case Id 5.5 Test Type GUI

Test Case Verify that an error message is displayed when the user clicks “Save” without
Description adding a vehicle.

1. Navigate to the dashboard.


Test Steps 2. Click on the "+" button.
3. Without selecting a vehicle or entering details.
4. Click “Save.”
An error message should be displayed indicating that selecting and vehicle
Expected Result
details are required.

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood

Tested By (To be filled during A2)


14.

Requirement Project Tutorial


5
Reference Name app

Test Case Id 5.6 Test Type GUI

Test Case Verify that an error message is displayed when the user clicks “Save” after
Description selecting a vehicle but not adding details.

1. Navigate to the dashboard.


Test Steps 2. Click on the "+" button.
3. Select a vehicle, without entering details.
4. Click “Save.”
An error message should be displayed indicating that vehicle details are
Expected Result
required.

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood

Tested By (To be filled during A2)

15.

Requirement Project Tutorial


5
Reference Name app

Test Case Id 5.7 Test Type GUI

Test Case Test that error messages are displayed when non-numeric values are entered
Description in numeric fields.

Test Steps 1. Navigate to the dashboard.


2. Click on the "+" button.
3. Select a vehicle.
4. Enter non-numeric data in "Oddo Meter Reading", "Total Fuel", or "Per
Gal Price".
5. Click “Save.”
Expected Result Display Error message: “Enter numeric values.”

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood

Tested By (To be filled during A2)

16.

Requirement Project Tutorial


5
Reference Name app

Test Case Id 5.8 Test Type GUI

Test Case
Verify that system saves vehicle data correctly after entering valid details
Description

1. Navigate to the dashboard.


2. Click on the "+" button.
Test Steps 3. Select a vehicle.
4. Enter numeric data in "Oddo Meter Reading", "Total Fuel", or "Per Gal
Price".
5. Click “Save.”
Expected Result Redirect to vehicles details page.

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood

Tested By (To be filled during A2)


17.

Requirement Project Tutorial


6
Reference Name app

Test Case Id 6.1 Test Type GUI

Test Case Verify that no action is taken when the user clicks "No" in the remove vehicle
Description confirmation dialog.

1. Navigate to the dashboard.


2. Click on the "+" button.
Test Steps 3. Select a vehicle.
4. Click on the "Remove Vehicle" button.
5. In the confirmation dialog, click "No."
The vehicle should not be removed, and the user should return to the previous
Expected Result
screen.

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood

Tested By (To be filled during A2)

18.

Requirement Project Tutorial


6
Reference Name app

Test Case Id 6.2 Test Type GUI

Test Case Verify that the vehicle is removed when the user clicks "Yes" in the remove
Description vehicle confirmation dialog.

Test Steps 1. Navigate to the dashboard.


2. Click on the "+" button.
3. Select a vehicle.
4. Click on the "Remove Vehicle" button.
5. In the confirmation dialog, click "Yes."
The vehicle should be removed, and a success message: “Vehicle Removed”
Expected Result
should be displayed.

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood

Tested By (To be filled during A2)

19.

Requirement Project Tutorial


6
Reference Name app

Test Case Id 6.3 Test Type GUI

Test Case Verify that the user is prompted with a confirmation message when attempting
Description to remove a vehicle.

1. Navigate to the dashboard.


Test Steps 2. Click on the "+" button.
3. Select a vehicle.
4. Click on the "Remove Vehicle" button.
A confirmation message should be displayed asking whether the user wants to
Expected Result
remove the vehicle.

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood


Tested By (To be filled during A2)

20.

Requirement Project Tutorial


6
Reference Name app

Test Case Id 6.4 Test Type GUI

Test Case Verify that an error message or prompt is displayed when a user tries to
Description remove a vehicle without selecting one from the list.

1. Navigate to the dashboard.


Test Steps 2. Click on the "+" button.
3. Without, selecting a vehicle, click on the "Remove Vehicle" button.

An error message or prompt should be displayed indicating that no vehicle has


Expected Result
been selected for removal.

Actual Result (To be filled during A2)

Pass/Fail (To be filled during A2)

Date Prepared 5th October 2024

Date Run (To be filled during A2)

Prepared By Mustafa Masood

Tested By (To be filled during A2)

You might also like