cancel
Showing results for 
Search instead for 
Did you mean: 

Surface Automation issue in BP v4.2

AkshikaSaxena
Level 2
Hi, I am trying to replicate the work on other systems so I can run my process on different machines. I used surface automation in object. I am facing issue while working on other machines. I checked all system properties like resolution, screen colour, font smoothening etc. but no luck. Any comment is appreciated. Thanks  
2 REPLIES 2

Denis__Dennehy
Level 15
There must be some difference between environments/screens for Surface Automation to work in one but not the other - it is a rabbit hole of investigation you need to look into. Font smoothing, resolution, color differences (different graphics cards can display different colors), different magnification settings in windows, different zoom settings in an application, different application performance with bad wait stage logic.  etc ,etc. The most robust Surface Automation interfaces will use image searching to find screen element locations and then base clicks/keystrokes upon an offset from that image location.  You should also build logic to wait for these images as part of your intelligent waiting logic.  You should also use the color tolerance option in the image search object to allow for difference in colors.  The Surface Automation training for 4.2/5 details all these techniques.

MelissaSuarez_G
Level 6
Did you checked if you are capturing the window's titled or text on your application modeler? If you do, make sure that the name or text doesn't change from one machine to another. That was the issue on one of our automations that uses SA.