Software Development  ·  Level 6
Web Application Development
Chapter 3: To test web application
📚 4 Topics
⚑ What you will be able to do

By the end of this chapter, you will be able to:

  • Identify different types of web application testing based on user requirements.
  • Develop a detailed web application test plan following the correct procedures.
  • Test the web application thoroughly according to your test plan.
  • Prepare a clear and complete test report following the required procedures.

These skills will help you ensure web applications work smoothly and meet users’ needs, making you a valuable developer in the real world.

Testing web applications is a critical phase in the software development lifecycle, ensuring that applications function correctly, securely, and efficiently before deployment. In Kenya's rapidly growing digital economy, where web applications serve banks, government agencies, and e-commerce platforms, thorough testing prevents costly failures and protects user data. This chapter explores the types of web application testing, the structure of a comprehensive test plan, and the key considerations for test environments, scope, and schedules tailored to professional software developers.

3.1 Web Application Testing Types

Web application testing encompasses various approaches to validate different aspects of the application, from functionality to security. Testing in Kenyan software firms such as Safaricom or county government digital portals requires a blend of automated and manual techniques to cater to diverse user scenarios and network environments. Understanding these types equips developers to design robust applications that meet user expectations and regulatory requirements.

3.1.1 Functional Testing

Functional testing verifies that the web application performs according to its specified requirements. It focuses on user interactions, input validation, business logic, and output correctness. For example, a banking web portal at Equity Bank must correctly process transactions, display accurate account balances, and enforce user permissions. Functional testing ensures that every feature works as intended across different browsers and devices.

Key aspects of functional testing include:

  • Requirement validation: Ensuring each feature meets documented specifications.
  • Input field testing: Checking form validations, mandatory fields, and error messages.
  • User interface behavior: Confirming buttons, links, and navigation operate smoothly.
  • Data processing: Verifying calculations and data storage reflect expected results.
  • Cross-browser compatibility: Testing on popular browsers like Chrome, Firefox, and Edge to guarantee consistent functionality.

3.1.2 Performance Testing

Performance testing assesses how the web application behaves under various load conditions. It is essential for applications in Kenyan e-commerce platforms like Jumia, where traffic spikes during sales can strain server resources. This testing identifies bottlenecks, measures response times, and evaluates scalability to ensure users experience fast and reliable service.

Performance testing focuses on:

  • Load testing: Simulating expected user traffic to observe system behavior.
  • Stress testing: Pushing beyond normal load limits to find breaking points.
  • Scalability testing: Determining the application's ability to expand resources.
  • Response time measurement: Tracking how quickly pages and transactions complete.
  • Resource usage analysis: Monitoring CPU, memory, and network consumption during peak loads.

3.1.3 Security Testing

Security testing protects web applications from vulnerabilities that could lead to data breaches or unauthorized access. Kenyan government portals handling citizen data, such as Huduma Centres online services, must undergo rigorous security testing to comply with data protection laws like the Data Protection Act 2019. This testing uncovers risks like SQL injection, cross-site scripting (XSS), and authentication flaws.

Critical components of security testing include:

  • Vulnerability scanning: Automated tools identify known security weaknesses.
  • Penetration testing: Ethical hackers simulate attacks to expose vulnerabilities.
  • Authentication and authorization checks: Ensuring only legitimate users access sensitive features.
  • Session management testing: Verifying secure handling of user sessions and cookies.
  • Data encryption validation: Confirming sensitive data is encrypted in transit and storage.

3.1.4 Usability Testing

Usability testing evaluates the user experience, ensuring the web application is intuitive and accessible. In Kenya's diverse linguistic and cultural landscape, applications like county government service portals must cater to users with varying digital literacy levels. Usability testing involves real users interacting with the system to identify navigation issues, confusing layouts, or accessibility barriers.

Usability testing examines:

  • Ease of navigation: Checking menu structures and link clarity.
  • Content readability: Ensuring language and instructions are clear and concise.
  • Accessibility compliance: Verifying support for screen readers and keyboard navigation.
  • User satisfaction: Gathering feedback on overall experience and design.
  • Error recovery: Assessing how easily users can correct mistakes or recover from errors.

