Professional Documents
Culture Documents
VGEC - Satweek Gohel - WebIMS QA Practical Test
VGEC - Satweek Gohel - WebIMS QA Practical Test
Q.1) Prepare test cases for login module where there are three fields - username
and password, forgot password which sends a link to the registered username
and/or email
Expected Output: Display an error message indicating that the username is not recognized.
Expected Output: Display an error message indicating that the password is incorrect.
Expected Output: Display error messages for both fields indicating they are required.
Expected Output: The system should send a password reset link to the registered email address
associated with the username.
Test Case: Forgot Password - Valid Email
Description: Use the "Forgot Password" feature with a valid email address.
Expected Output: The system should send a password reset link to the registered email address.
Expected Output: Display an error message indicating that the username is not recognized.
Description: Use the "Forgot Password" feature with an invalid email address.
Expected Output: Display an error message indicating that the email address is not recognized.
Description: Attempt to reset the password without entering any username or email.
Expected Output: Display error messages for both fields indicating they are required.
Description: Use the "Forgot Password" feature with a username associated with multiple email
addresses.
Expected Output: The system should send password reset links to all registered email addresses
associated with the username.
Q.2) There is a program which takes age as input and outputs the category.
write all test values/cases for testing it out thoroughly
0 - invalid
>0 & <=16 - child
>16 & <=40 - Adult
>40 & <=55 - Mid Age
>55 - Old Age
To thoroughly test the program that categorizes age into different categories, we need to consider
various boundary values, edge cases, and some typical values. Here are the test cases to cover
different scenarios:
- Input: -5
- Input: 0
- Input: 1
- Input: 16
- Input: 17
- Input: 41
- Input: 55
- Input: 56
- Input: 100
- Input: 1000
12. Test Case: Age = 17.5 (Decimal Age, should be treated as Adult)
- Input: 17.5
13. Test Case: Age = 40.2 (Decimal Age, should be treated as Adult)
- Input: 40.2
- Input: 41.9
- Input: "twenty-five"
- Expected Output: Invalid (since the input is not a valid numeric age)
- Input: NULL
- Input: ""
- Input: 16.00000
- Input: 42
- Expected Output: The text box should accept the input value without any errors.
- Input: 0
- Expected Output: The text box should accept the input value without any errors.
- Input: 99
- Expected Output: The text box should accept the input value without any errors.
- Input: -5
- Expected Output: The text box should not accept the input value and display an error message
indicating that the value is below the allowed range.
- Input: 105
- Expected Output: The text box should not accept the input value and display an error message
indicating that the value is above the allowed range.
- Input: "abc"
- Expected Output: The text box should not accept the input value and display an error message
indicating that only numeric values are allowed.
- Input: 15.75
- Expected Output: The text box should not accept the input value and display an error message
indicating that only integer values are allowed.
- Input: 007
- Expected Output: The text box should accept the input value as 7 (leading zeros should be
ignored).
- Expected Output: The text box should accept the input value as 25 (leading and trailing spaces
should be trimmed).
- Input: ""
- Expected Output: The text box should not accept the input value and display an error message
indicating that the field is required.
- Input: "42!"
- Expected Output: The text box should not accept the input value and display an error message
indicating that only numeric values are allowed.
- Input: "1,234"
- Expected Output: The text box should not accept the input value and display an error message
indicating that only numeric values without commas are allowed.
- Input: "5e3"
- Expected Output: The text box should not accept the input value and display an error message
indicating that only standard numeric notation is allowed.
14. Test Case: Input with Leading Plus Sign
- Input: "+77"
- Expected Output: The text box should not accept the input value and display an error message
indicating that the plus sign is not allowed.
- Input: "-20"
- Expected Output: The text box should not accept the input value and display an error message
indicating that negative values are not allowed.
16. Test Case: Input with Decimal Point but No Fractional Part
- Input: "36."
- Expected Output: The text box should not accept the input value and display an error message
indicating that only complete numbers are allowed.
- Expected Output: The text box should accept the input value as 42 (leading and trailing spaces
should be trimmed).
Q.4) In the gender textbox, the allowed values are “Male” and “Female” only.
Write a Validation message that should be displayed when a user enters an
invalid value.
The "Name" field on the form is currently accepting special characters, which is incorrect as it should
only allow letters and spaces. This can lead to potential issues with data integrity, user experience,
and introduce a Cross-Site Scripting (XSS) vulnerability.