Unable to set TestedApps Path dynamically
I am unable to set TestedApps.Items(i).Path properly.
Let say my app is under - C:\Program Files\abcdef\TestApp\App.exe
I am setting this dynamically using....
TestedApps.Items(0).Path = appPath;
But when I check the TestedApps application path field...
TestedApps Path is set to - C:\Program Files\abcdef\TestApp\
"App.exe" is not being set at application field, its getting trucated. Am I missing something here?
Solved! Go to Solution.
I think this is correct expected behaviour.
Check documentation for the TestedApp.Path and TestedApp.FileName properties.
/Alex [Community Champion]
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
I don't use tested apps at all. I just run a batch that launches the app.
Wrap it , don't wrap it. Doesn't matter. I use wshellrun.
static runBatchFile(batchFile, waitForExit, args = '')
WshShell.Run("cmd /c .\\Stores\\Files\\" + batchFile + " " + args, 1, waitForExit);