Selenium tests work manually but not through azure agent

Beriwale Nazim PUN FIPS11 0 Reputation points
2023-05-17T12:24:12.4133333+00:00

We are working on implementation of Selenium Automation in Azure pipelines.

Since these automation tests are UI based we are creating the azure agent as a autologon.

We have some 4 demo test cases in the Pipeline however we are observing that the browser in which the automation test case runs loses focus (on the azure client machine)

 And the testcase gets locked and times out. However these test cases work fine on our individual machines. Is there someone who has faced such issue in automation who can help?

 

Using the exact same environment (same machine used as azure client and the account ) we manually login to the machine and run the test cases manually it works fine. Only when it is run throught the pipeline it fails.

Chrome version : 113.0.5672.93 (Official Build) (64-bit)

Chrome driver: 113.0.5672.63

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,659 questions
0 comments No comments
{count} votes