How to open an application through scripting?

Answer Posted / trevor chandler

For QTP (Quick Test Pro)

You can use the following line below directly in a test in
expert view.

First parameter is the browser.
Second Parameter is the URL to navigate to

SystemUtil.Run "iexplore.exe", "C:\opt\projects\dtlt\catalin
a\functions\dtltLaunch.html"

Hope this helps.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is quicktest professional (qtp)?

562


how many maximum number of virtual users we can create?

1563


how to find that tools work well with ur existing system?

1350


What are the methods of the TextStream object that are used for reading from a text file?

1687


Give the syntax to load function at run time.

619






How to get the particular property value?

608


suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

1486


Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?

560


What is different command used in command Prompt while using QTP?

1741


in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?

6317


how can i pass a "cript"as a parameter in to a function

1454


What is the difference between analog and low level recording?

611


Will down time for server and content maintenance/upgrades be allowed? how much?

611


I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?

1370


hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.

1424