Can Selenium IDE validate text on XML page

I have an application that returns an XML string (type text / xml) for one of its pages. The result is returned "inline", so when I load this page in Firefox, I see an XML string.

I want to use the Selenium IDE plugin in Firefox to check if any text is present on this page. However, when I try to do this using the VerifyTextPresent , I get a Couldn't access document.body. Is this HTML page fully loaded? error message Couldn't access document.body. Is this HTML page fully loaded? Couldn't access document.body. Is this HTML page fully loaded? .

Is it possible to perform this kind of validation in Selenium on XML output? If so, how?

Here is a snippet of what the page creates:

 <?xml version="1.0"?> <alerts time_generated="2011-01-20 20:34:01" version="2.00" time_generated_epoch="1295584441"> <alert> <client_updates/> <contact_firstname>Brian</contact_firstname> ... 
0
source share
1 answer

Selenium does not support the validation of text present on an XML page. However, the extension assertTextPresentXML exists .

+1
source

All Articles