Creation of repository items
There are multiple ways for creating repository items. The purpose of this chapter is to introduce and explain them.
In this chapter
Automatic creation with Recorder
During the recording of a test, UI-elements are identified and referenced by Ranorex and stored as repository items in the current repository. This is the way repository items are created and stored when recording a test.
Example of recorded repository items
Sometimes, not all required UI-elements are identified and referenced by repository items during a recording. Therefore, it will be necessary to identify and reference them manually. The Ranorex Recorder includes a useful function to do this.
A further, sometimes more useful and quicker possibility to track UI-elements manually is to use the ‘Instant tracking’ method. This method is preferred when tracking of UI-elements which are hidden within menus, or drop-down lists are necessary.
Adding repository items using Spy
Ranorex Spy is an advanced tool which is mainly used to track and manage UI-elements. This advanced topic is addressed in a separate chapter.