You are on page 1of 6

Advance software testing

DA 2

GAGANYA. M

20MIS1126

a) Identify 1 automated testing tool for functional testing and non- functional testing.
Describe the tools along with its features and perform the testing activity with suitable test
cases.

Katalon Studio Overview:

1. Functional Testing:

- UI Testing: Katalon Studio provides a comprehensive set of features for UI testing, making it easy
to create automated tests for web applications, mobile applications, and APIs.

- Test Scripting: It supports both scripting and scripting-free approaches, allowing users with
different levels of expertise to create and execute automated test cases.

- Built-in Keywords: Katalon Studio includes a rich set of built-in keywords for common testing
actions, making test creation efficient.

2. Non-Functional Testing:

- Performance Testing: While Katalon Studio's primary strength is in functional testing, it does
provide some basic capabilities for performance testing. Users can simulate multiple users and
analyze system behavior under load.

3. Key Features:

- Cross-Browser Testing: Katalon Studio supports testing across multiple browsers, ensuring
compatibility.

- Built-in Reporting: It generates detailed reports to help analyze test results and identify issues.

Integration: Katalon Studio integrates with various CI/CD tools like Jenkins, Git, and Jira, facilitating
continuous testing workflows.

- Data-Driven Testing: Supports data-driven testing by integrating with external data sources.

Testing Activity with Suitable Test Cases:


Let's consider a simple example for testing a login functionality of a web application using Katalon
Studio:

Test Case: User Login Test

Test Steps:

1. Open Browser and Navigate to the Login Page:

- Use Katalon Studio's built-in keyword to open a browser and navigate to the login page.

2. Enter Valid Credentials and Click Login:

- Use keywords to input a valid username and password, then click the login button.

3. Verify Successful Login:

- Use assertions to verify that the user is successfully logged in. Check for elements on the
dashboard that confirm a successful login.

4. Logout Test:

- Perform a test to log out the user and verify that the user is redirected to the login page.

5. Negative Test - Invalid Login:

- Test entering invalid credentials and verify that the system displays an appropriate error message.

Non-Functional Test Case: Performance Test

1. Simulate Multiple Users:

- Use Katalon Studio to simulate multiple users accessing the login functionality simultaneously.

2. Analyze Response Time:

- Use Katalon's performance testing features to analyze the response time of the login process
under various load conditions.
Test case script:

import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint

import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase

import static com.kms.katalon.core.testdata.TestDataFactory.findTestData

import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject

import static com.kms.katalon.core.testobject.ObjectRepository.findWindowsObject

import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint

import com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords as CucumberKW

import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile

import com.kms.katalon.core.model.FailureHandling as FailureHandling

import com.kms.katalon.core.testcase.TestCase as TestCase

import com.kms.katalon.core.testdata.TestData as TestData

import com.kms.katalon.core.testng.keyword.TestNGBuiltinKeywords as TestNGKW

import com.kms.katalon.core.testobject.TestObject as TestObject

import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS

import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI

import com.kms.katalon.core.windows.keyword.WindowsBuiltinKeywords as Windows

import internal.GlobalVariable as GlobalVariable

import org.openqa.selenium.Keys as Keys

WebUI.openBrowser('')

WebUI.navigateToUrl('https://www.amazon.in/')

WebUI.click(findTestObject('Object Repository/Page_Online Shopping site in India

Shop Onl_10c5f3/h2_Starting 349 Bestselling headphones'))

WebUI.doubleClick(findTestObject('Object Repository/Page_Online Shopping site in

India Shop Onl_10c5f3/h2_Starting 349 Bestselling headphones'))

WebUI.click(findTestObject('Object Repository/Page_Online Shopping site in India

Shop Onl_10c5f3/h2_Starting 349 Bestselling headphones'))

WebUI.doubleClick(findTestObject('Object Repository/Page_Online Shopping site in

India Shop Onl_10c5f3/h2_Starting 349 Bestselling headphones'))

WebUI.click(findTestObject('Object Repository/Page_Online Shopping site in India

Shop Onl_10c5f3/h2_Starting 349 Bestselling headphones'))


WebUI.click(findTestObject('Object Repository/Page_Online Shopping site in India

Shop Onl_10c5f3/img_Starting 349 Bestselling headphones__f_6670cd'))

WebUI.closeBrowser()

Test case screenshot:

b) Identify 1 test management tool and elaborate on its working model with complete
description of the tool
popular test management tool is Zephyr Scale (formerly known as Zephyr for Jira). It is particularly
well-integrated with Jira, making it a suitable choice for teams using Jira as their project management
and issue tracking tool.

Zephyr Scale Overview:

Working Model and Features:

1. Jira Integration:

- Zephyr Scale seamlessly integrates with Jira, allowing teams to manage their test cycles within the
Jira interface. Test cases, test execution, and results are closely tied to Jira issues.
2. Test Case Management:

- Zephyr Scale provides a comprehensive test case management system, allowing teams to create,
organize, and maintain test cases. Test cases can be linked to user stories or requirements.

3. Test Execution and Results:

- Test cycles can be created within Zephyr Scale to plan and execute tests. Test results can be
recorded and tracked, providing a real-time view of test progress.

4. Agile Testing:

- Zephyr Scale supports agile testing practices by facilitating the creation of test cycles and test
executions within the context of agile boards in Jira.

5. Traceability:

- It offers traceability between test cases and requirements or user stories, ensuring that testing
activities align with project objectives.

6. Custom Fields and Reporting:

- Zephyr Scale allows users to define custom fields for test cases and provides reporting capabilities
to track and analyze test execution results. Customized reports can be generated for stakeholders.

7. Test Automation Integration:

- Zephyr Scale integrates with various test automation tools, enabling teams to seamlessly
incorporate automated test results into their testing workflows.

8. Role-Based Access Control:

- It provides role-based access control, allowing administrators to manage user roles and
permissions to ensure data security.

9. Defect Tracking:

- Zephyr Scale allows for the creation and tracking of defects within the testing workflow. Defects
can be linked to corresponding test cases and Jira issues.

Evaluating Zephyr Scale:


- Jira Ecosystem Integration: Zephyr Scale's strong integration with Jira makes it a preferred choice for
teams already using Jira for project management.

- Collaboration Features: The tool facilitates collaboration among team members through comments,
attachments, and notifications.

- User-Friendly Interface: Zephyr Scale offers an intuitive interface that aligns with the Jira
environment, making it accessible for both technical and non-technical users.

- Scalability: It is scalable and suitable for teams of varying sizes, from small teams to large
enterprises.

- Community and Support: Zephyr has an active community, and the vendor provides documentation
and support resources.

You might also like