Forum Discussion

icopycode's avatar
Occasional Contributor
3 years ago

Text recognition / OCR fails in pipeline

In a keyword test, I need to click an object that isn't natively recognized by Test Complete.  I have used text recognition and ocr and both methods work locally, but when I push the test to an Azure pipeline and run it from the pipeline the text isn't recognized.  Has anybody run into this.  I can't figure out why the test works locally but fails in my pipeline.

3 Replies

  • Melvin666's avatar
    New Contributor

    If your tested UI element contains several instances of the sought-for text, by default, TestComplete will get the first instance it will find by searching from left to right and from top to bottom.


    MyFordBenefits Login

  • Marsha_R's avatar
    Champion Level 3

    Is it running on the same machine locally and from the pipeline?

    • icopycode's avatar
      Occasional Contributor

      Hi Marsha_R.  The pipeline is running on a different machine.  I believe it is running with TestExecute instead of TestComplete.  I don't have direct access to the machine, but that's my understanding.