perl - How to Verify a Page is loaded Succesully -
hi have 1 url open page in xml format. there no style information page when trying use
asserttextpresent();
for verification of text on page showing error
couldn't access document.body. html page loaded?
is there other way verify page loaded.
i using perl language selenium rc. using open function launching page.
this not perl question. checking whether page loaded or not client side concern , can use javascript tackle this. ajax, on xmlhttprequest object, check status code of 4 , response code of 200, pretty done.
Comments
Post a Comment