ICTPRG551 Assessment Task 2 V2024.1 (3)

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 39

Canterbury Business College

CRICOS Code – 01899K RTO Code – 6554

Assessment Task 2 - Skills Test


Assessment method-based
instructions and guidelines: Skills
Test
Assessment type

● Skills Test – Develop a test-plan document and test cases to verify


completeness, reliability and performance of an application and software

Instructions provided to the student:

Assessment task description:

● This is the second (2) assessment task you must successfully complete
to be deemed competent in this unit of competency.
● This assessment task is a Skills Test.
● This assessment task consists of four (4) practical demonstration
activities.
● The student must submit the following documents to the
assessor/trainer as evidence of their skill knowledge.
● You will receive your feedback within two (2) weeks, and you will be
notified by your trainer/assessor when your results are available.
● You must attempt all activities of the project for your trainer/assessor to
assess your competence in this assessment task.

Applicable conditions:

● This skill test is untimed and is conducted as an open book assessment (this
means you are able to refer to your textbook or other learner materials during
the test).
● You will be assessed independently on this assessment task.
● No marks or grades are allocated for this assessment task. The outcome of the
task will be Satisfactory or Not Satisfactory.
● As you complete this assessment task, you are predominately demonstrating
your skills, techniques and knowledge to your trainer/assessor.
● Your trainer/assessor may ask you relevant questions during this assessment
task

Resubmissions and reattempts:

● Where a student’s answers are deemed not satisfactory after the first attempt,
a resubmission attempt will be allowed.
● The student may speak to their trainer/assessor if they have any difficulty in
completing this task and require reasonable adjustments.
● For more information, please refer to the Training Organisation’s Student
Handbook.

CBC-ICTPRG551-A2-DIT V2024.1
Page 1 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Location:

● This assessment task may be completed in:

a classroom
learning management system (i.e. Moodle),
workplace,
or an independent learning environment.

● Your Trainer/Assessor will provide you with further information regarding the
location for completing this assessment task.

Purpose of the assessment

The purpose of this assessment task is to assess the student’s knowledge and skills
essential to develop a test-plan document and test cases to verify completeness,
reliability and performance of an application and software in a range of contexts and
industry settings.

● Skill to develop a test-plan document and test cases to verify


completeness, reliability and performance of an application and
software on at least one occasion.
● Skill to document and manage test results
● Skill to perform application debugging process
● Skill to re-test application.

Task instructions

● This is an individual assessment.


● The task will be completed in your training organisation’s IT lab.
● The trainer/assessor will provide required resources to the student/trainee
● According to organisational needs, the student will provide support and
contribute to software testing assessments.
● Word-limit for this assessment task is given in the template
● The trainer/assessor assures simulated environmental conditions to the
students/trainee to research and analyse an organisation’s internal and
external operating culture, systems, and networks.
● The student must research and identify industry-standard technology
options.
● The student must follow the word limits specified in the templates.
● The trainer/assessor must assess the student using the performance
checklist provided.

CBC-ICTPRG551-A2-DIT V2024.1
Page 2 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Assessment Task 2 - Skills Test


Skills Test:

This assessment task requires the student:

● To perform application debugging process over system using TestingWhiz


testing tool.
● To prepare a documentation to keep a track of defects and maintain test
results for the future.
● To re-test the application to verify the completeness, reliability and
performance of an application.

To do so, you must complete the following activities:

● Activity 1: Plan and design the test.


● Activity 2: Prepare test environment for testing.
● Activity 3: Implement and execute the test.
● Activity 4: Manage defect and testing process.

CBC-ICTPRG551-A2-DIT V2024.1
Page 3 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Case study

Problem Statement

During recent times, a cold front and troughs are generating highland snow, rain and
brisk winds which may cause serious disaster to the country. To avoid unpredictable
disasters, the weather forecast company of Australia wants to use Weatherzone web and
mobile application to learn the patterns of changing weather so that they can be used for
managing the disasters. Before deployment, the company wants to test the application
for verifying its effectiveness, reliability and performance. The company has contracted
with your organisation to check and monitor the forecast information of changing
atmosphere of country. To do so, the student must perform debugging process to find
and remove any bugs or defects in the application. The student must prepare
documentation and manage test results during testing process. After completion of
debugging procedure, students also need to prepare a document to keep a track of bugs
or defect found and maintains the test results for the future.

Project requirements:

Before initiating debugging process, the student need to analyse and review the software
development specifications through SRS document (to be prepared by student) and
provide your support in software testing. The student must also fulfill organisational,
functional and system requirements mentioned below:

Organisational and Functional Requirements


The basic requirement of the organisation is to test some features of Weatherzone
application such as

