How we use get attribute activity using if condition?

i have a word with 2 colors and get it with automation but the error is when i add both color then ui give the error similar words error and if i want add a single word then UI give error match not found .

Can you add screenshots of your code and the error you are getting?

@ighrlhr

Welcome to the community

Can you please elaborate or show some screenshots please

Cheers

Are you trying Get Text activity??

Give AA name as FirstColor* and check whether this is working fine or not.

If your requirement is different - Kindly share more details

Bro i have a word with two colours Let spose its “group”
and The condition is that through automation in Excel, numbers should be taken one by one and entered into a website. If the answer on the website appears the “group” word into green , it should write ‘Yes’ in Excel. If the answer appears in black, it should write ‘No’ in Excel. but the problem is when i add one time text “group” to th ui path it give the error when he get other color

But if i add both color green or black of the word it gives the error

please help me what i can do. I am new to UiPath so helping me in solving this problem.

Hi @ighrlhr

Pls check with,-

i did not found this activity

@ighrlhr
pls try to intall this package:
UiPath.UIAutomation.Activities

sir i have a word with two colours Let spose its “group”
and The condition is that through automation in Excel, numbers should be taken one by one and entered into a website. If the answer on the website appears the “group” word into green , it should write ‘Yes’ in Excel. If the answer appears in black, it should write ‘No’ in Excel. but the problem is when i add one time text “group” to th ui path it give the error when he get other color

Can you attach screenshots of the website and how your excel file looks? Also,“when i add one time text “group” to th ui path” how are you adding this word to UiPath right now(What activity are you using)? If possible, paste the selector for this activity.