Running selenium automation tests on remote teamci

2020-05-27 11:14发布

Recently we started using Teamcity for build management and to run selenium junit tests using ANT scripts. The tests are running successfully and shown as passed on teamcity console. When the tests are running if I login to the build agent machine, I was expecting to be able to see the browser window open and fields getting populated and submitted. I don't see the Firefox browser window open, wondering how my tests are passing. When I run the same test scripts in Eclipse, the Firefox browser window is opened and the web page fields get populated.

Appreciate your comments.

1条回答
孤傲高冷的网名
2楼-- · 2020-05-27 12:01

Because TeamCity build agents are run as a Windows service. So you won't be able to see the actual GUI.

If you want to change it, please change your build agent installation.

查看更多
登录 后发表回答