2017 October Release

Fabasoft app.test ProjectPermanent link for this heading

For recording and running tests a Fabasoft app.test project is needed. This project contains test files as well as other files needef ot testing (e.g. documents that are imported in a test). This means you have to create at least one project in Fabasoft app.test so that you can create test files and record/run them.

For creating a Fabasoft app.test project and test files, wizards are available. These are described in detail in the following articles.

How to Create a Fabasoft app.test ProjectPermanent link for this heading

Following it is described how you can create a new project by using the Fabasoft app.test Project wizard.

Afterwards the standard folder structure of a project is explained (which folders are created and which files can be created within each folder).

Create a new Fabasoft app.test ProjectPermanent link for this heading

After starting the Fabasoft app.test Studio, you can create a new project by opening the "File" menu and selecting "New" > "Fabasoft app.test Project".

A dialog is shown for entering the properties of the project to be created. These properties can be set for creating a new Fabasoft app.test project:

  • Define a name
    Enter the name of the project into the Project Name field. You have to define a project name for creating a project!
  • Choose the project content
    If you want to create a new project, select the Create new project radio button in the Contents area.
    By selecting Create project from existing source you can reference an existing project. If this radio button is selected, you can select a project (folder) in your file system by clicking the "Browse" button. This project need not be an Eclipse project.
    If you select the Create default folder structure check box, the standard folders of a project are created. If this check box is cleared, no folders are created within the project (useful if you want to create subprojects).
  • Define the target folder
    You can also choose a location for saving the project in the Location area by selecting the Create project in external folder check box. Click the "Browse" button of the Directory field and select the folder where the project should be saved.
    If you do not select this check box, the project is saved in the home directory of the currently logged-in user in the "Fabasoft app.test" folder (e.g. in Microsoft Windows Vista the home directory of the user is C:/Users/<user login name>/).

Note: You can change your default work space either when starting Fabasoft app.test or by opening the "File" menu and selecting "Switch Workspace".

Once you have finished entering all the project's properties, click "Finish" to create the project.

The new project is created and shown in the "Projects" view of Fabasoft app.test. You can now create files and folders within the project.

Standard Folder Structure of a Fabasoft app.test ProjectPermanent link for this heading

Per default the standard structure of a project contains the following folders:

Following it is described why these folders are needed.

  • Import Documents
    In the "Import Documents" folder the files should be located that are imported in the tests contained in this project (see chapter "Import" Action”). In the file system the folder is named "ImportDocs".
  • Export Document
    The "Export Document" folder is used for exporting files in tests within the project (see chapter “Export a File”). In the file system the folder is named "ExportDocs".
  • Screenshots
    The "Screenshots" folder is used for saving screenshots that are created within a test in the project (see chapter “"Screenshot" Action”).
  • Resources
    The "Resources" folder contains the language files and the certificates.
  • Certificates
    If you use certificates for testing it is useful that all needed certificates are located in the project (see chapter “How to Use Certificates in Fabasoft app.test”). This is the default folder for the certificates used in the project.
  • Language Files
    In this folder the language files are saved that are needed for internationalizing a test. Per default this folder contains two subfolders: "LANG_ENGLISH" and "LANG_GERMAN"
  • Config Files
    If you created configuration files (see chapter “How to Create a Configuration File for the Fabasoft app.test Console Player”) for the Fabasoft app.test Console Player in the Fabasoft app.test Studio, they are saved in this standard folder.
  • Use Cases
    This folder contains all use case files of the project.
  • Sequences
    This folder contains all sequence files of the project.
  • Tests
    This folder contains all test files of the project.
  • Parameters
    This folder contains all parameter table files of the project (see chapter “How to Create a Parameter Table File”).
  • Reports
    In this folder the reports are saved that are created after each test run.

How to Create a SubprojectPermanent link for this heading

For creating a sub project is is quite useful if the project itself does not contain the standard folder structure. Therefore, you have to clear the check box Create standard folder structure in the Fabasoft app.test Project wizard.

For creating a new subproject you have to use the "New Folder" wizard. Therefore, open the "File" menu and select "New" > "Folder".

Select the project, where the subproject should be created in the tree and enter a name for the subproject into the Name field.

Furthermore, select the Create default folder structure check box for creating the folders in the subproject.

Click "Finish" for creating the subproject.

The subproject is created and shown in the "Projects" view. You can create several subprojects within one project and structure the project.

How to Create a Test FilePermanent link for this heading

A test summarizes one or more sequences. To create a new test, perform the following steps:

  1. Open the "File" menu, point to "New" and click "Test".
  2. In the wizard enter the name of the test and select the folder where the test should be created.
  3. Click "Finish" to create the test.

The test is created and shown in the "Projects" view as well as opened in the Fabasoft app.test Studio.

How to Create a Sequence FilePermanent link for this heading

A sequence in Fabasoft app.test is used for combining one or more use cases. For a sequence a user is defined in whose context the sequence should be executed. To create a new sequence, perform the following steps:

  1. Open the "File" menu, point to "New" and click "Sequence".
  2. In the wizard enter the name of the sequence and select the folder where the sequence should be created.
  3. Click "Finish" to create the sequence.

The sequence is created and shown in the "Projects" view as well as opened in the Fabasoft app.test Studio.

How to Create a Use Case FilePermanent link for this heading

A use case in Fabasoft app.test collects several steps (execution, set statement, validation).

For creating a new use case open the "File" menu and select "New" > "Use Case".

In the wizard you can enter the name of the use case and select the folder where the use case should be created.

Click "Finish" to create the use case.

The use case is created and shown in the "Projects" view as well as opened in the Fabasoft app.test Studio.

How to Create a Parameter Table FilePermanent link for this heading

A parameter table (see chapter “Parameter Table”) in Fabasoft app.test is used for setting several parameters to fixed values. If the parameter table is loaded when executing a file, the parameters are set at the beginning of a test.

For creating a parameter table open the "File" menu and select "New" > "Parameter Table".

In the wizard you can enter the name of the parameter table and select the folder where the parameter table should be created.

Click "Finish" to create the parameter table.

The parameter table is created and shown in the "Projects" as well as opened in the Fabasoft app.test Studio.