I need to make a verification (or something alternatively) for a click action on “three dots” next to the SKU which should be the same as in the search bar. I need this verification because there is an action that is before that which types SKU into the Search bar and the result can give many items with similar SKUs but I need to click next to (anchor) the same SKU as in the Search bar. Please see the picture I attached.
p.s. My sequence contains “For Each Row in Data Table” so the SKU in the Search Bar are always different
Many thanks, hope I was clear.
Hey @babunezab ,
You can use Anchor Base Activity
You can use Find element at the right side and make the selectors dynamic
Left side use a Classic click activity and target the 3 dots
1- Get the SKU in the search bar and save it to a variable.
2- Extract the resulting SKU as a table.
3- Loop through the table to find the SKU extracted in step 1. Save the index where it was found.
4- Play with the 3 dots’ bottom selector to find a selector that has an idx. For example, if you put 1 to that index it clicks in the 3 dots of the first results and if you put 3 it clicks to the third result.
5- Make the click of the 3 dots selector variable so that the idx of that selector is the idx of the SKU found in step 3.
then indicate the selector by selecting this element
but replace the sku number with a variable to make it dynamic
you can use variables in the selector by typing {{variableName}} inside the selector @babunezab