Bot doesn't click the required element

Hello everyone,

I need to display as many items per page as possible, but the bot keeps ignoring the other options and just clicks on the first one. I have 15, 30, 50 and 100 items per page, but they appear differently depending on the total number of items, as displayed in the image below.

So what I was trying to do was a parallel check and I am using the element exists activity to determine which page number appears

I tried two options for the selectors:

  1. capturing the item by id (for example 100 items per page is the 4th on the list so idx=‘4’)
  2. capturing the item by name (100 items per page would be aaname=’ 100 ')
    and the condition inside the parallel check is

page100 OrElse page50 OrElse page30 OrElse page15

I also tried with

page100 Or page50 Or page30 Or page15

and the bot keeps returning true only for the value 15. What could be the issue with this?

A typical strategy is:

  • use find children and get all dropdown items
  • evaluate the highest number / last entry
  • use details for the item select

We can use alternates for the find children like for each uielement, datascrapping for the drop down values and others

Another option could be

  • evaluate with element exists the hignes dropdown entry within a cascade

For each activity item in {“100”,“50”, “30”,“15”}

  • then check and stop the loop with a break activity

thank you! I used find children, then the get attribute within a for each loop and it works.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.