Using Selenium, how can I test a web UI that returns XML instead of HTML?
Posted
by Kurt W. Leucht
on Stack Overflow
See other posts from Stack Overflow
or by Kurt W. Leucht
Published on 2010-05-28T15:21:53Z
Indexed on
2010/05/28
15:42 UTC
Read the original article
Hit count: 462
I'm using Selenium to unit test my Perl cgi script and all works fine except in one case where my cgi script returns XML content to the web browser instead of returning HTML content.
I'm new to Selenium and only pasted in their sample script to get started, but I can't seem to find a Selenium command in any of the documentation that will recognize that my XML response has been returned. The Selenium commands seem to assume that an HTML page is always being returned.
© Stack Overflow or respective owner