You are on page 1of 11

Activity 1

Execute manual testing.

● A test plan format is provided to be used by the students.


● Students must execute the test cases step by step and
provide/fill in the empty columns.
● Students are given 3 mins to finish the activity.
Test Plan:
Test case Test Data Expected Result Actual Result

Visit Website Website: Page will show.


http://cms.demo.katalon.com/
my-account/

Login using your Username: customer Will be able to Login


credentials Password: 123456789 successfully.

Click Shop on the n/a Will show the products.


Navbar.

Add to cart the given Flying Ninja Will successfully add to


product on test data. cart.
Continuation of Test cases:
Test case Test Data Expected Result Actual Result

Verify if the product is Flying Ninja The product added is


present on the Cart shown on the cart.

Add to cart the given Happy Ninja Will successfully add to


product on test data. cart.

Verify if the product is Happy Ninja The product added is


present on the Cart shown on the cart.

Add to cart the given Woo Logo Will successfully add to


product on test data. cart.
Continuation of Test cases:
Test case Test Data Expected Result Actual Result

Verify if the product is Woo Logo The product added is


present on the Cart shown on the cart.

Add to cart the given Patient Ninja Will successfully add to


product on test data. cart.

Verify if the product is Patient Ninja The product added is


present on the Cart shown on the cart.

Click proceed to n/a Will redirect to


checkout button. checkout page.

Fill in the billing details. Create your test data Correct data will be
for each field provided.

Click Place order n/a Ordering will be


button. successful.
Automated testing

- is the ability to have a software tool or suite of software tools to test your applications directly without human intervention.
- is a process that validates if software is functioning appropriately and meeting requirements before it is released into
production.
- This software testing method uses scripted sequences that are executed by testing tools.
- Automated testing tools execute examinations of the software, report outcomes and compare results with earlier test
runs.
Benefits of automated testing

Automated testing can boost a QA team's efficiency. Some benefits include:


● Higher accuracy
● Better reporting capabilities
● Increased coverage
● Enhanced resource efficiency
● Improved bug detection
● Increased reusability
Which Test Cases to Automate?
Test cases to be automated can be selected using the following criterion to increase the automation:

● High Risk - Business Critical test cases


● Test cases that are repeatedly executed
● Test Cases that are very tedious or difficult to perform manually
● Test Cases which are time-consuming

The following category of test cases are not suitable for automation:

● Test Cases that are newly designed and not executed manually at least once
● Test Cases for which the requirements are frequently changing
● Test cases which are executed on an ad-hoc basis.
The most important things to consider while selecting the right tools are:

1. The tool must be in your budget. The automation tools are really expensive. So the company should have the budget to
purchase the tool.
Some of open source test automation tools and frameworks:
- Selenium can automate and run test parameters across multiple web browsers and in various programming languages -- such
as C#, Java and Python.
- Robotium helps testers write automatic user acceptance, function and system tests for Android devices.
- Cypress covers end-to-end, integration and unit tests, all within a browser. Cypress allows access to distributed object models
in the browser and provides a debugger for further tests.

1. The tool must support technologies used in your application, If your application is running on mobile, the tool must be able to
execute scripts on mobile.
2. You must have the necessary skilled resources who can use this tool or learn that tool in less time.
3. The tool must have a good reporting mechanism to show the results to stakeholders after each execution.
Automated testing best practices

Automated testing is most beneficial when applied to:


● tests that are performed on different hardware or software configurations or platforms;
● repetitive tests that are used for various builds;
● tests with multiple data sets;
● tests that are impossible to perform manually;
● tests that are too laborious and time consuming when performed manually;
● tests on frequently utilized functionality that introduce conditions which elevate risk; and
● tests that frequently generate human error.
Other best practices include:
● Testing the software early and frequently.
● Choosing the correct automated testing tool.
● Creating automated tests that can resists changes in the user interface (UI).
● Separating the automated testing efforts.

You might also like