OCR or ODTA

Optical Character Recognition is an option we should take serious when thinking about test automation. OCR compared to Object Driven Test Automation (QTP among many others) in which objects on screen are used to identify.

OCR tools are not cheap, but are comparable to QTP license prices.

maurice.siteurFor a POC I (with some collegues) compared a tool called Keylib and Selenium using Café (a Capgemini owned automation framework). I was happily surprised by the functionality of Keylib. We did not choose it, but it was a tool that was user friendly. Scriptless programming is a true option with Keylib. Keylib is from a small company and a newer version is needed (should be available shortly).

Other OCR tools are:

–          Sikuli – Open Source

–          Eggplant (Keylib is using Eggplant)

–          Citratest

OCR tools can recognize pictures on your screen and/or can read text from the screen. You click on that picture and do something (like click) to reach an entry field for instance. This is basically the same as ODTA tools do. Somehow you have to navigate to parts of the GUI.

With tabs and arrows you can also navigate. The less you have to use the recognition part of the tool, the more robust your script will be.

ODTA tools are able to identify objects on the GUI. This makes them more stable when the GUI changes – assuming that the object names remain the same.

OCR tools recognize pictures or text. Slight changes in the GUI require maintenance on the scripts – taking a new picture can be a relatively solution.

If you have a good framework, you can be fast with it too.

When should you use OCR tools?

–          When objects are very hard to identify. For mainframe or Citrix.

–          When you like the less programming.

A small reminder to all of us.

The craftsman is identified by the way he uses his tools. OCR tools can open up market like:

–          Migrating data through the front-end – if no other solution seems to help

–          Entering (test) data in a database

–          Monitoring a system (when something red is shown, an alert message is send)

–          And a lot more.

For more information:

Maurice Siteur is a test expert from the Netherlands. He has a focus on test automation for the last 20 years and wrote two books on the subject.

Autor: qanewsblog

Sogeti es una compañía tecnológica perteneciente al Grupo Capgemini y especialista en: Testing y Calidad de Software; Soluciones Microsoft y High Tech Consulting. En Sogeti entendemos la importancia de obtener el máximo valor empresarial de sus sistemas de IT, por ello somos líderes mundiales en Testing & QA. Somos creadores de las metodologías estándar del mercado: TMap® (Test Management Approach) y TPI® (Test Process Improvement). ¡Nuestro compromiso es el Testing!

Deja tu comentario

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s