We need to find Success and Failed Transaction Case Numbers on basis of screen colour.If the Screen colour is “Yellow” then Success.If the Screen colour “Red” then failed.Case we find on basis of screen colour.Do we have any functionality in UI Path that recognizes on basis of screen colour.
Can you specify the application which you are using?
We can take elements of both the colors and use element exists but I can only suggest as application type and behavior is very important.
I am using Desktop Application.
Then probably you can check for elements/selectors and use it for color identification. It will more stable and less exception prone.
If no selectors are found then we can achieve it with “Image Automation” as mentioned by Dominic.
Thanks Vikas and Dominic for your much needed information. Let me try and will let you guys know if find issue.
I think that pick branch is the most suitable solution but on the other hand Sometimes using Pick branch with image exists activities causes something like the deadlock. I don’t know why but that’s what I encountered while using them. Have you encountered something like that before?
I had this same requirement few weeks back when I wanted to capture a rating based on the color of the starts of different things. I used the below UiPath Go component to capture the color of the screen of a specific location… It helped me to get the same decision that you want to make here based on the color…
Try it out… let me know whether this helps you…