Forum Discussion

TK6666's avatar
TK6666
Contributor
3 years ago

Test failing when running them in Test Execute but passes when running in test complete

Hi there.

Help please

 

I have recorded a test in test Complete which needs to launch a desktop application Client by clicking on the UI Main icon.

This test passe when i run it in Test Complete but is failing in Test Execute.

I have test Complete set up on my physical machine and Test Execute is set up on my desktop/remote
This is the error i get when the test fails in Test Execute

 

 

Please advise why this is happening as it is now preventing me from getting my nightly tests to run with the command line option with the Task Scheduler set up.

This is the bat file that was created to run the tests automatically at night that i want to use in the task scheduler set up but I need the test to pass first in test execute.

"C:\Program Files (x86)\SmartBear\TestExecute 15\x64\Bin\TestExecute.exe" C:\DSTests\WHClient\WHClient.pjs /run /exit /Project:"Project_WH Client" /test:Launch_WH_Client

 

Thank you