how can u find the syntax errors or other script errors in
your test during the execution of your QTP Test - (i.e.,
not after the execution/test run finished, but before
finishing the test run)
Answers were Sorted based on User's Feedback
Answer / nath t
we can findout errors before finishing the test run by
using Err Object.
Example:
On Error Resume Next
Err.Raise 6 ' Raise an overflow error.
MsgBox ("Error # " & CStr(Err.Number) & " " &
Err.Description)
Err.Clear ' Clear the error.
Is This Answer Correct ? | 3 Yes | 2 No |
Answer / gabbar singh
CTRL+F7 SYNTAX CHECK. or click on syntax check icon
Is This Answer Correct ? | 2 Yes | 1 No |
what is defenetion of kiran can u tell me plz CVS, SVN
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
What is the difference between property and method?
How to create runtime property for an object?
how u track bugs using Test director in manual testing.
I have made the recovery scenario in script. When i am exceuting the script. it stop automatically after running recovery scenario. Please tell the resaon?
What is parameter in qtp?
one ok button and one text box is there.when i click on ok button in that text box one no. will display from 1 to 100 randomley.if that is not 100 when we click on ok button again ,again another text box ll created with another no. we will continue this till the text box created and displays 100.and when its 100 ok button should disabled. remember thet no will display not seriely ,it displays randomley,and each time new text box will created.
How can i check items sorted or not in a weblist ? Give me the script for this...
hai there..this is chandu..i have a txt file which containing 1000 lines but at a time i want to retrieve 50 lines..after 50 lines i required to retrieve 51-100..like that i want...so could anybody help me in this...thanks in Advance..
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
Explain about the Test Fusion Report of QTP ?