Forum Discussion
Solved
heidi_n
8 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.
- baxatob8 years agoCommunity Hero
- shankar_r8 years agoCommunity Hero
The same has been discussed in below threads,
- heidi_n8 years agoRegular Contributor
But non keyword tests don't have the Tested Apps section, right? We are not using keyword tests.
- tristaanogre8 years agoEsteemed Contributor
The "TestedApps" object can be added to any project and called by either KeywordTests or Script code.
- AlexKaras8 years ago
Champion Level 1
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.
- tristaanogre8 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.