Create a new project

Solutions are organized into one or more projects. There are different project types in Ranorex Studio, but the test suite project is typically used to build a test. A test suite project contains one or more test suites, which in turn represent the structure of your test with its test cases and modules.

Solutions you create always come with a test suite project. You can also add more test suite projects or other types of projects to a solution. We recommend you create test suite projects with the project wizard. All other project types must be created with the blank project dialog.

In this chapter

    Project wizard

    Use the project wizard to quickly create a test suite project for desktop, web, or mobile tests.

    Note icon

    Note

    All other project types must be created with the blank project dialog.

    To add a test suite project with the project wizard:

    In the projects view of an open solution, right-click the solution.

    Click Add > Project wizard…

    Select the test suite type (e.g. Desktop) and click Continue.

    The following steps are the same as those for ⇢ creating a new solution with the RocketStart wizard.

    When you’ve finished the project wizard, Ranorex Studio will display the test suite in the test suite view.

    The new test suite project in the projects view.

    The project’s test suite with the prepared test structure.

    Blank project dialog

    You can also create new projects with the blank project dialog. Project types other than test suite projects must be created with this dialog.

    To do so:

    In the projects view of an open solution, right-click the solution.

    Click Add > Blank project…

    The project creation dialog will open.

    Name the project and, if you want to, change the location the project is saved to and the programming language.

    Select a project type (explained further below).

    Click Create.

    Project types

    There are 5 different project types you can create in Ranorex Studio.

    Note icon

    Note

    For testing, usually only the test suite project and the module library project are relevant. The other project types are for when you want to program and application with the Ranorex Studio IDE.

    Test suite project

    The test suite project is the default project in Ranorex Studio. Every new solution comes with this type of project. This project can also be created with the project wizard (recommended). Use this project to create tests.

    Properties

    • Used to contain:
      • one or more test suites
      • one or more repositories
      • recording modules, code modules, or module groups
    • This project can be executed because Ranorex Studio creates an executable when building this project.

    Module library project

    Use this project type to store, organize, and manage module libraries and repositories..

    Properties

    • Used to contain:
      • one or more repositories
      • recording modules, code modules, or module groups
    • This project can’t be executed because Ranorex Studio creates a DLL when building this project.

    Class library project

    Use class library projects to contain classes and methods for use in programming applications.

    Properties

    • Used to contain classes and methods for programming.
    • This project can’t be executed because Ranorex Studio creates a DLL when building this project.

    Console application project

    Use this project to program and compile a command-line application from classes and methods.

    Properties

    • Used to contain classes and methods for compiling a command-line application.
    • This project can be executed because Ranorex Studio creates an executable when building this project.

    Windows application project

    Use this project to program and compile a Windows application from classes and methods.

    Properties

    • Used to contain classes and methods for compiling a Windows application.
    • This project can be executed because Ranorex Studio creates an executable when building this project.