Anchor base activity issue while capturing text

Hi, I am facing issue while using the Anchor Base activity.
Here I have to capture the text of Active I have used left side in the Find Element is Status and in Right side in Get Text is Active. But it’s giving me the result Emrate
image

@Lahiru.Fernando @Jan_Brian_Despi @lakshman kindly suggest

1 Like

Hi @balkishan

instead of using Anchor Base, you can always use Get Text and scrape the particular element, make a IF condition like if it is active then you can proceed with your steps

Hope this helps

Thanks

1 Like

I have to capture the Text bro. It’s not always active. So I have to capture the text right after Status field.

Ok, You can take the selector of that field and make it dynamic, take the different types of status selectors and try to fix that

Thanks

1 Like

sorry bro didn’t get you. Actually this Status position is not static on a page. So I am using the Anchor Base activity. Hope you got it

@balkishan

Can you share the selector of the element?

Thanks

image

  • open uiExplorer ,first use Indicate Element and indicate on “Active”
    then use Indicate Anchor and indicate on “status”, you’ll get the Selectors like this

image

  • here change aaname = ‘Active’ to aaname = ‘*’ in the above example it says Total Loss dont worry above that you’ll get like aaname = ‘Active’

  • Copy that entire selector and paste it in Get Text activity.

let me know if this works for you!
cheers
@artem1

@balkishan

I guess you specified Anchor position as Top in Anchor Base activity. If yes then set it to Right and then try once.

1 Like

No, Even If I select Right it’s giving me the result from three rows above.

1 Like