0
votes

We have few test cases automated using Selenium and C#. We need to run our tests in Internet Explorer 11. Test case executes perfectly in local systems but when we do the test run remotely using Azure Devops server test execution happens but screenshots are not captured properly it's coming blank.

Anyone encountered this issue of blank screenshots in IE browsers in Azure devops server?

If tests are executed in Chrome then screenshots are captured perfectly.

1
How about the issue? Does the answer below resolved your question, If yes, you could Accept it as an Answer , so it could help other community members who get the same issues and we could archive this thread, thanks. - Leo Liu-MSFT

1 Answers

0
votes

When Selenium test execution is triggered in Azure devops server screenshots are not captured for Internet explorer browser

According to your description, it seems this issue is more related to the Internet Explorer 11 settings or any other different on the hosted agent.

Anyway, to resolve this issue, we have to debug the Internet Explorer 11 on the hosted agent. However, we could not access the hosted agent directly, it will be hard to debug it.

As workaround, we could setup private agent:

How to Set Up a Private Agent in Visual Studio Team Services

With private agent, we could execute selenium test by the local Internet Explorer 11.

Hope this helps.