How do you invoke any application and write a script to
invoke QTP using VB Script.
Answer Posted / srinvias
systemutil.run "QuickTest.Application"
set qtp_app=createobject("QuickTest.Application")
qtp_app.launch
qtp_app.visible=true
or
invokeapplication "C:/internet/explorer.exe"
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
whare exactly we have to use functions and sub routain
How you can decide which type of object repository you have to use?
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
is there any addin for remedy user application
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
What does it mean when a check point is in red color? What do you do?
Approach for Installation,comaptibility,system testing
How can you send user defined messages to test report?
What the differences are and best practical application of Object Repository?
Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma
what is description object?
Plz Explain AUTOMATION REFERENCE MODEL?
In qtp, how you can remove the spaces from string?
unique properties of button,edit box, radio button,check box?
QTP script is not working on other's machine..