samedi 19 août 2017

Selenium ide- how to find a string in a text

i have a page of results (like in google result page) there i need to find the string "testing my code and more". if i find the string it will success if not it will fail

the string is in

so i took the whole text in the page the class above : //ul[@class='list-recent-events menu'] i triad to store this whole text page with the command store | //ul[@class='list-recent-events menu'] | vari11 the string i also store with vari22

what is the command that i need to use to find the string in the page i triad assertText |${vari11} | ${vari22} but it allways give me error [error] Element "testing my code and more"" not found

Aucun commentaire:

Enregistrer un commentaire