Winrunner and LoadRunner and qtp

Source: Internet
Author: User
Tags autoload
Winrunner
1. Introduction winrunner:
Mercury Interactive's winrunner is an enterprise-level automated testing tool.Function Testing ToolUsed to check whether the application can achieve the expected functions and run normally. Through automatic recording, detection, and playback of user application operations, winrunner can effectively help testers to test different release versions of complex enterprise-level applications, improving the efficiency and quality of testers, ensure that cross-platform and complex enterprise-level applications are released without failure and run stably for a long time.
Enterprise applications may include web application systems, ERP systems, and CRM systems. These systems must be tested after the upgrade before release to ensure that all functions can run normally without any errors. How to effectively test application systems that are constantly updated and updated in different environments is a problem facing every company.
If time or resources are limited, this problem will be even more difficult. The workload of manual testing is too large, and additional time is required to train new testers. To ensure that complex enterprise-level applications run properly and reliably in different environments, you need a simple test tool to automatically complete the functional testing of the application.
2. features:
1) create a test with winruuner easily. Click the mouse and keyboard to complete a standard business operation process. winrunner automatically records your operation and generates the required script code. In this way, even business users with limited computer technology knowledge can easily create a complete test. You can also directly modify the test script to meet various complex test requirements. Winrunner provides the two test creation methods to meet the different needs of business users and professional technicians in the test team.
2) When recording a test, you can insert a Check Point to check whether the application runs normally at a certain time/state. After the checkpoint is inserted, winrunner collects a set of data indicators and verifies them one by one during testing. Winrunner provides several types of checkpoints, including text, Gui, bitmap, and database. For example, if you use a bitmap checkpoint, you can check whether the company icon appears in a specified position.
3) In addition to creating and running tests, winrunner can also verify the database values to ensure the accuracy of business transactions. For example, when creating a test, you can set which database tables and records need to be checked. During the test, the test program automatically checks the actual values and expected values in the database. Winrunner automatically displays the detection results and highlights the updated, deleted, and inserted records to attract attention.
4) Enhanced testing in order to thoroughly test an application, different types of data are required for testing. Winrunner's data driver wizard allows you to simply click a few clicks to convert a business flow test to a data driver test, this reflects the unique and authentic behavior of multiple users.
Taking the process of inputting an order as an example, you may want to use the order number or customer name as a variable column and use multiple sets of data for testing. With data driver wizard, you can replace the order number or customer name with the data of the column in the data table file. You can enter the order number or customer name into a data table file or import it from other tables and databases. Data-Driven Testing not only saves time and resources, but also increases the test coverage rate of applications.
Winrunner can also use function generator to add the test function. Using function generator, you can select a function from the directory list and add it to your test to improve the test capability. For example, you can select "calendar" and then select from the subordinate directory of the Calendar function, for example, calendar_select_date (). Then you can directly enter the parameter, insert this function into your test.
For a considerable number of non-standard objects in enterprise applications, winrunner provides virtual object wizard to identify previously unknown objects. With virtual object wizard, you can select an unknown object type and set the identifier and name. When recording a test that uses this object, winrunner automatically maps its name to improve the readability and quality of the test script.
5) run the test to create a test script, insert the Check Point and necessary add functions, and then you can start the test. During the test, winrunner automatically operates the application, just like a real user performing each step of the operation according to the business process. During the test, if a network message window or other unexpected events occur, winrunner will also eliminate these interference according to the preset settings.
6) analyze the test results after the test is completed. Winrunner provides detailed and easy-to-read reports through interactive reporting tools. The report lists the error content, locations, checkpoints, and other important events found during the test to help you analyze the test results. These test results can also be viewed using mercury interactive's test management tool testdirector.
7) over time, developers will make further modifications to the application and need to add additional tests. With winrunner, you do not have to re-create your test for every change to the program. Winrunner can create tests that can be reused throughout the application lifecycle, greatly saving time and resources and making full use of your test investment.
During each record test, winrunner automatically creates a GUI map file to save the application object. These objects are organized hierarchically to view all objects and query the details of an object. In general, any changes to the application will affect hundreds of tests. By modifying a GUI map file instead of countless tests, winrunner can conveniently implement test reuse.
8) Help your applications prepare for wireless applications. As the number and types of wireless devices increase, your application testing plan needs to meet the needs of traditional browser-based users and wireless browsing devices at the same time, such as mobile phone, pager, and personal digital assistant (PDA ).
Wireless Application Protocol is a public and global network protocol that supports standard data formatting and signal transmission of wireless devices.
With winrunner, testers can use a micro-browser simulator to record business process operations, and then play back and check the correctness of these business process functions.6. LoadRunner
1. Introduction:
LoadRunner is used to predict system behavior and performance.Load Testing Tool.LoadRunner can test the entire enterprise architecture by simulating tens of millions of users to implement concurrent loads and real-time performance monitoring. By using LoadRunner, enterprises can minimize test time, optimize performance, and accelerate the release cycle of application systems.
Currently, enterprise network application environments must support a large number of users. The network architecture includes various application environments and different vendors provide software and hardware products. Unpredictable user loads and increasingly complex application environments make the company always worry about slow user response and system crashes. These all inevitably lead to losses to the company's earnings. Mercury Interactive's LoadRunner allows enterprises to protect their own sources of revenue without buying additional hardware to maximize the use of existing IT resources, it also ensures that end users have a good evaluation of the quality, reliability, and scalability of their testing applications in all aspects of the application system.
LoadRunner is an automatic load testing tool suitable for various architectures. It can predict system behavior and optimize system performance. LoadRunner's testing object is the entire enterprise system. It simulates the actual user's operation behavior and implements real-time performance monitoring to help you find and discover problems faster. In addition, LoadRunner supports extensive protocols and technologies to provide special solutions for your special environment.
2. features:
1) You can easily create virtual users and use LoadRunner's virtual user generator to easily create system loads. The engine can generate virtual users to simulate the business operations of real users in the form of virtual users. It first records the business process (such as placing an order or booking a ticket) and converts it into a test script. With Virtual users, you can generate tens of thousands of users simultaneously on Windows, UNIX, or Linux machines. Therefore, LoadRunner can greatly reduce the hardware and human resources required for load testing. In addition, LoadRunner's turboload patented technical capabilities.
Provides high adaptability. Turboload allows you to generate hundreds of thousands of online users and millions of clicks each day.
After creating a test script using virtual user generator, You Can parameterize the script. This operation allows you to test your application using several sets of actual data, this reflects the load capacity of the system. Taking an order input process as an example, a parameterized operation can replace fixed data in the record, such as the order number and customer name, with variable values. In these variables, enter the possible order number and customer name at will to match the operation behavior of multiple actual users.
LoadRunner uses its data Wizard to automatically parameterize its test data. Data wizard is directly connected to the database server, from which you can obtain the required data (such as the order number and user name) and directly input it to the test script. This avoids the need for manual data processing, and data wizard saves you a lot of time.
To further determine that your virtual user can simulate real users, you can use LoadRunner to control certain behavior characteristics. For example, you can easily control the transaction quantity, transaction frequency, users' thinking time, and connection speed by clicking the mouse.
2) create a virtual server Load balancer instance. After creating a virtual server Load balancer instance, you must set your load scheme, business flow combination, and number of virtual users. With LoadRunner's controller, you can quickly organize testing solutions for multiple users. The rendezvous function of Controller provides an interactive environment in which you can establish continuous and cyclic loads and manage and drive load testing solutions.
In addition, you can use its Schedule service to define when users access the system to generate loads. In this way, you can automate the test process. You can also use controller to limit your load scheme. All users in this scheme execute an action at the same time, such as logging on to an inventory application to simulate peak load. In addition, you can monitor the performance of each component in the system architecture, including servers, databases, and network devices, to help customers determine system configurations.
LoadRunner uses its autoload technology to provide you with more test flexibility. With autoload, you can set test targets in advance based on the current number of users to optimize the test process. For example, you can determine the number of clicks per second or the transaction volume per second for your application system.
3) locate the performance problem LoadRunner contains an integrated real-time monitor. During the load test process, you can observe the running performance of the application system. These performance monitors show you the real-time performance of transaction performance data (such as response time) and other system components, including application server, web server, network devices, and databases. In this way, you can evaluate the running performance of these system components from both the customer and server aspects during the test, so as to detect problems faster.
Furthermore, using LoadRunner's contentcheck TM, you can determine whether the application function under the load is normal or not. When contentcheck is running on virtual users, it detects the network packet content of the application and determines whether any error content is transmitted. Its real-time browser helps you observe program performance from the perspective of end users.
4) The analysis results are used to precisely locate the problem. Once the test is completed, LoadRunner collects and summarizes all the test data and provides you with advanced analysis and reporting tools, this allows you to quickly locate performance issues and trace the cause. With LoadRunner's Web transaction details monitor, you can learn the time required to download all images, frames, and text to each web page. For example, this transaction detail analysis mechanism can analyze whether the application system runs slowly due to a large size graphic file or a third-party data component. In addition, the web transaction detail monitor breaks down the end-to-end Response Time on the client, network, and server to facilitate problem identification and locate components with real errors. For example, you can break down the network latency to determine the DNS resolution time, the time it takes to connect to the server or SSL authentication. By using the LoadRunner analysis tool, you can quickly find the location and cause of the error and make corresponding adjustments.
5) repeated tests ensure that high-performance Load Tests released by the system are a repetitive process. After an error occurs, you must perform another load test on your application in the same solution. Check whether your correction improves the running performance.
6) The Enterprise Java Beans test LoadRunner fully supports the EJB load test. These Java-based components run on the application server and provide a wide range of application services. By testing these components, you can identify and solve possible problems early in application development.
With LoadRunner, you can easily understand the system performance. Its controller allows you to repeat the same test scheme as before the error modification. Its HTML-based report provides you with a benchmark required to compare performance results, to measure how much improvement is made within a period of time and ensure the application is successful. Since these reports are HTML-based texts, you can publish them on your company's intranet for easy access.
7) Maximize ROI all mercury interactive products and services are integrated and designed to operate in a completely compatible manner. Because they share the same core technology, test scripts from LoadRunner and activetest TM can be repeatedly used for performance monitoring in Mercury Interactive's Load Test Service Project. With the monitoring feature of Mercury Interactive-Topaz TM and activewatch TM, the test script can be reused to balance investment gains. More importantly, you can provide a complete application performance management solution for pre-deployment testing and monitoring of production systems.
8) Support for wireless application protocols as the number and type of wireless devices increase, your test plan needs to meet the needs of traditional browser-based users and wireless internet devices, such as mobile phones and PDAs. LoadRunner supports two most widely used protocols: WAP and I-mode. In addition, with the overall architecture of the load testing system, LoadRunner enables you to completely detect the above wireless Internet systems by recording a script.
9) supports the media stream application LoadRunner and media stream applications. To ensure that end users have a good operation experience and high-quality media stream, you need to check your media stream application. With LoadRunner, you can record and replay any popular multimedia data stream formats to diagnose system performance problems, find the reason, and analyze the data quality.
10) the complete enterprise application environment supports LoadRunner to support a wide range of protocols and can test various IT infrastructure.Qtp-Overview

