Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

About

Folder Watcher jobs are similar to Suite Automation ones. The difference is that when creating a Folder Watcher job, you specify a sleepover period (for example, 2 minutes) after which the Folder Watcher job will watch the result folder, and if some report file is generatedappears in it, it will take that file and post the results to Zephyr.

Create a job

To create a Folder Watcher job:

1. Switch to the Vortex > Folder Watcher tab and click the plus sign+“ icon:

...

2. In the Folder Watcher Job Creation form, populate all the highlighted (required) fields and click Add:

...

The table below lists the fields available on the Folder Watcher Job Creation form .has the following fields:

Field name

Description

Job Name (required)

Enter a name for the

The name of your suite automation job.

Job Description

A

The description of your job.

Automation Framework

Select the

framework

test automation you are using. Possible values:

  • SoapUI PRO

  • TestComplete

  • Cucumber

  • JUnit

  • Selenium

  • TestNG

  • Tricentis Tosca

  • UFT

eggPlant
  • Eggplant

Create Package

Select the check box if you are using the Selenium automation framework.

Sleepover Period (required)

 

The time interval between checking for changes (in minutes).

Folder Path (required)

 

The path to the folder where the results will appear.

Zbot (required)

Select the

The Zbot you will use to execute the test cases.

Cycle Name (required)

Specify a

The name

for

of the cycle that will be created. Here you can decide whether you want to reuse the same test cycle for all the automation runs or create a new test cycle every time the automation job is run (you can include a timestamp in the test cycle as well).

Folder in Test Repository for Test Cases (required)

Select a test

The rest repository folder where the created test cases will be stored.

Assign Executions To

Specify a

The Zephyr user

you would like

to assign the executions to.

Cycle Start Date (required)

Specify the

The test cycle start date.

Cycle End Date (required)

Specify the

The test cycle end date.

After creating a Folder Watcher job, you can start watching the specified folder to automate your test cases.

Start watching the folder

To start watching the specified folder, click the play “play” button in the Action column. The pause “pause” button pauses the action:

...

When a job is running, it keeps on watching the specified folder in specified time intervals. Once a test report appears in the folder and the job run is completed, Zephyr will create creates test cases in the Test Repository, create creates a cycle for them on the Test Planning page, and will post posts the results to the Test Execution page. If there are some failed test cases, they will have attachments:

...

See Also

Zephyr Test Automation
Zephyr Vortex
ZBot Overview
Script Automation
Suite Automation
ZBot OverviewAutomation REST API
Create and Manage API Tokens in Zephyr