How to set condition to click on the particular number?

Hi Folks,

I want to click on the number corresponding to Content “Credit”. But since the bot finds the same numbers (as circled in Image 41234334) corresponding to “Invoice” it clicks on invoice. i do not want that..

I have used Lookup Data Table activity and Provided RowIndex using Variable in the Selectors.

Can I specify a condition in Lookup Data Table which clicks only beside “Credit”.

You can set anchor as Credit and target as the number

Where do I set the anchor ? Please Guide

Can you send the site, so i can provide an appropriate selector

hi @Chetan_Wagh

As you mentioned row index as its not unique

provide a unique values in the selector of click Activity like use Credit also,which makes the selector work more effectively

cheers

Hello @Chetan_Wagh

  1. Identify Column Indexes:
    First, you need to identify the column indexes where the “Content” and “Number” columns are located in your data table.
  2. For Each Row Activity:
    Use the “For Each Row” activity to iterate through each row in your data table.
  3. Inside For Each Row:
  • Use the “Get Row Item” activity to retrieve the value from the “Content” column for the current row.
  • Add an “If” activity to check whether the content is “Credit.”
    • If the content is “Credit,” use the “Get Row Item” activity again to retrieve the value from the “Number” column for the current row.
    • Perform the click action on the element corresponding to the retrieved number.

Thanks & Cheers!!!

Its a portal where you need to login. Sorry :cry: . Can you tell me in general approach ?

  1. If you have already selected the value, go to click properties panel and click → Three dots near strict selector
    image

  2. Click open ui explorer
    image

  3. Use Indicate Anchor and click on credit, then use indicate target and select the number you want.

  4. Then click on save

Thank you so much ,…

1 Like

Glad to be of help!!

Hey @Chetan_Wagh,

If there are no more queries you can close this post by marking the appropriate answer as solution by following Forum FAQ - How to mark a post as a solution, so that people wont be stuck in the loop