cancel
Showing results for 
Search instead for 
Did you mean: 

Blue Prism Version 6 | Surface Automation | Region mode spying issue | Unable to identify the calculator result display screen to fetch the calculated values .

YogeshBarge
Level 2
Hi John / Team , I am facing a problem with region mode spying . Application is our Windows OS by-default Calculator . Spied some random numbers and the result display screen . While trying to read the result value after the mathematical operation , the code is unable to identify the result screen spied using the region mode . Note : While spying the by-default number "0" is included at one's place . I suspect its due to the retain image option under the Behavior section of the results which is set to "True" and we are unable to change it to "False" . So when the result is say "1234" the screen is not being highlighted . But when the result screen has "0" ( as during the spying) , then only the region is getting highlighted . Am I missing something ?. Can you guide us on how to make sure the region is identified when the code is run with any value inside it.  Blue Prism version we are using is V6 . Attaching the screenshot having the region we are trying to capture and its Result parameters .   Regards, Yogesh.      
1 REPLY 1

John__Carter
Staff
Staff
Hi Yogesh - by choosing 'Image' Location Method you are telling BP to make the design time image part of the element's identity. Try and Location Method=Coordinates and Retain Image=False instead. With these settings you are saying the region purely a 'geographical area' bound by coordinates, and the design time content of that region is irrelevant.