What part of the message are you trying to verify?   I wrote some tests that do 
this,  by simply verifying part of the text on the page.   For example,  if the 
page returns ERROR 404, page not found!      I might just right in the test to 
verify the text "page not found"   since that would not appear anywhere else,  
and 404 might pertain to an area code,  or something else...    Hope this helps!
Daniel T

I am writing canoo test for testing an error condition, i am getting error 
response from the server but not able to verify the error message. 

Can some one from this group help me out.

Thanks
Taheer Mohd





      

Reply via email to