I am using Selenium IDE in FireFox.
I want to write an IF statement that will search through all text() on page, if it finds matching text echo "Found it", else echo "not found".
Where I have got so far:
*somehow search here hopefully Stackoverflow save the day* store | FOUND IT | found store | NOT FOUND | notfound if | ${test}==true | echo | ${found} | else | | echo | ${notfound} | endIf | | Please do not give me JavaScript code etc..., I am using the FireFox addon IDE.
Thank you!
Selenium IDESelnium IDE. I do know that in the plugin there is an optionassertBodyText(pattern). This will check if the passedpatternis in the page source which seems to be exactly what you want.