Forum Discussion

tpoirier's avatar
tpoirier
Contributor
12 years ago

Running tests remotely via command line

What I am trying to do is run a test remotely on another machine everytime we deploy an update to our qa environment. 



To accomplish this we are using Bamboo to pull the latest version of the test from our repo then push those files to the remote machine. Then it will update another file in another folder on that same machine. 



On the remote machine we have a Task Scheduled to watch the second folder for updates and when it sees an update fire off a TestExecute test given the test name. With the following passed in as an optional argument. "C:\TestComplete\ICS 8 Test Automation.pjs" /r /e /SilentMode



The test it runs tests a website based in IE and when we deploy using Bamboo the remote machine will see the change and fire the event and I can see TestExecute started in the Task Manager. 



If we are running a test in Silent Mode will TestExecute still be able do a GUI based test?

1 Reply

  • Your question: If we are running a test in Silent Mode will TestExecute still be able do a GUI based test?



    Answer: Yes. I think silent mode is just disabling all questions from TestExecute/TestComplete during your test execution. 



    However, when you schedule a task for TestExcecute from Windows Task Scheduler, you must schedule it with the option "Run only when user is logged on", or else your test will be failed to interact with GUI. (
    http://support.smartbear.com/viewarticle/28538/). The same thing, you have to guarantee the test machine is not locked during your test execution (http://support.smartbear.com/viewarticle/28270/)



    Hope it helps.