What command is used to launch a application in WinRunner?

Showing Answers 1 - 11 of 11 Answers

Ashok

  • Oct 3rd, 2005
 

invoke_application command used to launch application in WR. see function generatoe in WR

  Was this answer useful?  Yes

Dhruti shah

  • Jan 7th, 2006
 

make a search in winrunner you will find with exmple.invoke_application(path name of your application, how it should appear)Dhruti.

  Was this answer useful?  Yes

priya

  • Nov 7th, 2006
 

invoke_application("pathoffile"," "," ","sw-show)

system.util.run("path of file")

these two commands will help u, see in functiongenerator or press F7 in winrunner search for invoke command. U may find description

  Was this answer useful?  Yes

sanath.s.k

  • Apr 8th, 2007
 

the syntax to invoke any application in WR is:

invoke_application("path of the application","command line option","working directory of the application",SW_SHOW);

  Was this answer useful?  Yes

We can use Invoke_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 FilesMercuryInteractiveWinRunnersamplesflightappflight1a.exe","","",SW_SHOW);

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions