Posted: 11 Apr 2017 0:46 EDT Last activity: 26 Aug 2020 8:41 EDT
Getting Incorrect Result for Calculator Application using Robotics Desktop Automation
I have integrated RDA with Pega 722 and trying to automate the Calculator Application to Perform sum of two numbers(6+4) and return the result to Pega. But Getting incorrect results like 6 or 4 to Pega.
The result always generated correctly in Calculator Result box but the value which is coming to Pega is not correct. I'm thinking may be my Automation flow is need to be corrected.Please Find the attached automation flow.
Your result field is already created so your wait for create is not causing a pause to allow the calculator to compute the results. The proper way to code this is to wait on an event that tells you the control is updated. The calculator will throw a text changed event on your result field each time it changes. So, that is what we wait on.