Quantcast
Channel: Silk Test - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 625

Run STW command from Excel and Determine Success/Error

$
0
0

I have a SilkTest Workbench .Net script that reads commands from an Excel spreadsheet, such as START MY.EXE, OPEN DIALOG XXX, etc.  The silk script will execute each of the commands.  I added a button to the Excel file to run the script using the command line (wsh.Run "cmd.exe /S /C stw -s myscript", windowStyle, waitOnReturn).  I want to be able to determine within the spreadsheet vba code if the silk script was successful or not.  I saw some posts on checking %ERRORLEVEL% but I didn't see that env var after running the stw command.  Any help is appreciated.


Viewing all articles
Browse latest Browse all 625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>