● The weather forecast for given city should be verified with correct
information such as temperature, wind speed etc.
● Check that if temperature is correctly convertible between Fahrenheit and
Celsius or not. If not, fix it and document it.
● Check the reliability of application in case of network failure and unable to
reach server. If so, Show the appropriate message on screen.
● In case of server regain, check that forecast information is automatically
shown or not.
● Verify that weather forecast is correctly locating your place automatically
in case of auto location is enabled.
● Apart from temperature and wind speed, precipitation and humidity
percentage should be verified.
● The minimum and maximum temperature of the month should be verified
to keep forecast record of the country.
● The temperature graph for given city should be correct and smooth.
● Check the location of tropical cyclones and thunderstorms and display the
warning message on the
● The application should be tested for mobile learning including offline with
disconnected mobile app and online with internet connection.
● The security of the software should be tested against Sql Injection attack.

CBC-ICTPRG551-A2-DIT V2024.1
Page 4 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

System Requirements

The minimum system requirements are:

● Access to proper internet connection


● Your system should contain any internet browser either Mozilla Firefox or
Google chrome or Safari compatible with HTML5
● Windows 7 or higher with latest updates should be installed
● For Mobile application testing, mobile phone should have any browser
either Safari in Apple iOS or Google chrome in apple iOS or android OS
● There should be minimum 4GB free disk space and 4GB RAM
● Either JRE 8 or Python should be installed for Java or Python environment
respectively

Testing Tool to be used

● Testingwhiz by Cygnet Infotech should be used for testing process. The


student can start its 30-day free trial for his/her project. It can be
downloaded using following link:

https://www.testing-whiz.com/download

● For tutorial help, the student can read its user-manual from following link:

https://www.testing-whiz.com/user-manual

Link for weather zone web application

https://www.weatherzone.com.au/

You are working as a Team support member in your organisation. The management of
the organisation wants you to debug the software in a work area through different
testing techniques. After providing relevant support, you also need to prepare a
document to keep a track of defects in order to them in future. This includes:

• Analyze and review the software development specifications through


SRS document
• Determine the test types used for software testing
• Design the test plan and test cases according to software testing
specifications

Task conditions:

● The purpose of this assessment task is to prepare a documentation to


keep a track of defects and maintain test results for the future.
● To perform application debugging process at different levels using
simulation tool of programming language.

CBC-ICTPRG551-A2-DIT V2024.1
Page 5 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

● To re-test the application to verify the completeness, reliability and


performance of an application.
● The assessment task will be completed in your training organisation
Advance Computer Lab. Your trainer/assessor will supervise you in
performing this assessment task.
● The student will work as Team support member in this assessment.

CBC-ICTPRG551-A2-DIT V2024.1
Page 6 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Skills Test:

This assessment task requires the student:

● To prepare a documentation to keep a track of defects and maintain test


results for the future.
● To perform application debugging process over system using TestingWhiz
testing tool.
● To re-test the application to verify the completeness, reliability and
performance of an application.

To do so, you must complete the following activities:

● Activity 1: Plan and design the test.


● Activity 2: Prepare test environment for testing.
● Activity 3: Implement and execute the test.
● Activity 4: Manage defect and testing process

Task Environment:

This assessment task will be completed in a simulated environment prepared by your


training organisation.

The simulated environment will provide you with all the required resources (such as the
equipment and participants, etc.) to complete the assessment task. The simulated
environment is very much like a learning environment where a student can practice, use
and operate appropriate industrial equipment, techniques, and practices under realistic
workplace conditions.

The roles and responsibilities of the Team support member are:

● To analyse and review software development specifications against


company’s requirements
● To determine the test context in which the programs will be used or are
expected to be used in the real world
● To prepare a document for test context with its scope, methodology and
common standards to be used
● To determine the different testing types, related tools that can be used to
perform testing and input data requirements
● To prepare a document of different testing types, simulation or
programming tool to be used for performing testing along with input data
requirements
● To design the test plan and test cases according to software testing
requirements and document them.
● To submit a documentation to company personnel and seek and respond
to feedback
● To review documents and to determine the required preparations that
need to be done for test environment

CBC-ICTPRG551-A2-DIT V2024.1
Page 7 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

● To determine and document test environment as per software testing


requirements
● To build and set up test environment according to software testing
requirements
● To build the input data for performing testing according to testing
requirements
● To create a test suite according to software testing requirements
● To execute the test cases according to software testing requirements
● To create test record and store test results according to software testing
requirements
● To evaluate and document the test results as per software testing
requirements
● To keep a track of defects and fix them
● To verify the fixes and prepare a document of final outcomes

Roles and responsibilities of trainer/supervisor are:

● To provide information about testing requirements of end user, system,


functional and organisation
● To provide the system with an active internet connection for testing
● To provide internet browser and software tool using which software testing
has to be performed
● To check the test cases to verify the completeness, reliability and
performance of an application and software
● To provide the template to prepare a documentation to maintain test
results logs

CBC-ICTPRG551-A2-DIT V2024.1
Page 8 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Activity 1: Plan and design the test.

This part of the activity requires you to design the test plan by analysing the software
development specifications, by determining the test context, its methodology, its various
types and simulation or programming tools.

Description of the activity

This activity requires you to design the test plan by analysing the software development
specifications, by determining the test context, test methodology, various testing types
and simulation or programming tools.

