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

Name the different modes of recording?

756


Where did you learn winrunner and testdirector?

892


Write test scripts on a scenario where you have to transfer data from one table to another.

1801


What are different types of checkpoints?

914


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

964


Hiiiiiiiii This is lavanya.....At present i m working as a MATLAB developer at CMC(A tata enterprise)from about1 year .now i want to move to testing field as a fresher?Is this possible...can anyone give me a suggestion regarding d testing field.....

2023


What in contained in the GUI map?

812


What are the reasons that winrunner fails to identify gui object?

789


What information is contained in the checklist file?

804


Dear all i am new to testing my company using vb.net and we are developing web based application. How i can test those application with winrunner if any one have some good tutorial or link kindly provide thanks u.

1756


How do you find out which is the start up file in winrunner?

809


How do you select multiple objects during merging the files?

886


What is toogle breakpoints? How does it differ from break points?

2027


What is the purpose of regexp_msw_class property?

860


What is the purpose of a gui spy?

916