arjun_ta
11 years agoContributor
testedapps path
Hi, i have added Excel in my tested apps, in my system its path is C:\Program Files\Microsoft Office\Office14\EXCEL.EXE but in other system it is C:\Program Files\Microsof...
- 11 years ago[VBScript]
Set foundFiles = aqFileSystem.FindFiles("C:\Program Files\Microsoft Office\", "Excel.exe",True)
If Not foundFiles Is Nothing Then
While foundFiles.HasNext
Set aFile = foundFiles.Next
app = TestedApps.Add(aFile.path)
TestedApps.Items(app).Params.ActiveParams.CommandLineParameters = Chr(34) & "C:\logins.xlsx" & Chr(34)
TestedApps.Items(app).Run
Wend
End if
'if u mean something by this then try this and let me know ur results