Capture value that changes position

hey guys!

I need to collect a value in a system, but every time it appears in a different location, the field has an anchor. How can I solve this problem?

See examples below. The anchor is “ICMS” as only this word does not vary.

NOTE: I need to collect the ICMS amount


Use modern, as you always should be. Use the Get Text activity, indicate the value as your target and ICMS-DIF as your anchor. If it can be other values after the dash, ie ICMS-XXX, then after indicating that anchor change the value in the anchor selector to ICMS-*

Another thing you can do is use UI Explorer to look at that value and see if there are any properties like rowname=“ICMS-DIF” that you could use to identify it.

@amanda.gondim

Use get text activity it will get the value based on anchor.

If it wont work use CV get text

Happy automation