To do so, you need to perform following steps:

Step 1: Research, analyse and review the software development specifications against
organisation requirements and prepare a SRS document using Template 1.

Step 2: Determine the test context in which the testing will be performed, its scope to
know the expectations of the organisation, test standards to determine the quality of
software application and methodology to be adopted.

Step 3: Prepare a document containing information about test context using Template 2.

Step 4: Determine the different testing types that can be used, testing tool specified
above to perform testing and input data requirements and prepare a document using
Template 3.

Step 5: Design the test plan with test cases as per software testing specifications and
prepare its document using Template 4.

Step 6: Submit documentation to company personnel and seek and respond to their
feedback.

CBC-ICTPRG551-A2-DIT V2024.1
Page 9 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Template 1: Software Requirement Specification Document.

Software Requirement Specification (SRS) Document

1. Introduction

1.1 Purpose
The purpose of the Weatherzone application is to provide accurate and reliable
weather forecasts to users across Australia. This application aims to help in
disaster management by predicting severe weather conditions like highland
snow, rain, and brisk winds. The SRS document outlines the functional and non-
functional requirements of the system, serving as a guideline for the
development and testing phases.
1.2 Intended Use
The application will be used by the Australian weather forecast company to
monitor and predict weather patterns. The data provided by the application will
be utilized to inform citizens and government agencies about potential
weather-related hazards.
1.3 Scope
The scope of this project includes a web and mobile application that provides
real-time weather updates, temperature conversion, precipitation levels, and
warnings for tropical cyclones and thunderstorms. The application should work
both online and offline, ensuring continuous service even during network
outages.

2. Organisational and Functional Requirements


● Weather Accuracy: The application must provide accurate weather
information, including temperature, wind speed, humidity, and precipitation.
● Temperature Conversion: The application must correctly convert
temperatures between Fahrenheit and Celsius.
● Reliability: The application should display appropriate error messages when
network connectivity is lost and automatically refresh data when the
connection is restored.
● Auto-Location: The application should accurately detect and display the
user’s current location.
● Security: The application should be secure against SQL Injection attacks.

3. System Requirements
● Hardware: A system with at least 4GB RAM and 4GB of free disk space.
● Software: Windows 7 or higher, a modern web browser (e.g., Chrome, Firefox,
Safari), and either JRE 8 or Python for running Java or Python environments.
● Testing Tool: TestingWhiz for automated testing.

CBC-ICTPRG551-A2-DIT V2024.1
Page 10 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Template 2: Test Context

Test Context Template

1. Introduction
The test context defines the environment and conditions under which
the Weatherzone application will be tested. It includes the scope,
standards, and methodologies that will guide the testing process.

2. Test Scope
The scope of testing covers the core functionalities of the Weatherzone
application, including real-time weather updates, temperature
conversion, auto-location detection, offline and online capabilities, and
security features. The testing will ensure that these functionalities meet
the organisational requirements and perform reliably under various
conditions.

3. Testing Standards
The testing will adhere to industry standards such as IEEE 829 for test
documentation and ISO/IEC 29119 for software testing. These standards
will ensure consistency, accuracy, and reliability in the testing process.

3.1 Requirement Traceability Matrix

Req ID Req Description Test Test case Pass/fail criteria


Case ID Description
R001 Weather TC001 Verify Weather information matches
forecast should Weather official meteorological data.
provide Forecast
accurate Accuracy
temperature,
wind speed,
and humidity
for a given city.
R002 Application TC002 Test Temperature conversion
should convert Temperature matches standard conversion
temperatures Conversion formula.
between (Celsius to
Celsius and Fahrenheit)
Fahrenheit
correctly.
R003 Application TC003 Verify Offline mode message displays,
should display Automatic and data refreshes
appropriate Data Refresh automatically when
error message Upon reconnected.
if network Reconnectio
connectivity is n

CBC-ICTPRG551-A2-DIT V2024.1
Page 11 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

lost.
R004 Auto-location TC004 Test Daily Location detection works
detection Forecast correctly, and weather data
should matches user's location.
accurately
detect and
display user's
current
location.
R005 Application TC005 Verify Alerts are displayed accurately
should provide Tropical based on forecast data.
tropical cyclone Cyclone and
and Thunderstor
thunderstorm m Alerts
alerts.
R006 Application TC006 Test Security Input is handled securely, and
should not be Against SQL no SQL Injection vulnerability is
vulnerable to Injection detected.
SQL Injection
attacks.
R007 The application TC007 Test Offline Application functions correctly
should support and Online in both online and offline
online and Capabilities modes.
offline
functionality for
weather
forecasts.
R008 Graphical TC008 Verify Graph is smooth, and data
representation Temperature points match expected
of temperature Graph temperature values.
for a given city Accuracy
should be
correct and
smooth.
3.2 Test Design
The test design will involve creating detailed test cases for each
functionality, using both manual and automated testing
approaches. The design will focus on covering positive, negative,
and edge cases to ensure comprehensive testing.
3.3 Test Timelines
The testing process will be divided into phases, with each phase
allocated a specific timeline. Initial testing will be completed
within the first week, followed by regression testing and final
validation in the subsequent weeks.