Practice Questions

  1. Explain five key aspects of functional testing and their importance in a web application used by a Kenyan bank. (10 marks)

  2. Describe how performance testing can be applied to an e-commerce website operating in Kenya. (8 marks)

  3. Identify five common security vulnerabilities tested for in Kenyan government web portals and explain their potential impact. (10 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
🔒3.2 Web Application Test Plan

A well-structured test plan guides the testing process, ensuring coverage, consistency, and efficient use of resources. Software development teams in Kenya’s tech hubs like Nairobi and Mombasa rely on detailed test plans to coordinate activities among develope…

🔒3.3 Web Application Testing Tools

Web application testing tools are essential for ensuring that software delivered to users in Kenya’s evolving digital landscape is reliable, secure, and performs optimally. From startups in Nairobi’s tech hubs to government digital services in county offices,…

🔒3.4 Test report preparation

Test reports are a critical deliverable in the web application development lifecycle. In Kenya’s fast-growing software sector, clear and comprehensive test reports help development teams, quality assurance professionals, and project stakeholders understand the…

Chapter Summary

This chapter explored the various types of web application testing, emphasizing their roles in ensuring functional, performance, security, and usability standards are met. It detailed the components of a comprehensive web application test plan, including the definition of the test environment, the scope of testing activities, and the scheduling of test execution. The chapter also reviewed a range of testing tools suited to different purposes such as performance evaluation, functional verification, security assessment, cross-browser compatibility, mobile web testing, and usability analysis with tools like Google Analytics. Attention was given to how these tools support effective testing strategies tailored to diverse application needs. Lastly, the chapter covered the preparation of test reports, explaining their types and the importance of clear documentation for communicating test outcomes and guiding further development efforts. This structured approach to testing underpins the delivery of reliable and user-friendly web applications.

Self-Assessment

🔒 PDFDownload this self-assessment, with answers

A. Written Assessment

  1. What is the primary purpose of functional testing in web application development? (2 marks)
  2. Identify three key components that must be included in a web application test plan. (3 marks)
🔒20 more in this section.

Chapter Examination Questions

🔒 PDFDownload these examination questions, with worked answers

SECTION A (40 Marks) - Answer ALL Questions

  1. Explain the difference between functional and performance testing in web application development, illustrating your answer with an example from a Kenyan SACCO’s online platform. (4 marks)
  2. Identify and describe three key components of a web application test plan. (4 marks)
🔒18 more in this section.

Chapter Practical Activities

Practical 1: Identify and Classify Web Application Testing Types

Software Development · Level 6
Web Application Development
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 report classifying five different types of web application testing with practical examples, each with an explanation of its purpose and scope, formatted on A4 paper.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
Computer with internet access and browserSample web application source code (HTML, CSS, JavaScript files)
Text editor (e.g. Visual Studio Code, Sublime Text)Printing paper
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Computer with internet access and browser1 Pc per Candidate
2Text editor (e.g. Visual Studio Code, Sublime Text)1 Pc per Candidate
3Sample web application source code (HTML, CSS, JavaScript files)1 Set per Candidate
4Printing paper5 Sheets per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Identification and Classification of Testing Types
Candidate accesses and reviews the sample web application source code
(Award 2 marks for accessing and reviewing the source files correctly)
2
Candidate identifies and lists five different types of web application testing
(Award 1 mark for each correctly identified testing type: Functional, Usability, Performance, Security, Compatibility)
5
Candidate provides a practical example for each testing type
(Award 1 mark for each relevant and clear practical example for the testing types)
5
Candidate explains the purpose and scope of each testing type clearly
(Award 1 mark for each clear and accurate explanation)
5
Candidate organizes the report logically and formats it properly on A4 paper
(Award 3 marks for a well-organized, complete, and legible report)
3
Sub-Total20
PRODUCT CHECKLIST
Report contains all five testing types correctly named, with examples and explanations
(Award 5 marks if report includes all required elements accurately)
5
Report is neatly formatted, printed on A4 paper, and free from spelling or grammatical errors
(Award 5 marks for neat presentation and correct language usage)
5
Sub-Total10
GRAND TOTAL30
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)

Practical 2: Develop a detailed test plan for a web application

Software Development · Level 6
Web Application Development
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Develop a web application test plan document of at least 3 pages detailing test scope and schedule for the given e-commerce web application.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
Computer with internet access and text editorWeb application specification document
Printing paper
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Computer with internet access and text editor1 Pc per Candidate
2Web application specification document1 Set per Candidate
3Printing paper10 Sheets per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Prepare test plan document
Read and understood the web application specification document
(Award 2 marks)
2
Defined clear test objectives and scope including inclusion and exclusion criteria
(Award 4 marks)
4
Outlined detailed test schedule with timelines for all test phases
(Award 4 marks)
4
Included resource requirements and dependencies in the plan
(Award 2 marks)
2
Formatted and organized the test plan document professionally over at least 3 pages
(Award 3 marks)
3
Sub-Total15
PRODUCT CHECKLIST
Test plan document completeness and clarity including scope and schedule accuracy
(Award 10 marks)
10
Sub-Total10
GRAND TOTAL25
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)
🔒

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒Set up a test environment for web application testingPractical 3
🔒Install and Use Web Application Testing Tools for Basic Functional TestingPractical 4
🔒Conduct performance testing on a web application using Apache JMeterPractical 5
🔒Perform Functional Testing on a Web Application Using SeleniumPractical 6
🔒Perform Security Testing on a Web Application Using Specialized ToolsPractical 7
🔒Conduct Cross-Browser Testing for a Web ApplicationPractical 8
🔒Perform Mobile-Web Application Testing Using Mobile Testing ToolsPractical 9
🔒Apply Google Analytics for Usability Testing of a Web ApplicationPractical 10
🔒Prepare a web application test report for a given web applicationPractical 11
🔒Identify and Create Different Types of Test Reports for a Web ApplicationPractical 12
🔒Integrate Test Plan and Setup Test Environment for Web ApplicationPractical 13
🔒Schedule and organize web application testing activitiesPractical 14
Flashcards 20 cards Study deck ▾
Question
1

↻ Tap card to reveal answer
🔒

18 more in this section.

Create a free account
Test Yourself 16 questions Start quiz ▾
0%
0 / 2
🔒

14 more in this section.

Create a free account
Am I competent?

At the start of this chapter we promised you would be able to:

  • Identify different types of web application testing based on user requirements.
  • Develop a detailed web application test plan following the correct procedures.
  • Test the web application thoroughly according to your test plan.
  • Prepare a clear and complete test report following the required procedures.

Tick each one you can genuinely do.

So, are you there yet?

You're competent when you can confidently do 50% or more of what this chapter promised.

Sign in to record how you're doing.