HP Software Testing project (Advanced)

32
HP SOFTWARE TESTING PROJECT Presented by : Lokesh Singrol

Transcript of HP Software Testing project (Advanced)

Hp software testing project

HP Software Testing ProjectPresented by :Lokesh Singrol

What is testing?Testing is the process of executing a program with the intent of finding errors and verifying that the program satisfies the specified requirementsTesting is done for following reasons:To detect errors in a software productTo verify that a software product conforms to its requirementsTo establish confidence that a program or system does what it is supposed to doTo evaluate an attribute or capability of a software product and determine that it meets the required results

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.

Unified functional testingUFT: HP Unified Functional Testing(UFT) software, formerly known asHP Quick Test Professional(QTP),provides functionalandregression testautomation for software applications and environments. HP UFT enables functional tests to be carried out automatically to increase the speed and cost effectiveness of application development and delivery. RecordingObject RecognitionCheckpointsParameters

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:UFTs 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.

Unified functional testing

Desktop based Application

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.

Action Flow :

Login into application:Description

Manual testingis the process ofmanually testingsoftware 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.

Booking flight :

Generated VB script of an application :

Result View of the generated script :

Replay of simple tested Desktop application(Video) :

13

Test Cases for login page :

Breakpoint in AUT :

Replay of tested application with breakpoint (Video):

Checkpoints in AUT :Applying checkpoint

Checkpoint :

Replay of tested application with checkpoint(Video) :

Web based Application

Action Flow :Sign-InCompose MailDelete MailSign-Out

Login into Gmail application :

Replay of simple tested web application(video) :

Kindly wait for 5 sec. for playing video.24

Test cases of login for Gmail web application

Application Lifecycle ManagementALMis 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 applicationALM is a broader perspective than theSoftware development lifecycle, which is limited to the phases ofsoftware 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.

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 documentationAutomation test Script are the programmed test cases with the combination of test data which can be executed by a toolTest Script:

ALM test result :

Load RunnerHPE Load Runneris a software testing tool from. It is used to testapplications, 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 loggingHTTPrequests between a client web browser and an application's web server.

Load Generatorgenerates the load against the application by following scriptsVuGen(Virtual User Generator) for generating and editing scriptsControllercontrols, 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 processmanages connection between Controller and Load Generator instances.Analysisassembles logs from various load generators and formats reports for visualization of run result data and monitoring data.

LoadRunner different component