Restrict Drag and Drop in Test Plan

Question ID: 106427

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
Answers (1)
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.


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

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