Selectors unable to find the UiElement

I have used Get Text activity in amazon website to get a products ASIN number. The Asin number provided as a list tag in one page and it is given in a table in another page. I am able to get text using different activity and selectors for each page . How to use a single selector for both these pages.
The image shows a snippet of an automation task labeled "Get ASIN number of current url" with the ASIN "B0CWY68H2B" being extracted and saved to a variable named "AsinNumberOfCurrentUrlPage." (Captioned by AI)

Here are the two pages.
Page 1

Page 2

@John_Raj,

Use Pick Branch activity. This will give you option to get text from multiple selectors. So whatever selector available on the screen, bot will extract from it.

Tutorial here.

Thanks,
Ashok :slight_smile:

1 Like

as you already mentioned it can appears within two different structures:

  • table
  • ul/li lists

when both structures are differing too much maybe it is better to implement both extraction types seperated and selecting on runtime which one is to use

feel free to share with us two links (one for table structure, one for list structure) and we will have a second look on this

1 Like

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