[Openroad-users] automated testing tools for OpenROADapplications

Bodo Bergmann Bodo.Bergmann at ingres.com
Tue Feb 12 02:45:03 EST 2008


You can automate GUI testing by sending keystrokes to OpenROAD
applications
(mouse clicking should be prevented as positions are unreliable
due to different screen sizes/resolutions, font mappings etc.).

Repeatable test cases could for instance be written in OpenROAD or
VBScript
using the classes provided by the Windows Script Host library
(as External Class Library in OpenROAD).
E.g. the WshShell class has methods like Run (to run a command),
AppActivate(to activate a window, also with wait until its there) and
SendKeys (simulates a user typing in from the keyboard).

Of course you could also try a tool that allows you to record & replay
keystrokes,
e.g. the AutoIt scripting environment (www.autoitscript.com/autoit3/).

Hope this helps,
Bodo.

Bodo Bergmann
Senior Software Engineer
OpenROAD Worldwide Development
Ingres Corp.

-----Original Message-----
From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Pete
Rabjohns
Sent: Saturday, February 09, 2008 12:37 AM
To: International OpenROAD Users
Subject: Re: [Openroad-users] automated testing tools for
OpenROADapplications

Testing the gui with openroad is problematic, because even with the
-realfields option, openroad does not give fields a sufficiently unique
name to fields to allow automated test tools to be able to find them. We
tested this with testcomplete and the only way of driving the gui
(without using mouse position) was to script the field positions in a
mapping file-anyway it proved to be to un-manageable.

The method we have adopted now is to ignore the gui and by ensuring our
core business functionality is available through the application server,
we can drive this automatically via a number of tools.

If you expose these functions as web services, then there are a number
of tools which provide good functionality for automated testing. 

It would certainly be an open source project that we would be interested
in to improve openroads support for automated testing via the gui. 

Just a few thoughts.. Hope it helps..


-----Original Message-----
From: "Daniel McOdrum" <Daniel.McOdrum at infor.com>
To: "openroad-users at sealion.peerlessit.com"
<openroad-users at sealion.peerlessit.com>
Sent: 2/8/08 19:24
Subject: [Openroad-users] automated testing tools for OpenROAD
applications

Does anyone have experience using automated testing tools with OpenROAD
applications? Looking for suggestions on the type of tools that would
work with OR or even better, specific tools that you may have had
success (or failure) with.

 

Thanks in advance,

 

Dan

 

Dan McOdrum| Sr. Principal Architect | Infor | office: 610.407.8025 |
cell: 484.431.5400 | email: daniel.mcodrum at infor.com

 


________________________________________________________________
OpenROAD-Users mailing list

You can maintain your subscription here:
http://www.peerlessit.com/mailman/listinfo/openroad-users

To unsubscribe click on this link
mailto:openroad-users-unsubscribe at peerlessit.com&subject=unsubscribe

To subscribe click on this link
mailto:openroad-users-subscribe at peerlessit.com&subject=subscribe 



More information about the Openroad-users mailing list