Skip to Content

How to loop over Page Item List to select an item by Text IRPA

I want to select a value from a dynamic list of values just like a search list. I have stored the LI element of that list as an item in the page.

Now i want to loop over all the occurence of the item and select the one with a certain displayed text value.

Please help me with the correct approach to do that.

Thanks in Advance.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 20, 2020 at 09:27 AM


    Try to define the element by setting criteria TAG=LI then ticking the occurs property. Now you can loop through all the occurence and access each item's text by:


    which c stands for the loop index



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.