M-eux Test Reference Guide

MoObject GetOcrText Operation (Windows Mobile/CE Test Automation)

Returns the text on the object as recognized by the OCR mechanism.

Syntax

Object.GetOcrAreaText(language,color)

Parameters

language

Required. A String value containing the language of your office installation. Supported languages are : "Chinese_Simplified", "Chinese_Traditional", "Czech", "Danish", "Dutch", "English", "Finnish", "French", "German", "Greek", "Hungarian", "Italian", "Japanese", "Korean", "Norwegian", "Polish", "Portuguese", "Russian", "Spanish", "Turkish".

color

Required. A String value true or false indicating wether the OCR should be performed against a screen representation with or without color.

Return Value

A string containing the text displayed on the

screen as recognized by the OCR mechanism.

Remarks

Returns the text on the object as recognized by the OCR mechanism.

-

In order to use the GetOcrText method you need to have the

Microsoft Office document imaging component installed. See the

Installation guide for more details.

-

We don't support OCR for Run on device and Web

elements.

Examples

QTP Example:

MobileDevice("device").GetOcrAreaText("English","false")

  1. https://sbcnep.org/
  2. https://www.btsuk.org/
  3. https://www.jamosolutions.com/
  4. https://www.halifaxregional.org/
  5. https://www.chevallierlaspales.com/
  6. https://www.dome-restaurant.com/
  7. https://www.gc32worlds.com/
  8. https://www.thesamestreamchoir.com/
  9. https://www.maxhead.org/
  10. https://pmkisanstatus.org/
  11. https://www.saintspap.org/
  12. https://www.samuraisushihibachi.com/
  13. https://kraimoriebeach.com/
  14. https://recoverysociety.org/
  15. https://www.britishcouncilonline.org/
  16. pintarbersamamedan.org
  17. https://pintarbersamamanado.org
  18. https://pintarbersamasorong.org/dana
  19. TOGEL SIDNEY
  20. DATA HK
  21. PENGELUARAN SDY
  22. PENGELUARAN HK
  23. DATA HK
  24. PENGELUARAN HK
  25. PENGELUARAN HK
  26. LIVE DRAW SDY
  1. PREDIKSI MACAU HARI INI