Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



how can u find the syntax errors or other script errors in your test during the execution of your ..

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

how can u find the syntax errors or other script errors in your test during the execution of your ..

Answer / gabbar singh

CTRL+F7 SYNTAX CHECK. or click on syntax check icon

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More QTP Interview Questions

Can we put more than one action in a single script???? yes or no.....

2 Answers   BirlaSoft,


difference Between LowLevel and Normal Recording Modes?

4 Answers  


Explain advantages and disadvantages kdf?

0 Answers  


What is the Obect Repository type, we use in Automated Testing..in Real time.. Pls anybody can give the answer.. Thanks in advance...

5 Answers   Navis,


I have 3 browsers i want to give facebook url in 2 nd browser using qtp

3 Answers   Tech Mahindra,


where the object repository is located?how to choose the object repository as shared or action object repositories?

4 Answers   Datamatics,


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

2 Answers  


How to make an Action as reusable?

1 Answers  


After geting the modules where we generate the script ie in qtp or notpad ?

1 Answers  


What is object identification?

8 Answers   Wipro,


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

6 Answers  


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 .

0 Answers  


Categories