Forum Discussion
Hi,
I consulted our developers, and here is what I found out:
* Batch files don't allow accessing the active object (for example, the opened window of TestExecute) that was activated from another batch file. That's why it's impossible to open TestExecute in one batch file and then load a test project to it from another batch file.
* So, to perform the task you need, I recommend that you do the following:
1. Create a main batch file that will run TestExecute.
2. Create a VBScript file that will access the opened window of TestExecute via COM and load the project to it. Working with TestExecute via COM is similar to the approach used for TestComplete. For more information, see the Working With TestComplete via COM - Overview help topic.
3. Run the created VBScript file from the main batch file right after you open TestExecute.
I hope this information helps :)
Related Content
Recent Discussions
- 55 minutes ago