Forum Discussion
Solved
heidi_n
7 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.
- baxatob7 years agoCommunity Hero
- shankar_r7 years agoCommunity Hero
The same has been discussed in below threads,
- heidi_n7 years agoRegular Contributor
But non keyword tests don't have the Tested Apps section, right? We are not using keyword tests.
- tristaanogre7 years agoEsteemed Contributor
The "TestedApps" object can be added to any project and called by either KeywordTests or Script code.
- AlexKaras7 years agoChampion Level 3
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.
- tristaanogre7 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.
Related Content
Recent Discussions
- 23 hours agojstaehlin