Ask a Question

When verifing links with hash (#) in url, XmlHttpRequest object always returns 400 BAD REQUEST

tristaanogre
Community Hero

Re: When verifing links with hash (#) in url, XmlHttpRequest object always returns 400 BAD REQUEST

Please show your full code.  I'm curious as to why it failed to find the broken links.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
bb1832j
Occasional Contributor

Re: When verifing links with hash (#) in url, XmlHttpRequest object always returns 400 BAD REQUEST

For the Web Accessibility object?  There is not a lot of code...

function WebAccessibilityCompare()
{
  var WebObject;

 

  // Obtains the WebAccessibility object
//  WebObject = WebTesting.WebAccessibility1;
//  WebObject = WebTesting.WebAccessibility2;
//  WebObject = WebTesting.WebAccessibility3;
  WebObject = WebTesting.WebAccessibility4;
  // Checks the web page
  // If the verification fails, posts a warning message to the test log
//  WebObject.Compare(Page, true, 1000, lmWarning);
//WebTesting.WebAccessibility1.Check();
//WebTesting.WebAccessibility2.Check();
//WebTesting.WebAccessibility3.Check();
WebTesting.WebAccessibility4.Check();

}

cancel
Showing results for 
Search instead for 
Did you mean: