Solved
Forum Discussion
heidi_n
9 years agoRegular Contributor
Basically, I want to run this bat file before I run any of my normal TC scripts for my web app. I have all my web app scripts ready, but I'm not sure how to launch the bat file/make it run at the beginning of my test.
AlexKaras
9 years agoCommunity Hero
Hi Heidi,
> how to launch the bat file/make it run at the beginning of my test.
Consider to execute your .bat file from OnStartTest event handler.
- tristaanogre9 years agoEsteemed Contributor
Or, even another option, use the WshShell.Exec method to execute a command line of any type, including executing a batch file.