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
Why don’t we normally load the gui maps through start up scripts?
When it is appropriate to change physical description?
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
When would you use 'set_window' and when would you use 'win_activate'?
What do you mean by the logical name of the object.
What is the use of gui map?
How should we write and execute a user define function using WinRunner.
What is tsl? What 4gl is it similar too?
What do you verify with the database check point custom and what command it generates, explain syntax?
How do you execute your tests from windows run command?
What is parameterizing?
How do you handle dynamically changing area of the window in the bitmap checkpoints?
How to test Fonts and its size thru "Font Expert" in Win Runner.
Difference between winrunner and test director?
What is the use of gui map and what happens when the gui map file get loaded?