Help how to extract text from button

hi, i need help on how to extract text if its a button on a website.

Lets say that i want to extract the text “SIGN UP” from facebook.com

thank you so much.

1 Like

Hi @mayaumayah

Welcome to the community.
To achieve this you can simply use the activity get text.

Regards,
Reda

1 Like

Hi
welcome to uipath community
in addition to what @reda suggested we got one more option like using GET ATTRIBUTE activity
where choose that element and get the value of attribute “aaname” and store that in a variable of type string named str_attribute
now this str_attribute will have the value of the button as a string
for more details on this activity

Cheers @mayaumayah

1 Like

Hi @mayaumayah

Use Get attribute activity in drop down select “aaname”

image

Regards,
Kommi Jeevan.

2 Likes

Hi @mayaumayah,

You can simply use Full text activity it will work

image

Or

Get attributes also a good practice because aaname will not change

If you find it useful mark it as solution and close the thread.

cool,
Regards,
Gulshiyaa

1 Like

Hi, thank you so much for the suggestion.

Thank you so much for the suggestion. very helpful.

cheers @gulshiyaa

Hi, thank you so much for the suggestion, very helpful. i’ve been struggling to extract a text from one of my project.

cheers @Palaniyappan

1 Like

Hi, thank you so much for the suggestion. Very helpful.

Cheers @kommijeevan

Cheers @mayaumayah f you find it useful mark it as solution and close the thread.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.