Versions Compared

Key

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

This article will help when a user doesn't have permissions permission to execute a Test. 

...

Table of Contents
typeflat

Problem

Check in the image above the associated error:

Step-by-step guide

Check if you have all these steps:

  • you have permission to "Browse" the Test Execution issue
  • you have permission to "Resolve" the Test Execution issue
  • the Test Execution issue is not in a status configured to disallow executions

Check here how you can check them:

  • you have permission to "Browse"the Test Execution issue

Go to Project Settings > Permissions > Project Permissions > Browse Projects > Check if the user has this permission

  • you have permission to "Resolve"the Test Execution issue

Go to Project Settings > Permissions > Issue Permissions > Resolve Issues > Check if the user has this permission

Cause 1

The User does not have the necessary issue permissions: "Browse" and "Resolve"

Solution

Go to Project Settings → Permissions → Project Permissions:

Image Added

Image Added


Cause 2

The

...

Test Execution issue is not in a

...

Status configured to disallow executions.

Solution

Go to Administration > Add-ons > Miscellaneous > Workflow Status > → Manage Apps → Xray Settings → Miscellaneous, under the "Workflow Status" section, to the option "Disallow executions of Tests with workflow statuses > Check ," and check if you have any status that does not allow users to execute the Test:

Image Added

Cause 3

The Test Executions are restricted to the assignee user.

Solution

Go to Administration → Manage Apps → Xray Settings → Miscellaneous, on the "Test Run Options" section; the third one may be activated "Restrict tests execution to assignee," disable this option to allow all given users to be the Test Run assignee:

Image Added



Cause 4

Automated Test Statuses are restricted to be manually changed.

Solution

Go to Administration → Manage Apps → Xray Settings → Miscellaneous, on the "Test Run Options" section; please check if the option "Restrict automated Test Status" is enabled; if yes, disable this option to allow users to set manually the Test Status for Automated Tests, otherwise, those statuses can just be updated via import results via UI or API:


Image Added


...