Skip to content
/ .. / .. /
Basic Feature Execution





Basic Feature Execution

This tutorial demonstrates how to execute Feature Files without passing additional parameters. The subsequent tutorials within the "Getting Started with intaQt Client" will show how to add tags, pass configurations and execute features using an XML configuration file.

Note
The intaqt test command is used by intaQt Client to execute features.

1. Execute a Single Feature

Open a command line session and navigate to the intaqt-cli/bin directory:

1
cd /QiTASC/intaqt-cli/bin

Use the intaqt test command to execute the Feature File:

1
./intaqt test HowTo-IntaQtClient Feature1.feature

Note
The project name HowTo-IntaQtClient follows the intaqt test command, and the feature name Feature1.feature follows the project name.

2. Different Executions

Execute a Single File Using a Different API Port

The -p parameter specifies the intaQt port that intaQt Client will connect to. By default, intaQt Client will try to connect to port 36012. If a different port than the port configured in the Intact2ApiAdapter configuration block should be used, it must be explicitly specified by the -p parameter when running intaQt Client:

1
./intaqt test -p 36014 HowTo-IntaQtClient Feature1.feature

In the example above, -p is the port parameter, and the 36014 is the port number we chose to specify.

Execute a Single File from a Different Location

To execute a Feature File from a project that is not located in the projectsRootDir described in the Create Project section, an absolute path to the project may be specified:

1
./intaqt test /c/QiTASC/MyOtherProject Feature1.feature

3. Execute all Features in a Project

Specify either the project name or the path to the project when executing all Feature Files in a project, and omit the file name:

1
./intaqt test HowTo-IntaqtClient