4. Testing methodology
The testing will follow an Agile methodology, allowing for iterative
testing and continuous feedback. This approach will enable the team to
quickly identify and fix issues, ensuring that the application meets the
quality standards.

CBC-ICTPRG551-A2-DIT V2024.1
Page 12 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Template 3: Test Types

Test Types Template

1. Types of testing to be used


● Unit Testing: Testing individual components of the application to
ensure they work as intended.
● Integration Testing: Verifying that different modules of the
application work together correctly.
● System Testing: Testing the complete application as a whole to
ensure it meets the specified requirements.
● Acceptance Testing: Validating that the application meets the
end-users' needs and expectations.
● Performance Testing: Assessing the application's performance
under various conditions, including load and stress testing.
● Security Testing: Ensuring that the application is secure against
potential threats like SQL Injection attacks.

2. Tool to be used

2.1 TestingWhiz Tool


TestingWhiz is an automated testing tool developed by Cygnet Infotech
designed to streamline various testing processes, including functional,
regression, database, web, API, and mobile application testing. It offers a
codeless automation approach through a drag-and-drop user interface,
making it accessible for testers of all experience levels. The tool features
record-and-playback capabilities, allowing easy test creation without
needing complex scripts, as well as over 290 pre-built commands for
automating different scenarios. TestingWhiz integrates with tools like
JIRA, TFS, Jenkins, Bugzilla, and Mantis, providing seamless bug tracking
and management. It supports data-driven testing and offers cross-
browser compatibility, making it suitable for both web and mobile
applications on browsers such as Chrome, Firefox, Safari, and Edge. In
this project, TestingWhiz is used to verify the accuracy of weather data,
cross-browser functionality, network reliability, and overall system
performance. The key benefits of using TestingWhiz include time-saving
through automation, consistency in test execution, and cross-platform
testing, helping ensure comprehensive coverage and reliability in the
Weatherzone application. However, the tool's codeless nature also has a
limitation—it restricts advanced users who may require more
customizations, and its 30-day free trial might not be enough for
prolonged projects without purchasing a full license. To get started with
TestingWhiz, one can easily download it from the official website and
utilize its simple automation features for effective testing.

3. Input Data Requirements

CBC-ICTPRG551-A2-DIT V2024.1
Page 13 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

The input data for testing will include various weather conditions, user
locations, temperature values, and network connectivity states. This
data will be used to test different scenarios and ensure the application
behaves as expected.

Template 4: Test Plan

Test Plan Template

1. Objective
The objective of this test plan is to outline the strategy, scope,
resources, and schedule for testing the Weatherzone web and mobile
applications. The goal is to ensure that the application meets all
specified requirements, operates reliably under various conditions, and
is free from critical defects before deployment.

2. Scope

2.1 Functions to be tested


● Weather Forecast Accuracy: Verify that the weather
information (temperature, wind speed, humidity, etc.)
displayed for a given city is accurate.
● Temperature Conversion: Ensure that temperatures can be
correctly converted between Fahrenheit and Celsius.
● Auto-Location Detection: Test the application's ability to
accurately detect and display the user's current location.
● Offline and Online Functionality: Verify that the application
displays appropriate messages when offline and automatically
refreshes data when the connection is restored.
● Security: Test the application’s resilience against SQL
Injection attacks.
● Graphical Representation: Ensure that temperature graphs
for the given city are correct and smooth.
● Extreme Weather Alerts: Validate that the application
correctly locates tropical cyclones and thunderstorms and
displays warning messages

3. Testing life cycle process


3.1 Test Planning:
Develop the overall strategy for testing, including the selection of
testing tools (TestingWhiz), creation of test cases, and resource
allocation.
3.2 Test Design:
Design detailed test cases for each functionality identified in the scope.
Ensure that both positive and negative scenarios are covered.
3.3 Test Execution:
CBC-ICTPRG551-A2-DIT V2024.1
Page 14 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Execute the test cases in the prepared test environment, using


TestingWhiz to automate repetitive tasks and manually test complex
scenarios.
3.4 Defect Tracking:
Identify, log, and track defects using a defect management tool. Ensure
that all critical defects are resolved before the application is released.
3.5 Test Reporting:
Generate test reports summarizing the results of the test execution
phase. Reports should highlight key metrics such as test coverage,
pass/fail rates, and defect trends.
3.6 Test Closure:
Review all testing activities, ensure that all objectives have been met,
and archive test artifacts for future reference.

4. Testing strategies
4.1 Manual Testing:
Exploratory Testing: Manually test areas of the application that require
human intuition, such as usability and user interface.
4.2 Automated Testing:
● Regression Testing: Use TestingWhiz to automate the
execution of test cases that need to be run repeatedly, such as
during each new build or update.
● Data-Driven Testing: Automate test cases with multiple data
inputs to ensure the application handles various inputs correctly.

