Best way to Automate TestComplete test runs
Hello,
I have a set of TestComplete Projects (for a desk top application).
I can get the tests to do what I want to do running them manually from test Execute on a test virtual machine, but I now need to automate the running of the tests in these projects.
I've spent a day out of my comfort zone trying to figure out if the best way to do this would be to try to automate the tests at the end of a TFS build, or to create a batch file which can be kicked off by a task scheduler.
Our situation is: We have a build machine on which the latest code is built using an TFS Build definition.
This copies an installer for the application to a different virtual machine set up with Test Execute, on which we want to run the tests. Like I said, if I run the tests manually using Test Execute on this machine using Test Execute everything works OK, I can install a fresh version of the application and run tests against it.
I think it will be relatively straightforward to automate the tests following the guidance at:
https://support.smartbear.com/testcomplete/docs/working-with/automating/index.html
However, I can't figure out if this is the best approach, bearing in mind we also want to start using TFS Test Plans, which will be available to developers and manual testers, with the idea the test cases are finally linked to a test in Test Complete.
Am I right in thinking, that if we want to use the Test Plan approach we will only be able to do this on our build agent machine (which we don't really want to install Test Execute on).
Thanks in advance,
Dan
Try using the TFS/Azure TC/TE Test Adapter. You would setup your test agent with TestExecute and the "Visual Studio Test Platform".
Your TFS would tell the TestPlatform(agent) which would have the Adapter and talk to TestExecute.
Thanks for for that. I'll have a go at setting it up.