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.
Configuring project in TeamCity Its VCS root should point to the Git repository where the code of the Selenium test cases is stored. Create a new build configuration inside this project. Attach it to the project's VCS root. Add the Maven build step.
To run an agent automatically on a Linux machine launch, configure a daemon process with the agent.sh start command to start it and the agent.sh stop command to stop it.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With