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 |
Can we put more than one action in a single script???? yes or no.....
difference Between LowLevel and Normal Recording Modes?
Explain advantages and disadvantages kdf?
What is the Obect Repository type, we use in Automated Testing..in Real time.. Pls anybody can give the answer.. Thanks in advance...
I have 3 browsers i want to give facebook url in 2 nd browser using qtp
where the object repository is located?how to choose the object repository as shared or action object repositories?
I want to install qtp software in my system, My operating system is vista . Anybody please suggest me how to get QTP software with licence key
How to make an Action as reusable?
After geting the modules where we generate the script ie in qtp or notpad ?
What is object identification?
Hi Friends, I'm new to QTP. I want to write a function in QTP for below senario. In an Excel sheet column B, I Have 10 Url/Links, and in Colum A there is a Flag as Y and N. My test should run only on those iterations which are flagged as Y. Please help, Thanks
I encountered with very strange problem in qtp while writing the script i written the code window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit this code was working fine for about 10-15 times i executed the script but after some time qtp started giving the error with the same code the error is "Object doesnt support this method or function window(...).window(..)" then i modified the code with only window"regexpwndtitle:=Open").Exit in place of window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit now again its working fine i cannot understand what thing is creating the problem if same code executed successfully in starting for about 10 times then why it is giving the error now can anyone give the reason .