Can we select Success and Failure on basis of Screen Colour

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

Thanks
Arjya

@arjyadas,

Depends upon your exact requirment choose from below,

  1. Pick/ Pick Branch With Image Exists
    Find Either of 2 Images in Citrix - #3
    Best practice for Pick activity.? - #5 by Didac
    Execute multiple Image Exist activities at the same time - #4 by acaciomelo

  2. Image Exists
    Image Exists in Citrix - #2 by acaciomelo

  3. Find Image - Note: Error will be thrown if the image is not found

Regards,
Dominic :slight_smile:

Hi @arjyadas,

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.

Regards,
V

1 Like

Hi Vikas
I am using Desktop Application.

Thanks
Arjya

Hi @arjyadas,

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.

Regards,
V

Thanks Vikas and Dominic for your much needed information. Let me try and will let you guys know if find issue.

Regards
Arjya

Hi Dominic,
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?

Hello @arjyadas

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…

https://go.uipath.com/component/colordetector-01cabc

Try it out… let me know whether this helps you…