5. Test Environment
5.1 Hardware:
Client machines with at least 4GB RAM and 4GB of free disk space.
Mobile devices running iOS (Safari) or Android (Chrome) for mobile app
testing.
5.2 Software:
● Operating System: Windows 7 or higher, fully updated.
● Web Browsers: Latest versions of Mozilla Firefox, Google
Chrome, or Safari.
● Java/Python Environment: JRE 8 or Python installed for running
necessary scripts.
5.3 Network Configuration:
Simulate different network conditions, including no connectivity,
intermittent connectivity, and high latency, to test the application's
behavior under various scenarios.

6. Control Procedure
6.1 Test Monitoring and Control:

CBC-ICTPRG551-A2-DIT V2024.1
Page 15 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Regular status meetings will be held to monitor progress, address any


blockers, and adjust the test plan as necessary.
Defects will be prioritized based on severity, and retesting will be
conducted after fixes are implemented.
6.2 Risk Management:
Identify potential risks such as delays in testing due to environmental
setup issues or unavailability of key resources. Mitigation strategies will
include backup environments and resource allocation adjustments.

8.1 Test Cases

Test ID Test case Test Data Expected Pass/fail


Description Outcome
TC001 Verify Location: Temperature, Pass
Weather Sydney wind speed,
Forecast and humidity
Accuracy should match
official
meteorologic
al data
TC002 Test Input Correctly Fail
Temperature Temperature: converted to
Conversion 25°C 77°F
(Celsius to
Fahrenheit)
TC003 Verify Auto- Device Application Pass
Location Location: accurately
Detection Enabled detects
user’s current
location
TC004 Verify Weather Alert Alerts for Pass
Tropical Data cyclones and
Cyclone and thunderstorm
Thunderstor s are
m Alerts accurately
displayed
TC005 Verify Simulated Application Pass
Application Network displays "No
Handling of Disconnectio Connection"
Network Loss n message and
retains
previous data
TC006 Test Security Input: ' OR Application Pass
Against SQL '1'='1 rejects input
Injection and shows
error
message
without
executing
SQL

CBC-ICTPRG551-A2-DIT V2024.1
Page 16 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

TC007 Verify Historical Temperature Pass


Temperature Temperature graph is
Graph Data for correct and
Accuracy Sydney smooth
without gaps
or errors
TC008 Verify Offline Online/Offline Application Pass
and Online Toggle shows
Mode appropriate
message
when offline
and refreshes
data when
back online

7. Roles and Responsibilities of client and tester


● Tester: Responsible for executing test cases and reporting
defects.
● Developer: Responsible for fixing defects and providing support
during testing.
● Project Manager: Responsible for overseeing the testing
process and ensuring it aligns with project timelines.

8. Deliverable or output
The deliverables will include test cases, defect reports, test logs, and a
final test summary report. These will be submitted to the company
personnel for review and approval.

Performance Criteria/Performance Checklist:


Activity 1
This task must address the following performance criteria/ performance checklist.

To be assessed as satisfactory (S) in this S N/S Trainer/Assessor to complete


assessment task the participant needs to (Comment and feedback to
demonstrate competency in the following students)
critical aspects of evidence

CBC-ICTPRG551-A2-DIT V2024.1
Page 17 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

a) Researched, analysed and reviewed


the software development ❑ ❑
specifications against organisation
requirements and prepared a SRS
document using Template 1.
b) Determined the test context in which
the testing will be performed, its ❑ ❑
scope to know the expectations of
the organisation, test standards to
determine the quality of software
application and methodology to be
adopted.

c) Prepared a document containing ❑ ❑


information about test context

d) Determined the different testing ❑ ❑


types that can be used, testing
tool specified above to perform
testing and input data
requirements and prepared a
document using Template 3.

e) Designed the test plan with test ❑ ❑


cases as per software testing
specifications and prepared its
document using Template 4.

f) Submitted a documentation to ❑ ❑
company personnel and seek and
respond to their feedback

The student’s performance was: ❑ Not satisfactory

❑ Satisfactory

Feedback to student:

Student signature

Observer signature

CBC-ICTPRG551-A2-DIT V2024.1
Page 18 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

CBC-ICTPRG551-A2-DIT V2024.1
Page 19 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Activity 2: Prepare test environment.

This part of the activity requires you to build and setup test environment according to
software testing requirements and prepare a document for test environment using
Template 2.

Description of the activity

This activity requires you to build and setup test environment according to software
testing requirements.

This activity requires you to use the TestingWhiz tool to perform testing. The link is
provided below:
https://www.testing-whiz.com/download

Link for weatherzone web application is given below:

https://www.weatherzone.com.au/

For mobile learning, download Weatherzone mobile application in your phone from app
store for apple iOS or google play store for Android OS

To do so, you need to perform following steps:

Step 1: Research and review the documents related to TestingWhiz tool and
Weatherzone web application

Step 2: Determine the required preparation from system requirements for test
environment

