How u will open the build automatically in QTP except using
Systemutil.run command

Answer Posted / vidyasagar

Dim oShell
Set oShell = CreateObject ("WSCript.shell")
oShell.run "Pathof the file"

Set oShell = Nothing

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain how to write vb script in qtp?when will you write own script?

1857


What is the recovery scenario in qtp?

571


How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..

1623


How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.

1813


What is object repository in qtp?

559






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

1346


How are actions and functions different in QTP?

658


Explain how Does Run time data (Parameterization) is handled in QTP?

555


HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com

1539


What is the difference in testing a client-server application and a web application?

583


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

1503


How to use checkpoints in qtp ?

582


Explain different types of checkpoints?

562


What are the steps involved in the recovery scenario wizard?

559


How to remove the associated function library?

530