Come to think of it - I used to get IS, but haven't received one in a long time. I wonder if my subscription got lost.


On 02-05-2013 5:33 AM, Brian Leach wrote:
Oh and -

If anyone here is subscribed to International Spectrum magazine (and if not,
why not?) I'm writing a series on automated testing with the first
instalment to appear in the March/April edition. So I'd be interested to
hear any user stories ...


-----Original Message-----
[] On Behalf Of Brian Leach
Sent: 05 February 2013 11:14
To: 'U2 Users List'
Subject: Re: [U2] U2 Test Tools for system/unit & regression testing
w/integration with HP QualityCenter

Hi David

I've recently released a testing product called (predictably!) mvTest.

This supports automated testing of U2 applications using a dedicated
scripting language modelled after UniBasic for familiarity but with a number
of key extensions to handle data validation, test data handling, UI
scripting and assertions.

You can use this to create unit tests, UI tests (currently TELNET and
U2-compatible secure TELNET/SSL but with SSH to follow shortly), regression
and volume tests.

Here's a quick overview of how it works -

- You create unit or UI tests using the scripting language. These can be run
through either of a Windows client or through a server-side script runner
e.g. if you want to perform CI testing through a phantom. There's a nice
Windows based editor to create, organize and test these.

- The tests return pass or fail information based on assertions, so you can
see at a glance if anything has broken. You can save the information and run
various reports against it.

- The tests can run direct against the database through a UO.NET connection
(e.g. for testing subroutine calls and parameters) or through a
terminal-style UI. It embeds a complete terminal emulator with all the
necessary functions, and this allows you to drive screens, perform spot
checks, branch on different results (e.g. handling error messages raised
from your screens), handle send/expect style scripting and more complex
conditions (such as wait until the cursor is at this location and this
message has appeared here).

- It keeps a separate shared server connection open while the UI tests run
so you can, for example, script an entry screen via the terminal UI that
ends up saving some data like a sales order, and then immediately check what
has been written to the database through the underlying connection as part
of the same script.

- Unit tests can be organized into batches in which the tests run in order,
so you can set up sequences that match business operations.

- Batches can be organized into runs, so you can test whole suites of your
application. Each run can be customized, so you can feed in per-site or
per-system information. Runs can optionally randomize the order in which
batches are executed, and you can set up different run scenarios and
iteration patterns.

- You can feed in and randomize test data and from the client side runner,
access local features as well as the database operations.

- Volume testing can take place using the Windows client. This is a
multithreaded client supporting multiple concurrent UI sessions - I've
tested up to 250 concurrent connections from a single PC running against an
SB+ system for one customer last year who needed to stress test their system
performance coming up to the New Year sales.

This first release is targeting U2 with other MVDBMS to follow. I'm also
adding support for GUI testing using the Microsoft Automation APIs and WebUI
testing going forward.

Anyone interested can contact me for an evaluation version, or download the
user guide from



U2-Users mailing list

U2-Users mailing list

U2-Users mailing list

Reply via email to