Forum Discussion
Do you also have licenses for TestExecute? While there are a number of methods that could be used, assuming your automation has a notification process to send an email or post a report to a website, one approach would be to set the VM to auto logon and simply add a batch file with a command line string to run TestComplete to the VM's startup folder. Another possibility is to use TC's distributed testing approach. This would mean that you would need two VMs, one with TestComplete as a 'Master' which controls the test run on a 'slave' VM via TestExecute. The slave VM could be created on the fly from a template but that is somewhat time intensive so a VM snapshotted in a clean, powered off state is what we use. To kick off the test, create a run once type scheduled task on the TestComplete master and the Build machine would then use PSExec or similar to execute the scheduled task on successful completion.
Hi Michael,
Thanks for your response. I was really hoping that TestComplete would have some facility built in to it for launching applications. I wasn't expecting to have something so complex to set up, to be honest - multiple VMs, multiple licences when I'm only using one, etc.
SmartBear/TestComplete say they can integrate with Team Build, but unless there's some facility within TestComplete for launching the newly-built application it seems that it's down to the user to cobble something together. In which case we'll need to create a suitable batch file, which launches the appropriate program, at the end of the build. Our build script could create such a batch file at a known location and then a scheduled Test Complete test step could run that known batch file.
I have to admit I'm disappointed if this obvious feature isn't part of the standard TestComplete build integration. Can it really be the case that you can build your software with Team Build/TFSBuild, and then kick off your tests automatically through TestComplete integration with TFS, but there is no facility to actually run and therefore test the software you've just built?!?
- Marsha_R10 years agoModerator
Is this what you're looking for?
https://support.smartbear.com/articles/testcomplete/testcomplete-and-team-build/#results
Related Content
- 2 years ago
Recent Discussions
- 11 hours ago