Question

3
Replies
153
Views
Close popover
Jason Masters (JasonM78)
Southern California Edison

Southern California Edison
US
JasonM78 Member since 2018 3 posts
Southern California Edison
Posted: June 5, 2019
Last activity: June 11, 2019
Closed
Solved

OCR methods not returning results

I have a simple project set up just to validate my OCR methods are working. I'm querying the calculator application on windows, using the GetValueByOCR method. It doesn't seem to return any results. I have an automation watch set on the boolean Result, and it is just an empty value (neither true or false).

The output of the RuntimeLog.txt is like this:

Info | 10:12:39.439 AM | 14 | MTA | ExecutionTracker | | | RegisterArgs: ee3d198e-4680-4ffe-a99d-b894f7a87900 15510466
Info | 10:12:39.454 AM | 14 | MTA | Playback | | Mult_2_4-41334465 | Start^SessionId=ee3d198e-4680-4ffe-a99d-b894f7a87900;TimeStamp=10:12:39.454;AutxId=Automator-8D6D48FE84E76D4
Info | 10:12:39.454 AM | 14 | MTA | Playback | | Mult_2_4-41334465 | Link^SessionId=ee3d198e-4680-4ffe-a99d-b894f7a87900;TimeStamp=10:12:39.454;AutxId=Automator-8D6D48FE84E76D4;LinkId=11;ThreadId=14
Info | 10:12:39.454 AM | 14 | MTA | Automation | Mult_2_4 | CalcProj | Automation: Mult_2_4 - ExecutionLink From: CalcApplication1.Calculator.Created To: CalcApplication1.Calculator.GetValueByOcr() ID: ee3d198e-4680-4ffe-a99d-b894f7a87900
Info | 10:12:39.470 AM | 14 | MTA | Adapters | CalcApplication1 | Calculator-47422476 | Control.GetValueByOcr : Using OCR to get value with Text: [MC], Search Position: Right, Distance From: FromEnd, Distance Limit: 120
Warning | 10:12:39.470 AM | 14 | MTA | ExecutionTracker | | | ExecutionTracker.EnterWait() - Unable to find ExecutionInfo for ExecutionArgs: ee3d198e-4680-4ffe-a99d-b894f7a87900
Warning | 10:12:39.470 AM | 14 | MTA | ExecutionTracker | | | ExecutionTracker.ExitWait() - Unable to find ExecutionInfo for ExecutionArgs: ee3d198e-4680-4ffe-a99d-b894f7a87900
Warning | 10:12:39.470 AM | 14 | MTA | ExecutionTracker | | | ExecutionTracker.EnterWait() - Unable to find ExecutionInfo for ExecutionArgs: ee3d198e-4680-4ffe-a99d-b894f7a87900
Warning | 10:12:39.470 AM | 14 | MTA | ExecutionTracker | | | ExecutionTracker.ExitWait() - Unable to find ExecutionInfo for ExecutionArgs: ee3d198e-4680-4ffe-a99d-b894f7a87900
Warning | 10:12:39.470 AM | 14 | MTA | ExecutionTracker | | | ExecutionTracker.EnterWait() - Unable to find ExecutionInfo for ExecutionArgs: ee3d198e-4680-4ffe-a99d-b894f7a87900
Warning | 10:12:39.470 AM | 14 | MTA | ExecutionTracker | | | ExecutionTracker.ExitWait() - Unable to find ExecutionInfo for ExecutionArgs: ee3d198e-4680-4ffe-a99d-b894f7a87900
Warning | 10:12:39.470 AM | 14 | MTA | ExecutionTracker | | | ExecutionTracker.EnterWait() - Unable to find ExecutionInfo for ExecutionArgs: ee3d198e-4680-4ffe-a99d-b894f7a87900
Warning | 10:12:39.470 AM | 14 | MTA | ExecutionTracker | | | ExecutionTracker.ExitWait() - Unable to find ExecutionInfo for ExecutionArgs: ee3d198e-4680-4ffe-a99d-b894f7a87900

Any clues on what I'm doing wrong? Do I need to configure something in Pega for OCR?

Robotic Process Automation
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.