AnsweredAssumed Answered

Successful Selenium Auth failing while WAS scan because browser type restriction!!

Question asked by Karthikeyan Ramasubu on Sep 3, 2014
Latest reply on Sep 3, 2014 by Olivier

Hi,

 

We have selenium script successfully running in selenium IDE, but while running scan it is failing, because of browser type is restricted to IE, Chrome, Firefox.

 

Even we tried to change user agent in option profiles to above option but still failing.

 

Any other feature we can use so that scanner is representing any of this browser so that authentication will be successful?

 

below is the script used by our developers to block any request other than browser.

 

try

{

if (ConfigurationManager.AppSettings["BrowserKey"].ToString().Contains(Request.Browser.Browser))

{ }

else

Response.Redirect("https://www.google.com");

}

catch (ThreadAbortException ex)

{

 

}

  <add key="BrowserKey" value="IE,Chrome,Firefox" />

Outcomes