Changing status field when test is checked out.

  • Questions
  • Changing status field when test is checked out.
Question ID: 107326
0
0

Is it possible to have the status field changed when a test is checked out?

Marked as spam
Posted by (Questions: 122, Answers: 3)
Asked on January 6, 2017 7:27 pm
12 views
Answers (1)
0
Private answer

You would need to use project workflow to accomplish this.

You would also need to ensure that the status field is not being versioned (customization - project entities). Otherwise, the status field would not be able to be changed until after the test is checked out.

You could also create a user-defined field that is not versioned to use instead of status if you wish.

The workflow for this would be placed under the Common Script - ActionCanExecute section:

Example:

Function ActionCanExecute(ActionName)
If ActionName = ''VersionService.CheckOut'' Then
Test_Fields.Field(''TS_STATUS'').Value = ''Passed''
End If
ActionCanExecute = True
End Function

Marked as spam
Posted by (Questions: 3, Answers: 168)
Answered on January 6, 2017 7:31 pm