Prevent Interactive Service detection Prompt

Hi,

 

I have setup a TeamCity instance on our local machine. Post to that we have written a sample Selenium ( Specflow, Nunit, C#)  project which in turn opens up a browser and executes some test case written in .net application.

 

Whole assembly i.e. .Net project for test automation, I have configured it on the Team City server. I have also added a Agent machine successfully and below is the log obtained once we run the application –

 

Since we can see the build is finished successfully but no test automation works i.e. browser opens but stuck up behind above window when we run this through TeamCity. Please guide.

0
1 comment

Hi,

 

please make sure that the user running the agent has appropriate permissions to run the process properly, without interactivity. TeamCity will try to open the browser you request if it has the appropriate permissions, but it cannot interact with windows that might show up, so you need to ensure that the tests are fully automatized, including this kind of windows.

 

If you face issues, I can recommend taking a look at this forums, search for selenium, or google search selenium teamcity. There is a lot of different issues that can arise through trying to test UI components on an automated system, and the different issues have different solutions that are very hard to address from a single place. It's not unlikely that the issues you are facing have been brought up before.

0

Please sign in to leave a comment.