Professional Documents
Culture Documents
1. Web Form:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<div class="container">
<h2>Contact Form</h2>
<form id="contactForm">
<label for="email">Email:</label>
<label for="password">Password</label>
<label>Gender</label>
<label for="male">Male</label>
<label for="female">Female</label>
<label for="country">Country</label>
<option value="ca">Canada</option>
</select>
<button type="submit">Submit</button>
</form>
</div>
</body>
</html>
i) Test cases:
1. Field Inputs:
- First Name: Valid, Empty, Special Characters, Long Name
- Last Name: Valid, Empty, Special Characters, Long Name
- Password: Valid, Empty, Short Password, Password Mismatch, Special Characters
- Confirm Password: Valid, Empty, Password Mismatch, Special Characters
2. Other Fields Validation:
- Gender: Male, Female, None
- Country: Selection, No Selection
3. Buttons Check:
- Submit: Valid Submission, Empty Fields, Various Input Combinations
- Reset: Clear All Fields
5. Functionality Test:
- Ensure Form Submission with Different Inputs
6. Non-Functional Test:
- Test Form Response under Different Load Conditions
a) Testing Approach:
Manual testing
b) Resources:
Testers: Experienced Testers use for testing the web Form.
Tools: Different tools will be needed to accomplish the testing task. Test tools to help with test case
management, bug tracking, and others.
c) Timeline:
Preparation of test cases: week 1
3. Testing Techniques:
i) Equivalence Partitioning:
4. Test Execution:
i) Test Coverage
To calculate the test case coverage percentage, we need to determine the total number of form
elements that our test cases cover and then divide that by the total number of form elements.
Total number of form elements = 7 (firstname, lastname, Email, Password, Confirm Password,
Gender, country)
Assuming we have executed the test cases and found the following defects:
To calculate the test execution time, we need to know the start and end times of your testing
process. The formula to calculate the test execution time is:
Test Execution Time = End Time - Start Time
i) Testing Objectives:
The main testing goals were to check the accuracy of the data input, make sure that validation
Error handling were done correctly, and evaluate the user experience as a whole. All form fields,
Including firstname, lastname, email, password, confirm password, birthdate, gender and country,
Were included in the scope..
v) Improvement:
Test password matching and validation logic thoroughly. Gender selection would be validated
and empty field of firstname are also validated.