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

when do we write a script in qtp?(plz give me more then 2 reasons)

1 Answers  


What is Object Spy in QTP?

1 Answers   Crea,


Write a QTP script to enter a keyword in to Google search engine?

0 Answers   Wells Fargo,


My Application is a client server application , but there is one functionality , when we click on one particular icon it launches web browser . When I am recording in QTP , By select approprait web add in also , it not able to record in web page , I am able to record till click on the icon. Please provide me how to over come this type of problem.

2 Answers  


please tell me how to identify the index of the link in the web table .links are not constant.example i want to click the link in the inbox ,search the item and click the partcular mail.(mail links count is not constant)

1 Answers   IBM,






What is the difference between functional spec. and Business requirement specification?

5 Answers  


If enter into interviewer room? how u introduce with him. with shakehand or waht?

2 Answers  


how can we perform web datatable operations on webpages(Like rowcount,col count,cell data)?

2 Answers   Syntel,


How can we fill data in a text box without recording using object spy. Can you please provide the steps...

1 Answers   Hotel Jobs, TCS,


I am testing a website TheLancet in qtp 9.2 and running a script but its not working.Tell me if m doing anything wrong in the script. If Browser("TheLancet.com - Home Page").Page("TheLancet.com - Home Page").Link("Clinical").exists then msgbox "object exist" Else msgbox"object doesnt exist"

2 Answers   Rolta,


if my application shows 100 records and in my database having 200 records how i can validate using QTP tool?plz exp. in detail?

2 Answers   Wipro,


What is All object and Local object in Object Repositary? Explain me please.

3 Answers  


Categories