Forum Discussion

Raj_Qa's avatar
Raj_Qa
Contributor
14 years ago

Running TestExecute from the build server(Team city by jetbrains)


I am trying to integrate my smoke tests, and run them as soon as the build is complete. Using testexecute to run the tests.

I followed this link

http://smartbear.com/support/articles/testcomplete/automated-tests-from-msbuild-projects/

and having some trouble running my scripts



1. I am running msbuild on visual studio command prompt 2010, when I run the .pjs file on my local drive it runs fine. but when I run it on the virtual desktop using the same .pjs file the test fails



The test fails because the browser (IE9) which is launched at the start of the test is not able to stay active or in focus.

So when the script looks for objects within the page it is unable to find them.



My problem is I am unable to understand if the issue is because the browser is not able to stay active or in focus, or because i am running testexecute on the virtual machine due to which certain settings are causing the test to fail.

 But the test fails at a point where its trying to look for page("*") or pagelogin....

1 Reply

  • Hi Raj,



    To help us investigate the problem, please zip your entire project suite folder along with the log of the failed test execution and send us the archive via our Contact Support form. Make sure that messages in your log correspond to the latest version of your tests.