By the end of this chapter, you will be able to:
These skills will help you ensure desktop applications work reliably and meet user needs, making you a valuable part of any software development team.
Testing desktop applications is a crucial phase in software development that ensures the product meets user expectations and performs reliably in real-world environments. In Kenya, where software solutions often support critical sectors such as healthcare, banking, and education, thorough testing safeguards against costly failures and enhances user satisfaction. This chapter explores how software developers can identify appropriate testing types and prepare effective test plans tailored to project requirements and organizational standards.
Identifying the correct testing types for a desktop application is foundational to delivering a robust product. Different testing approaches target specific quality attributes such as functionality, security, and usability, which vary depending on user needs and project scope. Kenyan software developers working in diverse environments, from county government offices to retail businesses, must understand how to align testing methods with stakeholder expectations to ensure application success.
Testing activities encompass a variety of techniques designed to validate and verify different aspects of a desktop application. These activities range from low-level unit testing to comprehensive acceptance testing and cover both functional and non-functional requirements.
Choosing the right testing types depends on a clear understanding of user requirements and the operational context of the desktop application. In Kenya’s software development landscape, aligning testing strategies with user expectations helps minimize defects and enhances the application's value.
Create a free account to open more of this chapter.
Free: practical guides, quick cards, workplace scenarios and more.
Create a free accountThis chapter explores the comprehensive process of testing desktop applications, beginning with the identification of various testing types such as unit, integration, usability, system, security, performance, and compatibility tests. It emphasizes the importance of selecting appropriate testing types based on specific user requirements to ensure the application meets its intended purpose. The preparation of a detailed test plan is covered next, highlighting key components including objectives, scope, and resources, alongside best practices for aligning the plan with organizational work procedures. The chapter then discusses methods for executing tests, comparing manual and automated approaches, and the necessity of tracking progress and issues throughout the testing phase. Finally, it addresses the preparation of a test report, outlining essential elements such as findings and recommendations, and stresses best practices for accurate and professional documentation of results in accordance with work procedures. Together, these topics provide a structured framework for effective desktop application testing.
Type: Individual
| Tools & Equipment | Materials |
|---|---|
| Computer installed with Visual Studio 2019 | Sample Desktop Application Source Code |
| Rewritable Compact Disc (CD-RW) |
| S/N | Item | Quantity |
|---|---|---|
| 1 | Computer installed with Visual Studio 2019 | 1 Pc per Candidate |
| 2 | Sample Desktop Application Source Code | 1 Copy per Candidate |
| 3 | Rewritable Compact Disc (CD-RW) | 1 Pc per Candidate |
| Items to be Evaluated | Marks Available | Marks Obtained | Comments |
|---|---|---|---|
| TASK 1: Identification of Testing Types | |||
| Opened Visual Studio and loaded the sample desktop application project (Award 2 marks for correctly loading the project) | 2 | ||
| Listed and named at least five different testing types (e.g., Unit Testing, Integration Testing, System Testing, Acceptance Testing, Regression Testing) (Award 1 mark for each correctly identified testing type, max 5 marks) | 5 | ||
| Sub-Total | 7 | ||
| TASK 2: Classification and Explanation of Testing Activities | |||
| Explained the purpose and scope of each identified testing type (Award 1 mark for each correct explanation linked to a testing type) | 5 | ||
| Demonstrated practical examples for at least three testing types within Visual Studio (e.g., created unit tests, ran integration tests, performed system testing on the application) (Award up to 3 marks per practical example, max 8 marks) | 8 | ||
| Saved screenshots of test results and compiled them into a folder on the computer (Award 3 marks for correctly saving and organizing screenshots) | 3 | ||
| Sub-Total | 16 | ||
| TASK 3: Summary and Documentation | |||
| Prepared a brief document summarizing testing types and their activities with practical examples (Award 4 marks for completeness and clarity) | 4 | ||
| Burned the document and screenshots to the provided CD-RW (Award 3 marks for successful burning without errors) | 3 | ||
| Sub-Total | 7 | ||
| PRODUCT CHECKLIST | |||
| Complete list and classification of testing types with accurate explanations (Award 5 marks for accuracy and completeness) | 5 | ||
| Practical demonstration of testing activities with valid test cases and results (Award 7 marks for correct and working practical examples) | 7 | ||
| Organized documentation and backup on CD-RW (Award 5 marks for well-organized documentation and successful backup) | 5 | ||
| Sub-Total | 17 | ||
| GRAND TOTAL | 47 | ||
Type: Individual
| Tools & Equipment | Materials |
|---|---|
| Computer installed with Visual Studio 2019 or later | Project files containing the Student Registration Module source code |
| Rewritable Compact Disc (CD-RW) |
| S/N | Item | Quantity |
|---|---|---|
| 1 | Computer installed with Visual Studio 2019 or later | 1 Pc per Candidate |
| 2 | Project files containing the Student Registration Module source code | 1 Set per Candidate |
| 3 | Rewritable Compact Disc (CD-RW) | 1 Pc per Candidate |
| Items to be Evaluated | Marks Available | Marks Obtained | Comments |
|---|---|---|---|
| TASK 1: Setup Unit Testing Environment | |||
| Opened Visual Studio and loaded the Student Registration Module project (Award 2 marks) | 2 | ||
| Created a new Unit Test project linked to the Student Registration Module (Award 3 marks) | 3 | ||
| Added necessary references for unit testing framework (e.g. MSTest, NUnit) (Award 2 marks) | 2 | ||
| Sub-Total | 7 | ||
| TASK 2: Write Unit Tests for Input Validation | |||
| Wrote test cases to verify that Name field is not empty (Award 3 marks) | 3 | ||
| Wrote test cases to validate Email field format using regular expressions (Award 4 marks) | 4 | ||
| Wrote test cases to ensure Phone Number field contains exactly 10 digits (Award 3 marks) | 3 | ||
| Included test cases to verify that appropriate error messages are triggered on invalid inputs (Award 3 marks) | 3 | ||
| Sub-Total | 13 | ||
| TASK 3: Execute and Document Unit Test Results | |||
| Executed all written unit tests and recorded results (Award 3 marks) | 3 | ||
| Captured at least 3 screenshots showing successful and failed test cases (Award 4 marks) | 4 | ||
| Saved screenshots and test report in a folder on the computer for printing (Award 3 marks) | 3 | ||
| Sub-Total | 10 | ||
| PRODUCT CHECKLIST | |||
| Unit test project correctly created and linked to the Student Registration Module (Award 5 marks) | 5 | ||
| Comprehensive unit test cases covering all validation rules for Name, Email, and Phone Number fields (Award 7 marks) | 7 | ||
| Accurate documentation of test execution results with screenshots (Award 5 marks) | 5 | ||
| Sub-Total | 17 | ||
| GRAND TOTAL | 47 | ||
At the start of this chapter we promised you would be able to:
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.