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.
Parameter | Code version | Description |
---|---|---|
API Behavior Test Suite | Garmisch 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 line | Garmisch 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 line | Garmisch or later | Parameters that define the tests run with TestCafe. |
API Test Suite | Garmisch or later | Name of the test suite runner. For example, To skip GT-API tests, leave this field empty. |
TestCafe Image | Garmisch 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 |
Environment variables
Environment variable | Description |
---|---|
BillingCenter base URL | Base URL of BillingCenter against which you can run the GT Framework tests. |
ClaimCenter base URL | Base URL of ClaimCenter against which you can run the GT Framework tests. |
ContactManager base URL | Base URL of ContactManager against which you can run the GT Framework tests. |
Headless run | When set to the default value %env.headless% , the GT Framework UI test is run without any interaction with a browser. |
PolicyCenter base URL | Base URL of PolicyCenter against which you can run the GT Framework tests. |
Run GT Framework tests
To run the testing build:
-
In TeamCity, select your project and go to GuidewireTestingFramework.
-
Select GT-Framework Tests.
-
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.
-
Select Run Build.