EMOS Framework

EMOS Framework is a simple yet powerful environment for development of automated
WinRunner® tests. Like most frameworks of this sort EMOS Framework separates
test data from the test code in order to simplify and speed up test development,
increase robustness of the produced solution, empower non-programmers
towards test automation, etc. However, EMOS Framework does this in a rather
unique way which (in my oppinion) distinguishes it from other frameworks.

EMOS Framework is designed for WinRunner® -- the GUI test tool made by
Mercury Inc. It is almost completely written in WinRunenr's own scripting language, TSL.
For this reason the only tool that is required is WinRunner itself. However,
Excel® is strongly recommended as it is generally more suitable for management of
complex test data than the WinRunner's built-in data tables.

Installation

To install EMOS Framework Core download and unzip the
installation package
in <wr-install-dir>\lib directory and then follow the readme.html.

The User's Guide (or something that was once
intended to serve that purpose) can be viewed on-line (or off-line as part of
EMOS Framework Core package (see directory Doc\webhelp). Note that this
document is a bit outdated in detail but the main concepts still apply.

Some sort of a white paper with ideas
behind the EMOS Framework was presented ages ago at Conquest 2001.
Since then EMOS Framework has been used successfully in many projects and nothing
that was presented in this document has proven false. All ideas still hold and,
more important, not many new things came along. So the document is probably still
worth reading.

Examples

The "HelloWorldDemo"
project implemented with EMOS framework shows the minimal structure of an EMOS
Framework project and is probably the best starting point for your first project.

The "FlightDemo"
project is an example of an EMOS Framework project applied to a known application.
This example is based on Mercury's Flight Application® which is distributed
with WinRunner. You should carefully analyse this example because it demonstrates
many important aspects.

The "MercuryWebToursDemo"
project is an example of a web-based project that demonstrates the applicapility
of EMOS Framework to web pages. The example is based on Mercury Web Tours web site
(Perl/CGI) that was once available on Mercury web site http://mercurytours.mercuryinteractive.com/.
Unfortunately, Mercury seems to have discontinued this site and replaced it with
a servlet-based HTML/Java site
http://newtours.mercuryinteractive.com/.
For this reason you probably won't get this example working. However, it should
still be worth a look if for nothing else, then for examples of accessing table
objects. Any attempts to port the example to the new page are very welcome ;-)

Getting Started

Unzip the EMOS Framework Core in <wr-install-dir>\lib directory.
Actually, you can unzip it anywhere but you will then have to adjust startup scripts
in all demo projects.

Unzip the "HelloWorldDemo" project in a directory of your choice (say "C:\Work")
and follow the readme.html.

Unzip the "FlightDemo" project in a directory of your choice (say "C:\Work")
and follow the readme.html. You should spend some time with this
project. Start by looking at Data\suite.xls and then analyse individual
test tables. Compare the approaches taken in simple_way.xls and in
structured_way. Big projects are usually easier to handle with the
structured approach.

... more to come about EMOS Framework tools ...

Further resources

WinRunner is a trade mark owned by Mercury Interactive Corporation.
Excel is a trade mark of Microsoft Corporation. All other company, brand and
product names are registered trademarks or trademarks of their respective holders.
We disclaim any responsibility for specifying which marks are owned by which
companies or which organizations.