Access Denied for website on this server while executing Selenium via Jenkins

Access Denied for http://www.example.com on this server

Somehow, it happened that random tests started failing frequently and all the below tests got skipped during scheduled headless Test Suite Execution via Jenkins on a Windows Server since last two days.

Interesting part is, tests run absolutely fine while invoked on the browser via Maven or Testng.xml file. Selenium captured screenshots were somewhere like: 

 I googled a lot, still did not get any result in order to fix this up. I don't know why, but it just clicked and checked the browser version on the Windows Server. There was an update available. As soon as I updated the browser version, Test execution started working fine as usual.

None of the tests got failed or Skipped due to Access Denial again. May be it would work for you too! Happy Testing :)

Access Denied for website on this server while executing Selenium via Jenkins Access Denied for website on this server while executing Selenium via Jenkins Reviewed by Ishan Dev Shukl on December 14, 2018 Rating: 5

No comments:

Thanks a lot for your valuable Comment!

Powered by Blogger.