I have a question regarding automation activities. I am designing a process for SAP automation. Now have to make a decision based on a background color. If it is red (its a failure) RPA has to do different action as it isn´t red. How can I solve this? How can I grab such a color on screen and bring it to a boolean variable. Problem is, that the red background color can move in table.
Hello Andreas,
as far as I can see is this a list of labels. To detect the background color you can use the ColorIndex property of the SAP GUI Scripting API. At this point you have to leave UiPath and work with a script. If this is acceptable for you, you can find an approach to use SAP GUI Scripting via an external script here.
Best regards
Stefan