Configure ATF for Headless Browser in Linux

headless-browser-configure-atf.md
Raw file

Step 6 in the Linux setup for the ServiceNow® Headless Browser for ATF: Configure ATF with properties.

Before you begin

Complete Step 5: Set up instance for Headless Browser in Linux

Role required: admin on your ServiceNow instance and local administrator on the host machine.

This task: Now that you've set up your connection and authentication, configure ATF with several properties so that it can start containers successfully on the host machine.

Procedure

  1. In your instance, navigate to ATF > Administration > Properties.

  2. Enable the top two properties: Enable test/test suite execution and Enable scheduled test suite execution.

  3. Scroll down to the Headless Runner Properties section.

  4. Enable the top check box.

  5. Enter the following values in the Headless Runner Properties form:

Form Label

Property Name

Value to Imput

The user account used to login from the headless client test runner and begin the tests

sn_atf.headless.username

Username of the integration user that you created in Add secrets to Docker for Headless Browser setup in Linux

The Docker secret ID that has the password stored of the user account

sn_atf.headless.secret_id

Docker “Secret ID” that you obtained earlier, as well as the Docker secret name that you created in Step 2 of the Add secrets to Docker for Headless Browser setup in Linux procedure.

The Docker image that is used for headless Client Test Runner

sn_atf.headless.docker_image_name

Image name with tag that you downloaded: ghcr.io/servicenow/atf-headless-runner:<tagname>

**Note:** If you forgot the secret ID, go to the Docker host and run the command `docker secret list`
  1. Leave the rest of the fields as they are.

  2. Select Save.

Parent Topic:Headless Browser setup for Linux

Previous topic:Set up instance for Headless Browser in Linux

Next topic:Verify Headless Browser procedures in Linux

Search documentation
Search document titles and file paths on the australia branch