Mercuryquicktest EnterpriseAutomated testing tools.

Quick test9.0pro is released in the latest official version. qtp9.0 is a tool for automated functional testing of B/S systems and software program testing tools. Mercury's automated functional testing software quicktestprofessional9.0 covers the vast majority of software development technologies, is simple and efficient, and has the characteristics of reusable test cases.

Test procedure of qtp Function Testing [Develop test plan] --> [Create test script] --> [Enhance test Script Function] --> [run test] --> [analyze test result] there are five steps:
1. Develop a test plan
The automated testing plan is developed based on the specific needs of the project under test and the testing tools used, and is fully used to guide the test project.

Qtp is a function testing tool that helps testers complete functional testing of software. Like other testing tools, qtp cannot completely replace the manual operations of testers, using qtp can indeed help testers do a lot of work. In the test plan stage, the first thing to do is to analyze the characteristics of the tested application and determine which functional points should be tested. You can consider refining the details to specific pages or controls. For a common application, the qtp application is very effective in regression tests with few page changes.

2. Create a test script

When the tester browses the site or operates on the application, the qtp automatic recording mechanism can record every operation step and operated object of the tester, the test script statement is automatically generated. Unlike the recording script of other automatic testing tools, qtp not only generates script statements in VBScript language, the operated objects and their actions are stored in a table-based keyword view in layers and order. For example, when a tester clicks a link and then selects a checkbox or submits a form, such an operation process will be recorded in the keyword view.

