Winrunner: Powerful enterprise-level Automated Testing Tool
Author: SPIN-CS []
Mercury Interactive's winrunner is an enterprise-level functional testing tool used to detect whether an application can achieve the expected functions and run properly. 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.
Easily create a test
To create a test with winruuner, click the mouse and keyboard to complete a standard business operation flow. 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.
Insert checkpoint
During the recording of 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.
Test Data
In addition to creating and running tests, winrunner can also verify 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.
Enhanced Testing
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.
Run the test
After creating a test script and inserting check points and necessary adding functions, 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.
Analysis result
After the test is completed, you need to analyze the test results. 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.
Maintenance Test
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.
Help your application 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.
Industrial Standard load testing tools
LoadRunner? Is a load testing tool that predicts system behavior and performance. 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.
Easily create virtual users
Using LoadRunner's virtual user generator, you can 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.
Create real Loads
After virtual users are created, you need to set your load scheme, business flow combination, and the 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.
Locate performance problems
LoadRunner contains an integrated real-time monitor. You can observe the running performance of the application system at any time during the load test process. 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.
Analyze the results to precisely locate the problem
Once the test is complete, LoadRunner collects all the test data and provides you with advanced analysis and reporting tools to quickly locate performance problems 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
It is enough to analyze whether the application system runs slowly due to a large 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.
Repeated tests ensure high performance of system release
Load Testing is 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.
Test Enterprise Java Beans
LoadRunner fully supports EJB load testing. 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.
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.
Supports Wireless Application Protocols
As the number and types 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.
Support for media stream applications
LoadRunner can also support 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.
Complete enterprise application environment support
LoadRunner supports a wide range of protocols and can test various IT infrastructure.
Global Test Management System
Testdirector? Is the first web-based testing management system in the industry. It can be tested globally within or outside your company. By integrating various components of test management in an integrated application system, including requirement management, test plan, test execution, and Error Tracking, testdirector greatly accelerates the test process.
E-commerce is affecting many companies to plan and build their own IT systems. Soon, a Web application can be created, developed, and immediately presented to your customers, suppliers, or partners. However, due to the compact development plan and complex system infrastructure, web application software testing is often ignored. To synchronize with the new economy, you must develop high-quality network application software tested by the system.
You need to set up a central point to manage the test process. A web-based test management system provides a collaborative environment and a central data warehouse. As testers are distributed everywhere, you need a centralized test management system that allows testers to participate in the entire test process anytime and anywhere. The IT department will grow very fast and the staff will continue to flow. You must train new testers as quickly as possible and teach them all test-related knowledge and technologies. The focus is on managing complex development and testing processes, improving inter-department communication, and accelerating your testing success.
Testdirector can remove inter-organizational and inter-regional barriers. It enables testers, developers, or other IT personnel to interact with test information in different places through a central data warehouse. Testdirestreamline the test process-from test requirement management, to test plans, test schedules, test execution to Error Tracking after an error-this can only be done in a browser-based application, you do not need to install a set of client programs on each client.
Demand management
Program requirements drive the entire test process. The testdirector web interface simplifies the requirement management process so that you can verify that every feature or feature of the application is normal. By providing an intuitive mechanism to link requirements with test cases, test results, and reported errors, the highest test coverage can be achieved.
Generally, there are two ways to associate the requirement with the test. First, testdirector captures and tracks all application requirements that occur for the first time. You can generate a test plan based on these requirements and change the test plan (?) Corresponds to your needs. For example, you may have 25 test plans (?) It can correspond to the same application requirement. You can easily manage requirements and test plans (?) There may be a multi-configuration and multi-configuration relationship between them to ensure that each requirement is tested. Second, because web applications are constantly updated and changed, demand management allows testers to add or remove or modify requirements, and determines that the current application requirements already have a certain test coverage rate. They help determine which parts of an application need to be tested, which tests need to be developed, and whether the completed application meets user requirements. For any dynamically changing web applications, you must review the accuracy of your test plan to ensure that it meets the most current application requirements.
Planned Test
The preparation of the test plan is a crucial part of the test process. It provides a structural framework for the entire test. The test plan manager of testdirector is at the forefront of the test plan period. It provides the test team with a key point and a Web interface to coordinate communication between teams.
Test plan Manager instructs testers on how to convert application requirements into specific test plans. This intuitive structure helps you define how to test your application, so that you can organize clear tasks and responsibilities. Test Plan manager provides multiple methods to build a complete test plan. You can create a plan from a sketch or quickly generate a test plan using the test plan wizard Based on the application requirements you have defined using the require-ments manager. If you have stored the plan information as a text processing file, such as Microsoft Word, you can use the information and import it to test plan manager. It summarizes various types of tests in a foldable directory tree. You can query all the test plans (?) in a directory (?). For example, you can combine manual and automatic tests, such as functional, restoration, and load testing solutions, in the same location.
Test Plan manager can further help you improve the test design and describe each test step in the form of a file, including the order of response to each test and user, check points and expected results testdirector can also add ancillary files for each test, such as Word, Excel, and HTML, to record each test plan in more detail.
With the ever-changing web network applications, your application needs are constantly changing. You must update your test plan accordingly to optimize the test content. Even with frequent updates, testdirector can easily match application requirements with related tests. Testdirector supports different test methods to adapt to your company's special test procedures.
Most testing projects require a combination of manual and automated testing, including sound, recovery, and system testing. However, manual operations are required in most cases even for tools that meet the automatic testing requirements. Enabling an evolutionary, rather than revolutionary, automated failover mechanism allows testers to determine which repeated manual tests can be converted to automatic scripts to increase the testing speed.
Testdirector also simplifies the conversion of manual testing to automatic testing scripts and immediately starts the test design process.
Schedule and execute tests
Once the test plan is established, testdirector's test lab management provides a web-based framework for test schedule formulation. Its smart scheduler monitors the execution of running tests based on the metrics created in the test plan.
When any host on the network is idle, the test can be performed overnight. Smart scheduler can automatically identify system or application errors and reschedule tests to other machines on the network.
For ever-changing web applications, frequent tests are crucial for tracking errors and evaluating application quality. However, the running of these tests consumes test resources and time. Using the graphic designer chart design, you can quickly classify tests for different testing purposes, such as functional testing, load testing, and integrity testing. Its drag function simplifies the design and arrangement of tests running on multiple machines, and ultimately develops an execution schedule for sequential tests based on the set time, path, or other tests. Smart scheduler allows you to perform more tests on fewer machines in a shorter period of time.
Use winrunner, Astra quicktest, Astra loadtest or LoadRunner to automatically run the function or load test. Whether the test is successful or not, the test information is automatically collected and transmitted to the data storage center of testdirector. Similarly, manual testing also runs in this way.
Defect management
After the test is complete, the project manager must interpret the test data and use the information for work. When an error is detected, they must specify relevant personnel to promptly correct the error.
The error management of testdiredirectly runs through the entire test process to provide management system terminal-terminal Error Tracking-From Initial Problem Discovery to modification error and then Inspection Modification result. Because the members of the same project team are often distributed in different places, testdirector is based on the browser features, so that error management allows multiple users to query Error Tracking through the Web whenever and wherever. With error management, testers only need to enter a URL to report and update errors, filter and organize error lists for trend analysis. Before entering an error case, the tester can automatically perform an error database search to determine whether a similar case record exists. This search function avoids repeated efforts.
Graphical and report output
The last step in the test process is to analyze the test results and determine whether the application software has been deployed successfully or needs to be tested again.
Testdire regular charts and reports help you analyze data information at any stage of the test.
Testdirector also provides a simple way to generate and send a formal test report in standard HTML or Word format. Test Analysis data can also be easily input into a standardized industrial reporting tool, such as Excel, reportsmith, crystalreports, and other types of third-party tools.