Print Page | Close Window

Debugging the Test Script

Printed From: One Stop Testing
Category: Types Of Software Testing @ OneStopTesting
Forum Name: Web Testing @ OneStopTesting
Forum Discription: Discuss All that is need to be known about Web Testing and its Tools.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=3459
Printed Date: 30Dec2024 at 11:17pm


Topic: Debugging the Test Script
Posted By: tanushree
Subject: Debugging the Test Script
Date Posted: 31Oct2007 at 3:05am
Debugging the Test Script
You should now run the test in Debug mode in order to check for errors in syntax
and logic. If any error messages appear, look over the test script and try to fix the
problem.
1 Select Debug mode from the Run Mode list on the Standard toolbar.
Debug mode will stay in effect until you select a different mode.
2 Run the test.
Choose Run > Run from Top or click the Run from Top button. If you prefer to
run the test line by line, use the Step button.
3 Review the test results in the WinRunner Test Results window.
Choose Tools > Test Results or click the Test Results button. The WinRunner
Test Results window displays the results of the Debug test run.
If the tl_step event failed, a problem exists in the test script. Examine the script
and try to fix the problem.
4 Close the Test Results window.
Choose File > Exit in the WinRunner Test Results window.
5 Exit the Flight Reservation application.
Choose File > Exit.



Print Page | Close Window