0% found this document useful (0 votes)
14 views11 pages

STQA Prac1

The document outlines the user interface and functionality for various fields and buttons in a login and account recovery system. It details positive and negative test cases for email, phone number, password input, and other features, along with specific rules governing their behavior. The document serves as a guideline for ensuring proper validation and user experience during account access and recovery processes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views11 pages

STQA Prac1

The document outlines the user interface and functionality for various fields and buttons in a login and account recovery system. It details positive and negative test cases for email, phone number, password input, and other features, along with specific rules governing their behavior. The document serves as a guideline for ensuring proper validation and user experience during account access and recovery processes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Name : Aditya Sudhakar Gadhe

Roll No : B21050
Batch : BE ‘A3’

1. Email or Phone Field

Positive cases (should work):


 If I type a correct email like user@gmail.com, it should take me to the next step.
 If I type a correct phone number like 9876543210, it should also go to the next step.
Negative cases (should not work):
 If I forget to type anything, it should show a message like "Please enter email or
phone."
 If I type something wrong like usergmail.com, it should show "Invalid email."
 If I type a short number like 12345, it should say "Invalid phone number."
Rules:
 Email should have @ and a domain (like gmail.com).
 Phone number must be exactly 10 digits, numbers only.
 No spaces or special characters allowed in phone numbers.
 Cannot be left blank.
02. Forgot Email Field

Positive cases:
 If I enter my correct recovery email or phone number, it should help me find my
account.
Negative cases:
 If I leave it empty, it should ask me to type something.
 If I type a wrong email format, it should show "Enter a valid email."
 If I enter an email that is not linked to any account, it should show "No account
found."
Rules:
 You must enter a valid recovery email or phone number linked to your account.
 Cannot leave it blank.
 Email should be in correct format (like name@gmail.com).
3. Next Button

Positive case:
 After typing a correct email or phone number, clicking "Next" should move to the
password page.
Negative cases:
 If I click "Next" without entering anything, it should show a warning.
 If I type something wrong, it should stay on the same page and show an error.
Rules:
 Only works if a valid email or phone number is entered.
 Should not work if the input is empty or incorrect.
 Should show a helpful message if there’s an error.
4. Create Account Button

Positive case:
 Clicking "Create Account" should take me to the sign-up page.
Negative case:
 If the page is broken, it should show "Page not available" or something similar.
Rules:
 Clicking this should always take you to the new account signup page.
 It should always work unless the link is broken.

5. Password Field

ruchaa2331@gmail.com

Positive case:
 If I type the correct password, I should be logged into my account.
Negative cases:
 If I type the wrong password, it should say "Wrong password."
 If I don’t type anything and try to continue, it should ask me to enter a password.
Rules:
 Password should be entered after email/phone.
 Some apps require a minimum of 8 characters.
 Must not be blank.
 May contain letters, numbers, and special symbols (like @, #).

6. Forgot Password

ruchaa2331@gmail.com

Positive case:
 If I click on "Forgot Password", it should take me to a page where I can reset my
password.
Negative case:
 If I haven’t entered my email/phone before clicking, it should ask me to enter that
first.
Rules:
 Only works if the email or phone number is already entered.
 Should take you to verification (OTP or email link) page.
7. Show Password

ruchaa2331@gmail.com

Positive cases:
 If I click the "eye" icon, my password should become visible.
 If I click it again, it should hide the password back into dots.
Rules:
 Clicking the eye icon once should show the password.
 Clicking it again should hide it.
 It doesn't change the password, only shows/hides it.

8. Language Mode

ruchaa2331@gmail.com

Positive case:
 If I choose another language like Hindi, the page text should change to that language.

Negative case:
 If the selected language doesn’t load properly, it should show English or an error.
Rules:
 You can choose your language from a dropdown or list.
 The page should update to that language immediately.
 If something goes wrong, it should default to English.

9. Help Button

ruchaa2331@gmail.com

Positive case:
 Clicking on "Help" should open a page with questions and answers to help me.
Negative case:
 If the page is missing, it should show an error like "Page not found."
Rules:
 Should always work and take you to the help or FAQ page.
 Should open in a new tab or same window depending on the design.
10. Privacy Button

ruchaa2331@gmail.com

Positive case:
 Clicking on "Privacy" should open the privacy policy so I can read it.
Rules:
 Clicking it should open the privacy policy.
 It should not crash or redirect to the wrong page.

11. Terms Button

ruchaa2331@gmail.com

Positive case:
 Clicking on "Terms" should open the terms and conditions page.
Rules:
 Opens the terms and conditions page.
 Should always be available and updated.
12. Verification When Password is Forgotten

ruchaa2331@gmail.com

Positive cases:
 If I enter the correct OTP (code sent to phone or email), I can change my password.
 If I don’t get the OTP, I should be able to resend it.
Negative cases:
 If I enter the wrong code, it should say "Incorrect code."
 If the code is old/expired, it should say "Code expired."
 If I click "Submit" without typing the code, it should ask me to enter it.
Rules:
 You will get an OTP (code) on phone or email.
 Code should be typed exactly as received.
 If wrong or expired, it should not allow reset.
 You should be able to resend OTP if needed.
 Leaving it blank should show an error message.

13. Enter Your Password

ruchaa2331@gmail.com

Positive Test Cases:


 Enter the correct password → Successfully logs in.
 Enter a password with special characters like Pa$$w0rd! → Login works if correct.
 Enter a long password (e.g., 15+ characters) → Accepted if correct.
Negative Test Cases:
 Enter a wrong password → Show message: "Incorrect password."
 Leave the field empty → Show: "Please enter your password."
 Enter less than required characters (e.g., only 123) → Show: "Password too short."
Rules:
 Password should match the one set during registration.
 Usually requires at least 8 characters.
 Can contain letters, numbers, and special characters.
 Field should not be left empty.

14. Get a Verification Code at Your Email

ruchaa2331@gmail.com

Positive Test Cases:


 Click “Get verification code” → Code is sent to your email.
 Enter the correct code from email → Takes you to reset/login step.
 Use “Resend code” option if you didn’t get the email → Sends new code.
Negative Test Cases:
 Enter an incorrect code → Show message: "Wrong code."
 Enter an expired code → Show message: "Code expired."
 Leave code field blank and click continue → Show: "Please enter the code."
 Close email before checking code → Unable to verify.
Rules:
 Verification code (OTP) is sent to registered email.
 Code should be entered exactly as received.
 Code usually expires after a few minutes.
 You must have access to the registered email account.

15. Try Another way to sign in

ruchaa2331@gmail.com

Positive Test Cases:


 Click “Try another way” → Options like “Send OTP to phone” or “Use backup code”
appear.
 Select valid option and complete verification → Successfully logs in.
Negative Test Cases:
 Click without setting up any backup options → Show: "No other method available."
 Choose an option but don’t complete it → Login fails.
 Try with an invalid backup code or phone number → Show: "Invalid login method."
Rules:
 Allows login through different methods like phone, recovery email, backup code, etc.
 Should offer only options that were previously set up.
 Should work even if password is forgotten.

You might also like