Ask a Question

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

TK6666
Occasional Contributor

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

 

TK6666_0-1664786182467.png

 

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

1 REPLY 1
rraghvani
Super Contributor

See Managing Tested Applications, to launch your application. Providing you have your application in the same directory path, it will work with TestExecute too.

cancel
Showing results for 
Search instead for 
Did you mean: