Tuesday, 6 July 2021

Difference between Invokeapplication and systemutil.run in QTP

 
In Systemutil.run you can provide name(or .exe) of the file directly, But in case of invokeapplication you have to pass full path of the .exe in your computer.
Example:  Systemutil.run "iexplore.exe" will work but
InvokeApplication "iexplore.exe" will not work instead of this you have to provide
InvokeApplication "C:\Program Files (x86)\Internet Explorer\iexplore.exe"

No comments:

Post a Comment