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

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 “

Related questions

0 votes
asked Jun 16, 2021 in QlikView by Robindeniel
0 votes
asked Apr 13, 2020 in QuickTest Professional (QTP) by rajeshsharma
+1 vote
asked Jul 7, 2021 in CSS by rajeshsharma