How to create an instance in QTP?



How to create an instance in QTP?..

Answer / harsha

we can create instance of QTP by using vbscript like

Set ObjQTP=CreateObject("QuickTest.Application")
ObjQTP.Launch()
ObjQTP.visible="true"

Is This Answer Correct ?    31 Yes 1 No

Post New Answer

More QTP Interview Questions

can u give one scenario for for PopWindow Exception & write Code for that?

2 Answers   Cap Gemini,


what is KEYWORD DRIVEN TESTING ? I M NOT ASKIN WHAT IS KEY WORD VIEW PLZ ANS FOR ONLY WHAT IS KEYWORD DRIVEN TESTING EXACTLY THANX

3 Answers  


whenever U using QTP,Test Director, Why we using separate Bug tracking tool?

0 Answers  


suppose by navigation i went from 1st page to 5th page write a script for coming from any page to the 1st page abd by executing where the page may be . it will come to 1st page give the code using gmail. give me mail id so that i can under this answer with out any doubt

1 Answers  


Have you worked with QC?

1 Answers   Satyam,


how to do spell check in QTP? reply please

8 Answers  


Are Shared ORs read-only?

0 Answers  


How to replay a script in qtp?

0 Answers  


how to check URL using QTP? write vb script with descriptive programm only?

1 Answers   Syntel,


Difference between object identification and smart identification

2 Answers   Wipro,


what does it mean when a check point is in red color? what do u do?

4 Answers  


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

0 Answers   Infosys,


Categories