How to get text if color background is

Hello everybody.

I really try but…
on this website, how to get text only green objects?

thanks

@Conceito_Taboao

Welcome to forums

As we don’t have access to your website
I can say, check on the selectors that if you are able to get any difference between the Green and Red objects, that where you build your logic

Hope this may help you

Thanks,
Srini

Hi @Conceito_Taboao

You can use the For Each UI Element Activity, check if your selector change with the colors, based on that get the item that cumply with the requirement, you can look for a css part of the selector or something like, support with the UI Explorer to get the correct selector

Regards!

Hi @Conceito_Taboao ,

Do check in the UiExplorer for any one of the Element if you are able to get the Details of the Color. Also Check in the Property Explorer in the Left Panel if there are indication of any RGB values.

Maybe also check on the post below which does the same :

we can detect (when it is a webapplication) with the help of:

@Conceito_Taboao

If the selector is not having any difference then css properties are to be used…and for that you need to use injectjs and get the css properties of each element and check the color

We xan leverage for each ui element to get each items color value

Cheers

which can be done with above mentioned Activity

@ppr

Yes …just mentioned it as using thw above component is possible only with legacy not available for windows yet

Cheers

new version is WIP and will then be offered for Windows

1 Like

Really helpful and needed

EDIT:
with Version 2.0.0 the package is available and compatible with:

  • Windows Legacy
  • Windows

Currently, the marketplace is displaying only Windows compatibility. But is a limit to the website

2 Likes