• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
        • Enterprise Synthetic Monitoring
      • Synthetic Classic
        • Synthetic Classic Open Q&A
  • Home /
  • Public Forums /
  • Network Application Monitoring /
  • Enterprise Synthetic Monitoring /
avatar image
Question by Jakub S. · Mar 01, 2016 at 09:46 AM · scripting recorder ocr

OCR - transaction did not complete (give up)

Hi,

I created test script for Chrome browser but I get "Transaction did not complete - give up" when WaitForTextOCR function is used.

Below is a part of the script:

ResetRect rectIn
rectIn.Left = 110
rectIn.Top = 125
rectIn.Width = 90
rectIn.Height = 25
    
SleepFor 3, "Sleeping"
    
AddTransaction "03_alert_screen_open_ch"
    
ShowStatusBox "Loading Fraud Module Page", True
   
Window("Application=CHROME.EXE Caption='Page Title Undefined - Google Chrome'").Attach
        Window("Application=CHROME.EXE Caption='Page Title Undefined - Google Chrome'").Type "{Return}"
    
StartTrace "03_alert_screen_open_ch"
        WaitForTextOCR Window("Application=CHROME.EXE Caption='Alerts analysis and investigation - Google Chrome'"), "Alerts", True, False, rectIn, rectOut
StopTimerAndTrace "03_alert_screen_open_ch"

When I run the script by hand from the Agent Recorder everything is OK but when the script is running by the Agent Manager scheduler I get the mentioned error.

Do you have any idea what can cause it?

Thanks.

Jakub

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

3 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image
Best Answer

Answer by Marty C. · Mar 01, 2016 at 12:28 PM

Hi Jakub,

For troubleshooting you can add a call to ShowTextFromOCR before WaitForTextOCR to see what text the OCR engine is able to recognize during runtime. It will bring up a dialog with the list of words found. You may need to add a sleep before the call to make sure the window in question is fully loaded. You will also need to close the dialog manually but it will allow you to compare what is found during a scheduled run and a manual one.Also, if you have room to shrink the rectangle around the desired text that may help.

If you are unable to get it working you can open a support ticket, Go to page: http://support.dynatrace.com and click on the link Access the Support Ticket System to create a support case.

Comment
Frans S.
Benjamin W.

People who like this

2 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image
Best Answer

Answer by Jakub S. · Mar 02, 2016 at 06:28 PM

Hi Benjamin,

thank you for your reply. Today, we resolved the issue with Marty via support ticket. Not updated framework to 12.3.3 was the reason. After update everything works well.

Regards,

Jakub

Comment
Benjamin W.

People who like this

1 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image

Answer by Benjamin W. · Mar 02, 2016 at 06:10 PM

Hi Jakub,

when you run the script from the Recorder, it will run in the logged-in user's account.

When the script runs in the scheduler, it runs in the Synthetic Agent's service's user account. Could that make a difference in your case?

I'd also try Marty's idea to see what the difference is...

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

Join the conversation!

First steps in the forum
Community User Guide

LIVE WEBINAR

"Power Demo: Software Intelligence for Cloud Infrastructure"


DECEMBER 12, 10:00 AM GMT / 2:00 PM ET

Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here

Follow this Question

Answers Answers and Comments

12 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Agent Recorder - Chrome 1 Answer

Passing Transactions to VMWare 4 Answers

Activex under SilverLight 3 Answers

Could not handle bitmap on clipboard error. 4 Answers

Synthetic issues with latest outlook client 2 Answers

Forum Tags

agent manager esm security 12.5 license ocr cns communication migration documentation citrix dna configuration console alerting framework sizing vba css nam java database scheduler files RUM sap xendesktop scripting nam console recorder agent active autocheck nam server install string matching
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A
      • Enterprise Synthetic Monitoring
    • Synthetic Classic
      • Synthetic Classic Open Q&A