in QuickTest Professional (QTP) by
What are the different ways to invoke an application using QTP?

▼ Show 1 Answer

0 votes

a) SystemUtil.Run
SystemUtil.Run ( FileName, Parameters, Path, Operation )
Example: SystemUtil.Run(“iexplorer.exe”,
SystemUtil.Run(“test.txt”, “”,”C:\”,”1”)

b) InvokeApplication
Example: InvokeApplication “C:\Program Files\Internet Explorer\IEXPLORE.EXE

c) Creating a shell object using VB Script
Example: Create a “” object.
Dim testshell
Set testshell= CreateObject (“”) “%windir%\notepad “

Learn More with Madanswer

Related questions