What is the difference between "invoke_application"
and "web_browser_invoke" functions in winrunner

Answer Posted / uday kumar. a

invoke_application: we use this function to invoke an
application, means .exe of an application.
Syntax: invoke_application("path of .exe","Command
options","working directory","mode to show the application")
path of .exe - path of the .exe
Command options - optional argument
working directory- optional argument
mode to show the application - maximized, minimized
Ex: invoke_application("C:\\Program Files\\Mercury
Interactive\\WinRunner\\samples\\flight\\app\\flight1a.exe",
"","",SW_SHOW);

web_browser_invoke: to invoke a web site.
syntax: web_browser_invoke("browser name","URL")
Example: web_browser_invoke("IE","http://www.merc-int.com")

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why don’t we normally load the gui maps through start up scripts?

643


When it is appropriate to change physical description?

652


For my web Application I am recording website by WR. but the fuctions are displaying normal recorded fun. such as set_window...etc. eventhough i selected web add-in at start up WR. how to use web functions? such as web_link_click.... pls. guide

1744


When would you use 'set_window' and when would you use 'win_activate'?

722


What do you mean by the logical name of the object.

655






What is the use of gui map?

621


How should we write and execute a user define function using WinRunner.

1648


What is tsl? What 4gl is it similar too?

774


What do you verify with the database check point custom and what command it generates, explain syntax?

630


How do you execute your tests from windows run command?

1457


What is parameterizing?

654


How do you handle dynamically changing area of the window in the bitmap checkpoints?

622


How to test Fonts and its size thru "Font Expert" in Win Runner.

1824


Difference between winrunner and test director?

676


What is the use of gui map and what happens when the gui map file get loaded?

638