Page 1 of 1

Creating tests and maintaining a repository

Posted: Tue Jun 23, 2009 4:55 pm
by revanaken
There seems to be a disconnect between the Recorder and the Spy interfaces (both in studio). We use Recorder/Studio to generate large test scripts, but it results in a large disorganized repository. You can create well organized repositories with the Spy/Studio, but I the recorder will not use repository objects created by the Spy. So the two interfaces seem to render each other ineffective.

Is there a “Best Practices” document that describes how to build tests for large software products with many forms?

Thanks,
Ron

Re: Creating tests and maintaining a repository

Posted: Thu Jun 25, 2009 2:13 pm
by Support Team
The "Best Practises" section in our documentation is currently under development. I recommend to keep the repository as small as you can: One repository for one application (except context menus). Only use globally shared repositories when you need to use those in multiple recordings. Furthermore, keep your recordings simple and clear to ease maintenance. I'm not sure if you're familiar with using the code actions provided by Ranorex Recorder since version 2.1. The Recorder's code actions allow one to create modular and parameter driven recordings as described in our example 'DataDriven Test'. Always try to create automation scripts and recordings as reusable as you can.

We knew that it is currently not really possible to predefine repository objects which should be used during a new Recording automatically, but we're planning to fix this issue in our next minor release (V2.2).

Best regards,

Christoph
Ranorex Support Team