Forum Discussion

mithun_js's avatar
mithun_js
New Contributor
12 years ago

Simply invoke TestComplete thru TeamCity

I have my machine as the build agent configured in TeamCity . All what I want is to invoke TestComplete and executes the .pjs file to complete the test execution. I have a .bat file which is working it out perfectly but when I bring this .bat or the command thru TeamCity it doesnt come up instead it keeps on running indefinitely.



Any help would be appreciated..!!

2 Replies

  • mithun_js's avatar
    mithun_js
    New Contributor
    I could launch the TC using psexec but it runs in background as process. I had to automate testing of a webpage on Firefox. The test case fails on the reason that the browser isnt visible on the screen. The below command is what I had written into a bat file and ran thru thr commandline, but of no use.




    psexec -i testcomplete.exe "D:\TestComplete\XXX.pjs" /run /exit /el:"D:/TestComplete/YYY.mht"



    Any solution or hints could be on the way to my glory..!!


     

  • Hi Mithun,

     


    Please refer to this thread - there were similar discussions in it. Besides, you can find some documentation on using TestComplete with TeamCity there.