Skip to main content

GT-Framework Tests

Use the GT Framework Tests build to run UI and API tests against applications from Garmisch or later releases. You can run the following:

  • TestCafe tests without test data.
  • Behavior tests without test data.
  • Behavior tests with test data.

Build parameters

Before you run the TeamCity build, you can modify its parameters. Note that these modified values override parameters specified through other means, for example through configuration files.

Configuration parameters

The configuration parameters that you must specify depend on your version of the Guidewire Testing Framework.

ParameterCode versionDescription
API Behavior Test SuiteGarmisch or later

Name of the API behavior test suite runner. It must be included in the behavior module.

To skip API behavior tests, leave this field empty.

Garmisch - Behavior Tests arguments lineGarmisch or later

Parameters that define the UI behavior tests with or without the UI API Integration test.

To isolate UI Behavior tests, define Cucumber tags.

Garmisch - TestCafe Tests arguments lineGarmisch or laterParameters that define the tests run with TestCafe.
API Test SuiteGarmisch or later

Name of the test suite runner. For example, CCScenariosRunner .

To skip GT-API tests, leave this field empty.

TestCafe ImageGarmisch or later

Docker image used to run GT framework tests. Docker images remain compatible with ski releases until a new image for the release is provided. The default value is mammoth-docker and you can override it.

Environment variables

Environment variableDescription
BillingCenter base URLBase URL of BillingCenter against which you can run the GT Framework tests.
ClaimCenter base URLBase URL of ClaimCenter against which you can run the GT Framework tests.
ContactManager base URLBase URL of ContactManager against which you can run the GT Framework tests.
Headless runWhen set to the default value %env.headless%, the GT Framework UI test is run without any interaction with a browser.
PolicyCenter base URLBase URL of PolicyCenter against which you can run the GT Framework tests.

Run GT Framework tests

To run the testing build:

  1. In TeamCity, select your project and go to GuidewireTestingFramework.

  2. Select GT-Framework Tests.

  3. Select Run.

    • In the Changes tab, select the branch that you want to use for testing.
    • In the Parameters tab, specify the configuration parameters and environment variables. These changes aren't persistent and apply only to a single run of the TeamCity build.
  4. Select Run Build.