Use assertElementPresent in conjunction with xPath:
store "http://yourwebsite.com" baseURL store your/test/page/ test_page_URL open ${baseURL}/sitemap.xml assertElementPresent //*[contains(text(),'${baseURL}/${test_page_URL}')]
The Selenium IDE is not intended for XML pages, so it took a lot of experimentation before I could figure out how to get xPath to work in order to find the text.
This last line basically says:
Confirm the existence of the string '$ {baseURL} / $ {test_page_URL}' anywhere on the page (with values ββfor the variables baseURL and test_page_URL connected).
source share