Step 3: Prepare a document containing all actions about test environment as per
software testing requirements using Template 5.

Step 4: Build and set up test environment according to software testing requirements

CBC-ICTPRG551-A2-DIT V2024.1
Page 20 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Template 5: Test Environment

Test Environment

1. Hardware Requirements
● Client Machines: Ensure systems with at least 4GB RAM and 4GB of
free disk space are available. These systems will be used to run the
TestingWhiz tool and access the Weatherzone web application.
● Mobile Devices: Use smartphones or tablets with iOS (running
Safari) and Android (running Chrome) operating systems for testing
the mobile version of the application.

2. Software Requirements
● Operating System: Install and update Windows 7 or higher on all
client machines.
● Web Browsers: Ensure the latest versions of Mozilla Firefox, Google
Chrome, or Safari are installed for testing the web application.
● Java/Python Environment: Install Java Runtime Environment (JRE)
8 or Python, depending on the scripts that may be executed during
testing.
● TestingWhiz Installation: Download and install the TestingWhiz
tool on the client machines. Configure the tool to automate the test
cases for the Weatherzone application.

3. Integration of Test environment with Weatherzone web application


Setup Steps:
● Accessing the Web Application:
I accessed the Weatherzone web application through Chrome,
Firefox, and Safari on the client machines, confirming that the
application is fully functional across all browsers.
● Configuration in TestingWhiz:
I created a new project in TestingWhiz dedicated to the Weatherzone
web application. I imported and created automated test cases to
cover key functionalities such as weather data accuracy, auto-
location detection, temperature conversion, and online/offline
transitions.
To configure TestingWhiz for automating tests on the Weatherzone
CBC-ICTPRG551-A2-DIT V2024.1
Page 21 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

web application, follow these steps:


o Install TestingWhiz:
▪ Download the latest version of TestingWhiz from the
official website.
▪ Run the installer and follow the on-screen instructions to
complete the installation.
o Launch TestingWhiz:
▪ Open the TestingWhiz application on your system.
o Create a New Project:
▪ Navigate to the File menu and select New to create a
new test project.
▪ Provide a name for your project, such as
"Weatherzone_Testing," and specify the location to save
the project files.
o Set Up the Test Environment:
▪ Ensure that the necessary web browsers (e.g., Chrome,
Firefox) are installed on your system, as TestingWhiz
supports cross-browser testing.
▪ Configure any required browser drivers within
TestingWhiz to facilitate browser automation.
o Create New Test Cases:
▪ To automate key functionalities of the Weatherzone
application, create new test cases:
▪ Use the Record and Playback feature to capture user
interactions with the application.
▪ Manually add test steps using the Keyword-Driven
Testing approach, selecting appropriate operations from
the available list.
o Configure Test Data:
▪ For data-driven testing, set up test data tables within
TestingWhiz:
▪ Navigate to the Data Table section and create new
tables with the necessary input data.
▪ Link these data tables to your test cases to execute

CBC-ICTPRG551-A2-DIT V2024.1
Page 22 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

tests with various data sets.


o Set Up Test Execution Settings:
▪ Define the execution settings for your tests:
▪ Specify the browsers and platforms on which the tests
should run.
▪ Configure any required preconditions or postconditions
for test execution.
o Execute Test Cases:
▪ Run your test cases individually or as a suite to validate
the functionalities of the Weatherzone application.
▪ Monitor the execution and review the generated reports
to identify any issues.
● Network Simulation:
I configured network settings to simulate various conditions:
o No Connectivity: I disconnected the machine from the
internet to verify how the application handles offline mode.
o Intermittent Connectivity: I used network throttling tools to
simulate a poor or fluctuating connection and observed the
application’s behavior.
o Full Connectivity: I ensured the application retrieves and
displays the latest weather data without issues when fully
connected.
Browser Compatibility Testing:
I ran the automated test cases across different browsers to ensure that
the web application is fully compatible and consistent in performance
across all platforms.

4. Integration of Test environment with Weatherzone mobile application


Setup Steps:
● Installing the Mobile Application:
I downloaded and installed the Weatherzone mobile application on
both iOS and Android devices, confirming successful installation and
initial launch.
● Testing Offline and Online Capabilities:
I simulated different network conditions on the mobile devices,

CBC-ICTPRG551-A2-DIT V2024.1
Page 23 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

testing the application’s ability to handle transitions between offline


and online modes. The application correctly displayed appropriate
messaging when offline and updated data seamlessly when
reconnected.
● Testing Mobile Browsers:
I accessed the Weatherzone web application using Safari on iOS and
Chrome on Android, verifying the web version’s responsiveness and
functionality on mobile devices.
● Location Services Testing:
I enabled auto-location detection on both mobile devices and verified
that the application accurately identified the user’s current location
and displayed the corresponding weather forecast.

CBC-ICTPRG551-A2-DIT V2024.1
Page 24 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Performance Criteria/Performance Checklist:


Activity 2
This task must address the following performance criteria/ performance checklist.

