Ranorex

English|Deutsch

Ranorex Projects & Solutions

print friendly pageThe following section shows how to use the project explorer to create and manage test automation solutions.

Ranorex Project

The Ranorex Studio provides 3 different types of project templates:

  • Console Application
  • Windows Application
  • Class Library

The 'Console Application' template is used to provide an executable test case to start tests directly, for example from a build server.

The template type 'Windows Application' allows to create a windows forms based application to start automated tests through an graphical user interface.

Typical 'Class Library' projects often provide commonly used functions (e.g. starting a program via Windows start menu).

By default, all Ranorex project types consist of the following elements:

  • References
  • Code Files
  • Link to RanorexCore.dll

Ranorex project 'HelloTest'

The 'References' folder contains all required .NET assemblies, including the 'RanorexNet.dll'.

A new Ranorex project also contains source code files like 'Program.cs' in case of a C# console application or 'Program.vb' in case of an VB console application. Source code generated by the Ranorex recorder will be stored within a separate code file named 'RecorderData.cs'.

The RanorexCore.dll is required by every Ranorex project. This file is located within the Ranorex installation folder (..\Bin\Net2.0-Pro) and provides the core automation functionality.

Ranorex Solution

A Ranorex solution consists of at least of one Ranorex project. By creating a new Ranorex solution, a new Ranorex project is created automatically, too.

The solution is used to manage multiple Ranorex projects.