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.
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