How to create an instance in QTP?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me

1967


Give the syntax to import/export xls into qtp.

797


What is the differences between image check point and bit map check point?

778


Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

1587


what is error and fault in terms of software quality?

1730


how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me

2696


Explain different type of event trigger option.

728


Explain object spy in qtp.

796


Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.

2135


An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?

788


how many maximum number of virtual users we can create?

1795


HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.

1865


Name the different types of recording modes?

780


What are the different types of functions available in qtp and explain ?

790


How does qtp identify gui object?

776