Extract Background Color of a block in the table

Hello everyone,

I’m having trouble extracting data table values and their background color. I need to extract both the values and the background color of each cell in the data table. Sometimes it becomes orange or blue so in this condition I want to generate an alert in a form of sound.

I have attached the screenshot of a table below which shows the cells of a table.

Does anyone have any idea how to extract both the values and background color of each cell in a data table? Any suggestions or tips would be greatly appreciated.

Thank you in advance!

@Muhammad_Anas_Baloch

  1. Values you can use table extraction
  2. If you need background color then you have to go with for each ui element activity and go throigh each cell and then use inject javascript to get the css properties of the cell to get the background color

If using windows legacy compatibility then you can use this component instead of inject js

Cheers

1 Like

How do I know that I am using this?

@Muhammad_Anas_Baloch

Open projects from left menu on studio

And the first line you would see the comptibility beside project name

Cheers

So such thing found there

@Muhammad_Anas_Baloch

Beside dependencies in brackets for this it is windows, similarly you can check yours

Cheers

1 Like