3. Enhance the test Script Function
The recording script is only the first step to create or design the script. After the BASIC script is recorded, the tester can add some extension functions as needed, qtp allows testers to modify or customize the test process by adding or modifying test steps in the script, such as adding multiple types of checkpoint functions, qtp can check whether the required text is displayed in a specific position or dialog box of the program, and check whether a link returns a correct URL address, you can also use multiple groups of different data to drive the entire test process through the parameterization function.

4. Run the test
Qtp executes the statement starting from the first line of the script. During the running process, it verifies the set checkpoint, replaces the parameter value with the actual data, and provides the corresponding output structure information. During the test, the tester can debug his script until the script fully meets the requirements.

5. analysis and testing
After running, the system automatically generates a detailed and complete test result report.

Qtp-working principle of automatic testing

Mercuryquicktestprofessional can even improve the efficiency of new testers within minutes. You only need to press the "record" button and use the execution typical

The application of the business flow can create a test script. The system uses Concise English statements and screen captures to automatically record each step in the business process. You can easily modify, delete, or reschedule test steps in the keyword view.

Quicktestprofessional can automatically introduce checkpoints to verify application properties and functions, such as output or link validity. For each step in the keyword view, the activity screen accurately shows how the testing application processes this step. You can also add several types of checkpoints to any object to verify that the component runs as expected (you only need to click this object on the activity screen ).

Then, you can input test data in the product introduction (Integrated workbooks with all Excel functions) to process datasets and create multiple test iterations without programming, this expands the scope of test cases. You can type data or import data from a database, workbook, or text file.

Senior testers can view and edit their own test scripts in the expert view, which displays the internal VB scripts automatically generated by quicktestprofessional based on industry standards. Any changes made in the expert view are automatically synchronized with the keyword view.

Once the tester runs the script, the testfusion report displays all aspects of the test run: An Overview of the advanced results, which accurately specifies the Extensible Tree View of the application Fault Location and the test data used, highlight screen captures of applications with any differences and detailed descriptions of each pass or fail checkpoint. By using mercurytestdirector to merge testfusion reports, you can share reports across the QA and development teams.

Quicktestprofessional also accelerates the update process. When an application changes during the test (for example, the "login" button is renamed as "login"), you can update the shared object library once, this update will then be propagated to all scripts that reference this object. You can release the test script to mercurytestdirector so that other QA Team members can reuse your test script to eliminate repetitive work.

Quick testprofessional supports functional testing in all common environments, including windows, web,. net, VisualBasic, ActiveX, Java, SAP, Siebel, Oracle, lelesoft, and terminal simulators.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.