How can I fetch the only Total amount from the WebPage?

hello I Stucked at the point

Suppose I have one webpage and that contains the some data with Amount and Total Amount

So i want to fetch only Total Amount. I have tried too many times

but in some scenario there is same amount multiple times so bot will pick any appeared amount but i only want to Total amount.

for better Understanding of Problem statement i have attached SS.

Temp SS
Screenshot 2022-06-07 074325

how can i fetch the Total Amount in webpage.

i tried ctrl+f Searching tool and used element Exists but it found first occurance amount i want to check Total Amount.

1 Like

Hey @kishan.savaliya

Use Get Text activity and indicate the element.

Make sure the target selector has a unique identifier in it which is nothing but the label total amount.

If you can’t frame the selector as above, you can go for anchor base (but most probably 90% you should be able to setup the right selector)

Hope this helps.

Thanks
#nK

1 Like

Hello @kishan.savaliya

If youa re getting the entire text after Get Text activity, then you can use a regex to get only the Total Amount-873.56

Use the below regex expression:

([Total Amount-]+\d+.+\d\s)

Indicate Anchor of Total amount in Get text activity.

1 Like

@Nithinkrishna @sb001 Thanks for reply, i have tried Get Text (Indicate Anchor), Anchor base, Find element but it won’t working…

@Rahul_Unnikrishnan Let me try this one.

1 Like

Hey @kishan.savaliya

Please show us a snap ?

Thanks
#nK

@kishan.savaliya Hello how are you? =)
I have a question about your Calculate Client Security Hash that I found in another post, but it’s closed to answers there. I came here to try to get in touch with you, hehe. Can you help me?

You can click people’s name and send them a DM.

1 Like

@sheCode I’m Fine . What about You ?

What is your Concern in Assignment ?