Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to open an application through scripting?

Answers were Sorted based on User's Feedback



How to open an application through scripting?..

Answer / sadiq

Hey here are the simple steps for opening the
application through scripting

a="C:\Program Files\Internet Explorer\iexplore.exe"
b="www.yahoo.com"

systemutil.run a,b

Is This Answer Correct ?    15 Yes 0 No

How to open an application through scripting?..

Answer / sharath

We can use SystemUtil.run method or InvokeApplication
statement to open the application

Is This Answer Correct ?    14 Yes 3 No

How to open an application through scripting?..

Answer / 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

How to open an application through scripting?..

Answer / methuku

Browser = "IE"
StartURL = "www.hotmail.com"
IF Browser = "IE" THEN
set IE = CreateObject("InternetExplorer.Application")
IE.Visible = true
IE.Navigate StartURL
END IF

Is This Answer Correct ?    7 Yes 5 No

How to open an application through scripting?..

Answer / yezdani

Systemutil.run "www.gmail.com"

Is This Answer Correct ?    9 Yes 7 No

How to open an application through scripting?..

Answer / dinesh chouhan

'Without Systemutil or Invokeapplication

set IE=CreateObject("InternetExplorer.Application")
IE.visible=True
IE.Navigate "www.google.com"

Is This Answer Correct ?    0 Yes 0 No

How to open an application through scripting?..

Answer / cnu_thatavarthi

Window We can using invokeapplication and systemUtil. run method

But for web we can using SystemUtil.Run

In Vb script we can using different methods

Is This Answer Correct ?    0 Yes 0 No

How to open an application through scripting?..

Answer / ashok

Uday,Murugesh

i think your answers are in winrunner not QTP. I agree with
sarath.not only sarath method,some more ways are there.

Is This Answer Correct ?    0 Yes 2 No

How to open an application through scripting?..

Answer / murugesh

Suppose you trying the web application use the following
script

web_browser_invoke(URL);

Is This Answer Correct ?    4 Yes 8 No

How to open an application through scripting?..

Answer / uday

For web applications we use
web_browser_invoke(IE,"http://mail.yahoo.com/");

for other applications :
invoke_application("uday.exe","Directory
Path",SW_SHOW/SW_SHOWMAXIMISED/SW_MINIMISED);

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More QTP Interview Questions

Explain synchronization types in QTP

2 Answers  


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

0 Answers  


In a page i have N number of links at a time i would like to open those links by using QTP?how to do that?

2 Answers   Wipro,


Difference between image checkpoint and bitmap checkpoint

2 Answers  


when to start the automation?

0 Answers   Accenture,


how do u copy object repository?

1 Answers  


How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet

0 Answers  


After Creation of your QTp frame work, The folders are saved in VSS or Other. plz explain brifly?

3 Answers   Infosys,


How you perform smoke and sanity testing using qtp?

1 Answers   Tech Mahindra,


what is option explicit?

5 Answers  


1.what is test automation life cycle?

1 Answers   IBM,


hi, for QTP TRAINING......SURESH REDDY SMART SOLUTIONS sr.nagar IS BEST OR NOT? how faculty teaches?

4 Answers   Cap Gemini,


Categories