Testing project (basic)

19
HP Software Testing Project Presented by : Lokesh Singrol

Transcript of Testing project (basic)

Page 1: Testing project (basic)

HP Software Testing Project

Presented by : Lokesh Singrol

Page 2: Testing project (basic)

Testing is the process of executing a program with the intent of finding errors and verifying that the program satisfies the specified requirements

Testing is done for following reasons: To detect errors in a software product To verify that a software product conforms to its

requirements To establish confidence that a program or system does

what it is supposed to do To evaluate an attribute or capability of a software product

and determine that it meets the required results

What is testing?

Page 3: Testing project (basic)

Types of testing Based on test execution, testing can be classified into two categories. Manual Testing: Manual testing is a testing technique where

the test engineer prepare test cases manually and execute them to identify defect in the software.

Automation Testing: Automating software testing involves developing test scripts using scripting languages such as Python, Java script or TCL(Tool Command Language), so that test cases can be executed by computers with minimal human intervention and attention.

Page 4: Testing project (basic)

Unified functional testing UFT is a combined solution for GUI and API service testing. UFT enables testing functionality across multiple layers, such as the

front-end GUI layer as well as back-end service layers. UFT helps you to cut time-to-market by starting automated functional

testing earlier in your process. GUI Testing: UFT’s GUI testing solution deploys the concept of keyword-driven testing

to enhance test creation and maintenance. Keyword-driven testing is a technique that separates much of the

programming work from the actual test steps. Using the keyword-driven approach, test automation experts have full

access to the underlying test and object properties.

Page 5: Testing project (basic)

Desktop based Application

Page 6: Testing project (basic)

Working with UFT toolStep 1: click the application.Step 2: select add-in i.e.(Web, Active-X etc.).Step 3: click file-> new test -> give the name -> click create.Step 4: set up recording.Step 5: start recording of an application.Step 6: after recording VB script will be generated.Step 7: Run and check result.

Page 7: Testing project (basic)

Action Flow :

Page 8: Testing project (basic)

Login into application:

Description –

Manual testing is the process of manually testing software for defects. It requires a tester to play the role of an end user and use most of all features of the application to ensure correct behaviour.

Page 9: Testing project (basic)

Booking flight :

Page 10: Testing project (basic)

Generated VB script of an application :

Page 11: Testing project (basic)

Result View of the generated script :

Page 12: Testing project (basic)

Test Cases for login page :

Page 13: Testing project (basic)

Application Lifecycle Management ALM is a set of pre-defined processes that start somewhere in the business as an

idea, a need, a challenge or a risk and then pass through different development phases such as Requirements definition, design, development, testing, deployment, release and maintenance spanning across an entire lifecycle of a product. Throughout the ALM process, each of these steps is closely monitored and controlled, followed by proper tracking and documentation of any changes to the application

ALM is a broader perspective than the Software development lifecycle, which is limited to the phases of software development such as requirements, design, coding, testing, configuration, project management, and change management. ALM continues after development until the application is no longer used, and may span many SDLCs.

Page 14: Testing project (basic)

Test Script: This is the little tricky part to explain. Generally this is where lot of

debates happened. To most of us the test scripts are the automation scripts written in any of the programming language like VB script, Java, python etc. which can be interpreted and executed automatically by a testing tool.

Yes this is 80% correct by not 100%. To my definition a test script is nothing but a test case fabricated with test data. A single test case can be fabricated with the combination of multiple set of test data to form multiple test scripts of the same test case.

Which means, a test script can be,• Manual test scripts – are the manual test cases fabricated with the

multiple set of test data to enable even a layman to do the testing as per the documentation

• Automation test Script – are the programmed test cases with the combination of test data which can be executed by a tool

Page 15: Testing project (basic)

ALM test result :

Page 16: Testing project (basic)

Load Runner HPE Load Runner is a software testing tool from . It is used to

test applications, measuring system behavior and performance under load.

HPE Load Runner can simulate thousands of users concurrently using application software, recording and later analyzing the performance of key components of the application.

Load Runner simulates user activity by generating messages between application components or by simulating interactions with the user interface such as key presses or mouse movements. The messages/interactions to be generated are stored in scripts. Load Runner can generate the scripts by recording them, such as logging HTTP requests between a client web browser and an application's web server.

Page 17: Testing project (basic)

Load Generator generates the load against the application by following scripts VuGen (Virtual User Generator) for generating and editing scripts Controller controls, launches and sequences instances of Load

Generator - specifying which script to use, for how long etc. During runs the Controller receives real-time monitoring data and displays status.

Agent process manages connection between Controller and Load Generator instances.

Analysis assembles logs from various load generators and formats reports for visualization of run result data and monitoring data.

Page 18: Testing project (basic)

LoadRunner different component

Page 19: Testing project (basic)