Building virtual machines using a task sequence selection choices in a command window
- 5 years ago
The general rule for TestComplete is that it is just like a person and it has to be able to "see" and "touch" the windows that it is working in.
What we used to do in similar circumstances was have command line scripts outside of TestComplete for the different versions of the vms and have TestComplete start the script but not have to actually know how to create the environment, etc. You can set up a user input box inside TestComplete if you want the user to be able to pick the windows version at run time.
We did this because we didn't need to test the build process, so there was no need to have TestComplete click buttons or type in boxes or anything. We just used TestComplete to start the process up before it got to the real testing where we needed the scripts inside TestComplete for checkpoints and such.