Can we select Success and Failure on basis of Screen Colour


#1

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


#2

@arjyadas,

Depends upon your exact requirment choose from below,

  1. Pick/ Pick Branch With Image Exists
    Find Either of 2 Images in Citrix
    Best practice for Pick activity.?
    Execute multiple Image Exist activities at the same time

  2. Image Exists
    Image Exists in Citrix

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

Regards,
Dominic :slight_smile:


#3

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


#4

Hi Vikas
I am using Desktop Application.

Thanks
Arjya


#5

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


#6

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

Regards
Arjya