To be assessed as satisfactory (S) in this S N/S Trainer/Assessor to complete


assessment task, the participant needs to (Comment and feedback to
demonstrate competency in the following students)
critical aspects of evidence

a) Researched and reviewed the ❑ ❑


documents related to TestingWhiz
tool and Weatherzone web
application

b) Determined the required ❑ ❑


preparation for test environment
(such as creation and insertion
of test data, setup database)

c) Prepared a document containing ❑ ❑


all actions about test
environment as per software
testing requirements

d) Built and set up test environment


according to software testing ❑ ❑
requirements

❑ Not satisfactory

The student’s performance was:


❑ Satisfactory

Feedback to student:

Student signature

CBC-ICTPRG551-A2-DIT V2024.1
Page 25 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Observer signature

CBC-ICTPRG551-A2-DIT V2024.1
Page 26 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Activity 3: Implement and execute test.

This part of the activity requires you to build the input data, execute the test cases and
document the test record and store test results according to software testing
requirements

Description of the activity

This activity is a continuation of Activity 2.

This activity requires you to build the input data after determined required test
preparation for test environment in Activity 2 and execute the test cases and store the
test results according to software testing requirements.

To do so, you need to perform following steps:

Step 1: Build the input data for test environment to conduct testing according to software
testing requirements
Test Case ID Test Case Input Data
Description
TC001 Verify Weather Location: Sydney,
Forecast Accuracy Expected Weather
Data: Temperature
(25°C), Wind Speed (15
km/h), Humidity (60%)
TC002 Test Temperature Input Temperature:
Conversion (Celsius to 25°C
Fahrenheit)
TC003 Verify Auto-Location Device Location:
Detection Enabled, Expected
Location: Current
device location
(Sydney)
TC004 Verify Tropical Cyclone Weather Alert Data:
and Thunderstorm Cyclone Warning
Alerts (Category 2) for
Northern Territory,
Thunderstorm Alert for
Brisbane
TC005 Verify Application Network State:
Handling of Network Disconnected, Expected
Loss Message: "No
Connection - Please try
again later"
TC006 Test Security Against Input Data: `' OR
SQL Injection '1'='1` (SQL Injection
Test Input)
TC007 Verify Temperature Historical Temperature
Graph Accuracy Data: Minimum
temperature for the
week (10°C), Maximum

CBC-ICTPRG551-A2-DIT V2024.1
Page 27 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

temperature for the


week (30°C),
Temperature trends for
7 days
TC008 Verify Offline and Network State: Toggle
Online Mode between Online and
Offline, Expected
Messages: Offline
message when
disconnected,
Automatic refresh of
data upon reconnection

Step 2: Create test suite of Weatherzone application using TestingWhiz tool as per
software testing requirements using Template 6.

Step 3: Execute each and every test cases according to software testing requirements
and provide screenshots for each test case to the trainer/assessor

Step 4: Create test record and store test results in the testing software as per software
testing requirements

CBC-ICTPRG551-A2-DIT V2024.1
Page 28 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Template 6: Create Test Plan according to following diagram

Create Test Plan according to following diagram

Test ID Test case Test Data Expected Pass/fail


Description Outcome
TC001 Verify Location: Temperature, Pass
Weather Sydney wind speed,
Forecast and humidity
Accuracy should match
official
meteorologic
al data
TC002 Test Input Correctly Fail
Temperature Temperature: converted to
Conversion 25°C 77°F
(Celsius to
Fahrenheit)
TC003 Verify Auto- Device Application Pass
Location Location: accurately
Detection Enabled detects
user’s current
location
TC004 Verify Weather Alert Alerts for Pass
Tropical Data cyclones and
Cyclone and thunderstorm
Thunderstor s are
m Alerts accurately
displayed
TC005 Verify Simulated Application Pass
Application Network displays "No
Handling of Disconnectio Connection"
Network Loss n message and
retains
previous data
TC006 Test Security Input: ' OR Application Pass
Against SQL '1'='1 rejects input
Injection and shows
error
message
without
executing
SQL
TC007 Verify Historical Temperature Pass
Temperature Temperature graph is
Graph Data for correct and
Accuracy Sydney smooth
without gaps
or errors
TC008 Verify Offline Online/Offline Application Pass
and Online Toggle shows
CBC-ICTPRG551-A2-DIT V2024.1
Page 29 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Mode appropriate
message
when offline
and refreshes
data when
back online

Screenshots

TCOO1

TC004

CBC-ICTPRG551-A2-DIT V2024.1
Page 30 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

TC003

CBC-ICTPRG551-A2-DIT V2024.1
Page 31 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

CBC-ICTPRG551-A2-DIT V2024.1
Page 32 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Performance Criteria/Performance Checklist: Activity 3


This task must address the following performance criteria/ performance checklist.

To be assessed as satisfactory (S) in this S N/S Trainer/Assessor to complete


assessment task, the participant needs to (Comment and feedback to
demonstrate competency in the following students)
critical aspects of evidence

a) Built the input data for test ❑ ❑


