OCR checkpoint posting warning, instead of error
In order to achieve my goal that, when OCR checkpoint fails throw it warning instead of error.
I have this function, according to your suggestion: (https://support.smartbear.com/testcomplete/docs/reference/program-objects/ocrtextdocument/checktext.html)
My function  function OcrCheckpointThrowsWarning(searchAreaObject, textToCheck) {
  
  let ApplicationProcess = Sys.WaitProcess("LMS", 300);
  let recognizedText
  if (ApplicationProcess.Exists)
  {
     recognizedText = OCR.Recognize(searchAreaObject);
     recognizedText.CheckText("*"+textToCheck+"*")
      Log.Message(`${textToCheck}  -  FOUND`);
  }else{
    Log.Warning(`${textToCheck}  -  NOT FOUND`);
  }
}
searchAreaObject is onscreen object element
textToCheck is text that I want to find
this function work for me several days but, after updating of testcomplete it does not work any more. now while error (if function do not find text I want) it throws error instead of warning.
my testcomplete current version is:15.76.5.7 x64
what you think is it blame on version? if it, please provide another method to achieve this approach