| || |
how text exists is verified for all the links clicked within the loop
I appreciate if any one of you could answer my question.
I am new to WR and testing a web application trying to check the web_obj_text_exists for all the links that are picked within the loop. This function takes stores the text to be checked in the text_to_find variable.
My question is if I am picking the links from the loop where will it store the text to be checked for all the links? and Am I doing anything wrong?
Please suggest me. I appreciate your help.
Re: how text exists is verified for all the links clicked within the loop
If you want the name of the links on the page, and since you were using web_obj_text_exists function, I assume your links are in a html table. You can use this function.
loop through the html table incrementing current_Row , further on you can add the names of the links to an array.
hope this helps