Testing a website application is a critical phase in the development lifecycle for ICT technicians, ensuring that the final product meets the desired functional and performance standards. In the Kenyan ICT landscape, where diverse users access web platforms from varying devices and network conditions, thorough testing guarantees reliability and usability. This chapter focuses on creating and implementing a comprehensive test plan that guides systematic evaluation of website applications to identify defects and verify functionality before deployment.
5.1 Website Application Test Plan
A test plan lays out the blueprint for verifying the website application’s quality by defining objectives, scope, resources, schedule, and testing activities. For ICT technicians in Kenya, a well-structured test plan helps coordinate efforts across teams, manage testing within project timelines, and ensure compliance with client requirements such as those from government agencies or financial institutions. The test plan also facilitates documentation and communication of testing progress and outcomes to stakeholders.
5.1.1 Importance of website application testing
Website application testing is the process of checking that a site behaves correctly, safely and quickly before real users depend on it. A website that has not been tested may look finished but fail when a customer submits an order form, logs in from a phone, or uploads a document. Testing therefore protects the client's money, the users' data and the developer's reputation. Example: a county revenue portal that accepts payments must be tested so that every payment is recorded against the right account before the portal goes live.
- Detecting Defects Early: Faults found during development are cheaper and faster to correct than faults found after release. A broken validation rule on a registration form, for instance, takes minutes to fix in the test environment but may corrupt hundreds of records once live.
- Confirming Requirements Are Met: Testing compares the finished application with what the client asked for. If the requirements say a student portal must display exam results by term, testing proves that it does so correctly for every term.
- Protecting Data and Users: Testing reveals weaknesses such as unprotected input fields, weak session handling or exposed personal data. Finding these before release reduces the risk of data theft and loss of user trust.
- Improving User Experience: Testing shows whether pages load in reasonable time, forms are easy to complete and navigation is clear. A booking site that confuses users or fails on small screens loses customers quickly.
- Ensuring Compatibility: Users open websites on different browsers, operating systems and devices. Testing confirms that the layout and features work on the desktop computers in an office as well as on the low-cost phones used by many customers.
- Reducing Maintenance Cost: A well-tested application needs fewer emergency fixes and support calls after launch. This saves the client's budget and lets developers spend time on new features instead of repairs.
- Building Confidence for Release: Test results give the client and project team evidence that the application is ready. Decisions to go live are then based on facts, not on assumptions.
5.1.2 Importance of website application test plan
A test plan turns the general intention to "test the site" into an organised, agreed activity. Without one, testers repeat work, skip important features and argue about when testing is finished. With one, everyone knows what is tested, by whom, with what and by when. In resource-limited environments such as county government projects, this discipline stops scarce time and budget from being wasted.
Purpose of the test plan
The purpose of a test plan is to establish a clear framework for testing activities that ensures the website application functions as intended and meets business needs.
- Define Testing Objectives: The test plan specifies what the testing aims to achieve, such as validating user interactions, security, and performance under load. This clarity helps teams align their efforts toward shared goals.
- Ensure Coverage: It identifies all functional areas and features to be tested, preventing critical components from being overlooked during testing, which is essential for applications like online banking platforms where errors can lead to financial loss.
- Allocate Resources: The plan outlines testing personnel, tools, and environments, enabling efficient scheduling and resource use in institutions like universities that may have limited ICT support staff.
- Manage Risks: By planning tests that cover potential failure points, the test plan helps mitigate risks that could affect user satisfaction or data integrity, for example in health information systems at county hospitals.
- Facilitate Communication: It serves as a communication tool between developers, testers, and clients, ensuring transparency and shared understanding of testing progress and results.
Monitoring test plan effectiveness
Once testing starts, the plan becomes the yardstick against which progress is measured. These checks show whether the plan is working and where it needs adjusting.
- Test Coverage Analysis: Evaluate the extent to which test cases cover the application requirements, identifying gaps that could lead to undetected defects.
- Defect Density Tracking: Measure the number of defects found per module or feature to focus testing efforts where problems are concentrated.
- Test Execution Rate: Monitor how quickly test cases are completed relative to the schedule, allowing timely adjustments to resources or scope.
- Quality Metrics: Assess metrics such as defect resolution time and severity distribution to evaluate the stability of the application.
- Feedback Incorporation: Collect input from testers and users during testing to refine test cases and improve future test plans.
5.1.3 Preparation of website application test plan
Preparing a test plan means gathering what is known about the website application and recording, in one document, how it will be tested. The technician works from the requirements and design documents, agrees the scope with the client and the development team, and then writes the components of the plan and the test cases. Example: for a clinic appointment-booking website, the plan would list booking, cancellation, reminders and patient login as in scope, name the browsers and phones to be used, and set dates for each round of testing.
Steps in preparing a test plan
- Study the Requirements: Read the requirements specification, design documents and any client notes so that every feature and business rule to be verified is understood.
- Define the Test Objectives: Write clear statements of what testing must prove, such as that every workflow completes correctly or that the site stays stable with many users at once.
- Set the Scope: Decide which features and quality aspects will be tested and which are excluded, and agree this with the client.
- Describe the Test Environment: Specify the hardware, software, browsers, devices and network conditions to be used, and the tools and test accounts that will be needed.
- Assign Roles and Prepare the Schedule: Name who performs, reviews and approves each activity, and set start and end dates that fit the project timeline.
- Identify Risks and Set Criteria: List what could disrupt testing, plan how to respond, and write the entry and exit criteria for testing.
- Write Test Cases and Scenarios: Develop detailed test cases linked to the requirements, with inputs, steps and expected results.
- Review and Approve the Plan: Circulate the draft to developers and the client, correct gaps, and obtain sign-off before testing begins.
Scope of the test plan
The scope defines boundaries for testing, specifying what will and will not be tested, which is vital to focus resources effectively in environments with limited budgets such as county government projects.
- Functional Testing: Specifies which features such as user registration, data entry forms, and payment gateways will be tested to verify correct operation.
- Non-Functional Testing: Includes performance, usability, security, and compatibility testing to ensure the application performs well under expected conditions.
- Exclusion Criteria: Clearly states any features or modules that are out of scope, which might include third-party integrations not yet available or features planned for future releases.
- Data Requirements: Identifies the test data needed, such as dummy user accounts or transaction records, to simulate real-world usage scenarios.
Components of a website application test plan
A comprehensive test plan contains several key components that collectively guide the testing process. Each component plays a distinct role in ensuring that testing is thorough, well-organized, and aligned with project objectives.
- Test Objectives: Clear statements of what the testing process intends to accomplish, such as verifying all workflows function correctly or ensuring the site handles concurrent users without failure.
- Test Criteria: Defines entry and exit criteria that specify when testing should start and under what conditions it can be considered complete, ensuring that tests do not begin prematurely or end before all critical issues are resolved.
- Test Deliverables: Lists all documents and reports to be produced during and after testing, including test cases, defect logs, and final test summary reports that support accountability and traceability.
- Test Schedule: A timeline detailing when each testing activity will occur, helping teams coordinate efforts and meet project deadlines, particularly important in fast-paced commercial environments like retail e-commerce.
- Test Environment: Describes the hardware, software, network configurations, and tools required for testing, together with the platforms, browsers, and devices to be used. This ensures that testers replicate real user conditions as closely as possible, from desktop computers in offices to mobile devices in rural areas.
- Roles and Responsibilities: Specifies who is responsible for each testing activity, facilitating clear accountability among ICT technicians, developers, and quality assurance personnel.
- Risk Management: Identifies potential risks to the testing process and outlines mitigation strategies, such as contingency plans for hardware failures or delays in test data preparation.
- Test Cases and Scenarios: Detailed descriptions of test inputs, execution steps, expected results, and acceptance criteria that enable systematic validation of each feature or function.
Developing test cases and scenarios
Test cases and scenarios are the practical tools that implement the test plan by detailing specific conditions and expected outcomes. For Kenyan ICT technicians, well-crafted test cases ensure that testing is repeatable, measurable, and comprehensive across diverse user requirements.
Example of a test case for a student portal login page:
| Test ID |
Requirement |
Steps |
Input |
Expected result |
| TC-01 |
Registered students can log in |
Open login page, enter details, click Login |
Valid admission number and password |
Student dashboard is displayed |
| TC-02 |
Invalid logins are rejected |
Open login page, enter details, click Login |
Valid admission number and wrong password |
Error message is shown and no access is given |
Characteristics of effective test cases
- Clear and Concise: Each test case should be written in simple language to avoid ambiguity and ensure it can be understood by all team members, including those with varying levels of English proficiency.
- Traceable: Test cases must link back to specific requirements or features to verify that all aspects of the website application are covered.
- Reproducible: Steps provided must be detailed enough to allow testers to execute the test consistently and obtain comparable results.
- Comprehensive: Test cases should cover positive scenarios (valid inputs) and negative scenarios (invalid inputs or error conditions) to fully assess application robustness.
- Prioritized: Tests are categorized by importance or risk level, allowing teams to focus on critical functionality first, which is crucial when time or resources are limited.
Creating test scenarios
- User Interaction Flows: Scenarios simulate typical user journeys such as account registration, product search, or booking appointments to verify end-to-end functionality.
- Boundary Conditions: Test scenarios examine limits of input fields, such as maximum text length or numeric ranges, to detect input validation weaknesses.
- Error Handling: Scenarios include invalid data entries, network interruptions, or incorrect user actions to confirm the application handles errors gracefully.
- Security Checks: Scenarios test for unauthorized access attempts, data encryption, and session management to ensure compliance with data protection regulations like Kenya’s Data Protection Act.
- Performance Situations: Scenarios simulate multiple users accessing the site simultaneously or uploading large files to assess responsiveness and stability.
Practice Questions
- Explain the purpose and scope of a website application test plan and why they are important in the Kenyan ICT context. (10 marks)
- List and describe five key components of a website application test plan. (10 marks)
- Discuss the characteristics of effective test cases and how they contribute to successful website testing. (10 marks)
- Outline six steps involved in executing a website application test plan and explain the significance of each step. (12 marks)
The rest of this chapter
🔒Create a free account to open more of this chapter.
Free: practical guides, quick cards, workplace scenarios and more.
Create a free account 🔒5.2 Website application testing techniques selection
Selecting appropriate testing techniques for a website application is a critical phase in the development lifecycle of ICT projects in Kenya. Testing ensures that the application meets both functional and non-functional requirements before deployment. For ICT…
🔒5.3 Website Application Testing
In the Kenyan ICT sector, especially for ICT Technicians working in dynamic environments such as county government offices, banks, and universities, website application testing is a critical phase in development. Testing ensures that the website functions corr…
🔒5.4 Test report development
In Kenya’s ICT sector, documenting the results of website application testing is pivotal for transparency, quality assurance, and project tracking. A well-structured test report enables ICT technicians and stakeholders such as project managers, clients, and de…
Chapter Summary
This chapter focused on the systematic approach to testing a website application, beginning with the development of a comprehensive test plan that outlines the objectives, scope, resources, and schedule for testing activities. It then explored the selection of appropriate testing techniques, emphasizing the importance of choosing methods that align with the application’s features and project requirements. The chapter detailed the actual process of website application testing, including executing test cases and identifying defects to ensure functionality, usability, and performance meet expectations. Finally, it covered the creation of a test report that documents the testing outcomes, highlights issues found, and provides recommendations for improvements. Together, these topics provide a structured framework for validating website applications effectively and ensuring quality delivery.
Self-Assessment
🔒 PDFDownload this self-assessment, with answers
A. Written Assessment
- What is the primary purpose of a website application test plan? (2 marks)
- List four key components that should be included in a website application test plan. (4 marks)
🔒20 more in this section.
Chapter Examination Questions
🔒 PDFDownload these examination questions, with worked answers
SECTION A (40 Marks) - Answer ALL Questions
- Define a website application test plan and explain its importance in ensuring quality for a banking website such as KCB online banking. (4 marks)
- List and briefly describe four common website application testing techniques suitable for testing an e-commerce website like Jumia Kenya. (4 marks)
🔒18 more in this section.
Chapter Practical Activities
Practical 1: Develop a Website Application Test Plan for E-Commerce Site
Information Communication Technology · Level 6
Website Application
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)
Type: Individual
INSTRUCTIONS TO CANDIDATE:
1. You are required to perform the following task:
i. Prepare a detailed website application test plan document covering objectives, scope, resources, schedule, and deliverables with a minimum length of 4 pages.
2. You have been provided with the following resources for the practical task:
| Tools & Equipment | Materials |
|---|
| Computer with internet access | Project documentation of the e-commerce website application |
| Office suite software | |
| Test management tool | |
⬇ PDFResources Required (Cutting List)
| S/N | Item | Quantity |
|---|
| 1 | Computer with internet access | 1 Pc per Candidate |
| 2 | Office suite software (e.g. Microsoft Word or LibreOffice Writer) | 1 Licence per Candidate |
| 3 | Project documentation of the e-commerce website application | 1 Set per Candidate |
| 4 | Access to test management tool (e.g. TestRail or Excel template) | 1 Access per Candidate |
⬇ PDFAssessor Guide
| Items to be Evaluated | Marks Available | Marks Obtained | Comments |
|---|
| TASK 1: Test Plan Preparation |
Started computer and opened required software tools (Award 2 marks or 0) | 2 | | |
Reviewed project documentation to understand application features (Award 4 marks or 0) | 4 | | |
Defined clear test objectives aligned with application requirements (Award 6 marks or 0) | 6 | | |
Specified test scope including included and excluded features (Award 5 marks or 0) | 5 | | |
Identified and listed required resources including personnel, tools, and environments (Award 5 marks or 0) | 5 | | |
Prepared a realistic test schedule with timelines and milestones (Award 5 marks or 0) | 5 | | |
Outlined expected deliverables such as test cases, defect reports, and test summary (Award 5 marks or 0) | 5 | | |
Formatted and organized the test plan document professionally (Award 3 marks or 0) | 3 | | |
| Sub-Total | 35 | | |
| PRODUCT CHECKLIST |
Test plan document completeness, clarity, and alignment with requirements (Award 15 marks or 0) | 15 | | |
| Sub-Total | 15 | | |
| GRAND TOTAL | 50 | | |
ASSESSMENT OUTCOME: ☐ Competent ☐ Not Yet Competent (competent if at least 50%)
Practical 2: Select appropriate testing techniques for a website application
Information Communication Technology · Level 6
Website Application
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)
Type: Individual
INSTRUCTIONS TO CANDIDATE:
1. You are required to perform the following task:
i. Evaluate and select suitable functional, usability, performance, and security testing techniques for a website application of at least 5 webpages.
2. You have been provided with the following resources for the practical task:
| Tools & Equipment | Materials |
|---|
| Computer running Windows 10 or higher | Sample website application files |
| Integrated Development Environment (IDE) or Text Editor | |
| Web Browser (Chrome or Firefox) | |
| Local web server (XAMPP or WAMP) | |
| Internet access for research | |
⬇ PDFResources Required (Cutting List)
| S/N | Item | Quantity |
|---|
| 1 | Computer running Windows 10 or higher | 1 Pc per Candidate |
| 2 | Integrated Development Environment (IDE) or Text Editor | 1 Pc per Candidate |
| 3 | Web Browser (Chrome or Firefox) | 1 Pc per Candidate |
| 4 | Local web server (XAMPP or WAMP) | 1 Pc per Candidate |
| 5 | Sample website application files | 1 Set per Candidate |
| 6 | Internet access for research | Sufficient for all Candidates |
⬇ PDFAssessor Guide
| Items to be Evaluated | Marks Available | Marks Obtained | Comments |
|---|
| TASK 1: Preparation and setup |
Started local web server (XAMPP or WAMP) correctly (Award 2 marks or 0) | 2 | | |
Loaded the sample website application on the local server (Award 3 marks or 0) | 3 | | |
Opened website application in a web browser (Award 2 marks or 0) | 2 | | |
| Sub-Total | 7 | | |
| TASK 2: Selection and application of testing techniques |
Identified and applied functional testing techniques (Award 6 marks or 0) | 6 | | |
Identified and applied usability testing techniques (Award 5 marks or 0) | 5 | | |
Identified and applied performance testing techniques (Award 5 marks or 0) | 5 | | |
Identified and applied security testing techniques (Award 5 marks or 0) | 5 | | |
| Sub-Total | 21 | | |
| TASK 3: Documentation and reporting |
Prepared a concise report summarizing chosen testing techniques and rationale (Award 6 marks or 0) | 6 | | |
Included recommendations for further testing or improvements (Award 4 marks or 0) | 4 | | |
| Sub-Total | 10 | | |
| PRODUCT CHECKLIST |
Report clearly documents selected testing techniques with appropriate examples (Award 8 marks or 0) | 8 | | |
Testing performed demonstrates correct application of techniques on the website (Award 4 marks or 0) | 4 | | |
| Sub-Total | 12 | | |
| GRAND TOTAL | 50 | | |
ASSESSMENT OUTCOME: ☐ Competent ☐ Not Yet Competent (competent if at least 50%)
🔒Perform Functional Testing on a Website ApplicationPractical 3
🔒Conduct usability testing on a website applicationPractical 4
🔒Perform Performance Testing on a Website ApplicationPractical 5
🔒Conduct Security Testing on a Website ApplicationPractical 6
🔒Document test results in a formal website application test reportPractical 7
🔒Analyze test outcomes and suggest improvements for a website applicationPractical 8
🔒Integrate test plan and execute comprehensive testing of a website applicationPractical 9
🔒Prepare a Combined Test Report for Website Application TestingPractical 10