Using Selenium, how can I test a web UI that returns XML instead of HTML? Using Selenium, how can I test a web UI that returns XML instead of HTML? selenium selenium

Using Selenium, how can I test a web UI that returns XML instead of HTML?


Selenium's killer feature is running tests as if it were the browser and this primarily means testing Javascript. If your program is just using HTTP and XML then Selenium is overkill. Go with WWW::Mechanize and Test::XML or Test::XPath