Restrict Drag and Drop in Test Plan
Question ID: 106427
0
0

Is it possible to restrict users from dragging test cases to other folders in the test plan?

Marked as spam
Posted by (Questions: 122, Answers: 3)
Asked on October 5, 2015 1:21 pm
29 views
Answers (1)
0
Private answer

The drag and drop are functionalities of the GUI/UI itself and do not have workflow triggers or actions associated with them. However, what you may be able to do is capture a workflow trigger that the drop and drop is triggering.
For example, if you are dragging an item to another folder, the TS_SUBJECT field should be changing. Therefore, there would be a FieldCanChange triggered on that field. You can set a condition in this workflow trigger to disallow the change.

Example:

If FieldName = ''TS_SUBJECT'' Then
If User.IsInGroup ''Limited_Group'' Then
Test_FieldCanChange = False
Else
Test_FieldCanChange = True
End If
End If

Marked as spam
Posted by (Questions: 3, Answers: 168)
Answered on October 5, 2015 1:22 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top