Interview Questions   Tutorials   Discussions   Programs   Videos   

WinRunner - What is the difference between "invoke application" and "web_browser_invoke" functions in win runner?




264
views
asked mar August 9, 2014 07:08 AM  

What is the difference between "invoke application" and "web_browser_invoke" functions in win runner?


           

1 Answers



 
answered By shyam   0  
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: We use this function to invoke a web site.
syntax: web_browser_invoke("browser name","URL")
Example: web_browser_invoke("IE","http://www.merc-int.com") 
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert