Unable to set TestedApps Path dynamically
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unable to set TestedApps Path dynamically
Hi,
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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);
}