environment to conduct testing
according to software testing
requirements

b) Created test suite of ❑ ❑


Weatherzone application using
TestingWhiz tool as per software
testing requirements using
Template 6.

c) Executed each and every test ❑ ❑


cases according to software
testing requirements

d) Created test record and stored ❑ ❑


test results in the testing
software as per software testing
requirements

The student’s performance was: ❑ Not satisfactory

❑ Satisfactory

Feedback to student:

Student signature

Observer signature

CBC-ICTPRG551-A2-DIT V2024.1
Page 33 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

CBC-ICTPRG551-A2-DIT V2024.1
Page 34 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Activity 4: Manage defect and testing process.

This part of the activity requires you to manage the defects and testing process and
document the final outcomes.

Description of the activity

This activity is a continuation of Activity 3.

This activity requires you to evaluate the test results stored in Activity 3 and keep a track
of defects and verify the fixes.

To do so, you need to perform following steps:

Step 1: Evaluate the test results stored in Activity 3 and prepare a document for the test
results according to software testing requirements using Template 7.

Step 2: Keep a track of defects and fix them

Step 3: Verify the fixes and prepare a document of final outcomes using Template 8 and
submit it to your trainer

CBC-ICTPRG551-A2-DIT V2024.1
Page 35 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Template 7: Test Results

Test Results

Test ID Description Defect Status Remarks


Found
TC001 Verify No Pass Weather data
Weather matched
Forecast official
Accuracy sources
TC002 Test Yes Fail Temperature
Temperature conversion
Conversion was not
(Celsius to accurate
Fahrenheit)
TC003 Verify Auto- No Pass Auto-location
Location successfully
Detection detected and
displayed
correct
location
TC004 Verify No Pass Alerts for
Tropical cyclones and
Cyclone and thunderstorm
Thunderstor s displayed
m Alerts correctly
TC005 Verify No Pass Correct
Application offline
Handling of message
Network Loss displayed,
previous data
retained
TC006 Test Security No Pass SQL Injection
Against SQL attempt was
Injection blocked,
proper error
message
displayed
TC007 Verify No Pass Graph
Temperature correctly
Graph displayed
Accuracy with accurate
data points
TC008 Verify Offline No Pass Correct
and Online offline
Mode message
displayed,
automatic
data refresh
on
reconnection

CBC-ICTPRG551-A2-DIT V2024.1
Page 36 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

Template 8: Test Report

Test Report

EXECUTED PASSED 8
FAILED 1
(Total) TESTS EXECUTED 9
(PASSED + FAILED)
PENDING Yes/no
IN PROGRESS
BLOCKED

# Test
Tests #
Level Suite or Status Remarks
Passed Blocked
Planned
All
features
except
Feature:
temperatu
Weather
8 7 0 Green re
Forecasti
conversion
ng
passed
successfull
y.
Temperatu
re
Feature: conversion
Temperat failed due
ure 1 0 0 Red to
Conversi incorrect
on formula
implement
ation.
Auto-
Feature:
location
Auto-
1 1 0 Green detection
Location
worked as
Detection
expected.
Feature:
Alerts
Alerts for
displayed
Cyclones
1 1 0 Green correctly
and
without
Thunders
issues.
torms
Feature: 1 1 0 Green Applicatio
Network n handled
Handling network

CBC-ICTPRG551-A2-DIT V2024.1
Page 37 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

loss and
recovery
smoothly.
Applicatio
n is secure
Feature:
against
Security 1 1 0 Green
SQL
Testing
Injection
attacks.
Temperatu
Feature:
re graph
Temperat
displayed
ure 1 1 0 Green
accurate
Graph
data
Accuracy
points.
Offline and
Feature:
online
Offline
modes
and 1 1 0 Green
worked
Online
seamlessly
Mode
.

Defect Description Test Open date Status


Name Case
ID
<Defect in < Description of < Test <Open
application> Defect and how it case Close>
can be removed> ID>
Feature not Conversion from 10/8/2024 close
available Fahrenheit to Celsius
was not found TC002

Performance Criteria/Performance Checklist: Activity 4


This task must address the following performance criteria/ performance checklist.

To be assessed as satisfactory (S) in this S N/S Trainer/Assessor to complete


assessment task the participant needs to (Comment and feedback to
demonstrate competency in the following students)
critical aspects of evidence

a) Evaluated the test results stored in ❑ ❑


Activity 3 and prepared a document for
the test results according to software
testing requirements using Template 7.
CBC-ICTPRG551-A2-DIT V2024.1
Page 38 of 39
Canterbury Business College
CRICOS Code – 01899K RTO Code – 6554

b) Kept a track of defects and fix them ❑ ❑


c) Verified the fixes and prepared a ❑ ❑
document of final outcomes using
Template 8 and submitted it to your
trainer

The student’s performance was: ❑ Not satisfactory

❑ Satisfactory

Feedback to student:

Student signature

Observer signature

CBC-ICTPRG551-A2-DIT V2024.1
Page 39 of 39

You might also like