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

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -