Winrunner
Winrunner
Winrunner
WinRunner was a popular software testing tool developed by Mercury Interactive, which later
became part of Hewlett Packard (HP). However, it's important to note that as of my last
knowledge update in January 2022, WinRunner is considered outdated and has been officially
retired.
WinRunner was primarily designed for functional testing of graphical user interface (GUI)
applications. It supported both Windows and web-based applications. Here are
Record and Playback: WinRunner allowed testers to record their interactions with the
application and then play them back to automate repetitive test scenarios.
GUI Testing: It was particularly strong in testing GUI-based applications. It could recognize
various GUI objects, such as buttons, menus, and dialog boxes, and perform actions on
them.
Scripting Language: WinRunner used a proprietary scripting language called TSL (Test
Script Language) for creating more complex and customized test scripts.
Integration with Test Management: It could be integrated with test management tools to
manage test scripts, execution results, and overall test management.
Winrunner environment
Windows
Web
Web Applications
Other technologies
WinRunner must learn to recognize the objects in an application in order to run tests The preferred way to
teach your objects depends on the GUI map mode
2) Create tests:
3) Debug tests:
You debug the test to check that they operate smoothly and without interruption
4) Run test:
● It compares the current data of application being tested to the expected data captured earlier
5) View results:
● The report details all the major events that occurred during the run such as checkpoint, error
message, system message, user message
6) Report defects:
If a test run fails due to a defect it will report directly in report window
GUI Spy
Holds information recorded about each object allowing the test to identify the object during execution
Recording Modes
Context-Sensitive mode statements can be recorded or programmed
● button_press ("OK");
Analog mode statements are rarely programmed, mostly recorded and edited
Advantages
● Enables Rapid Testing
● Provides Consistency
● Reusability of tests
Debugging Tools:
When a test stops in between an execution due to some syntax error or some or logic error, we can use
1) Use of Step commands: Is done to run a single line or some selected section of a test.
2) Use of Breakpoints: Is done to halt the test run at pre-determined points, with a view to enable us to
3) Use of the Watch List: Is done to monitor the variables, expressions and array elements in the test.
During the execution of a test, we can view the values at every break point like after the Step command or