QC10 workflow for blocking actions during Manual Run not working in ALM11
Question ID: 104573
1
0

In trying to block actions during manual runs with the attached code for CanExecuteAction we get an error on

Actions.Action("act_fail_all").Visible = false

and the next four lines. We are trying to prevent the use of fail all, pass all, add step and delete during the manual run process. The error says it is not a valid action.

Marked as spam
Posted by (Questions: 424, Answers: 91)
Asked on August 22, 2012 2:51 pm
52 views
Answers (1)
1
Private answer

HP has been progressing to a newer API architecture, particularly from QC10 to QC11. As a result, some naming schemes for their Actions have changed. The new names override the legacy names from pre-QC11.

As such, you will need to update your Workflow code to reflect these action names:

Action Old New
----------------------------------------------------
Fail All act_fail_all StepsView.FailAll
Pass All act_pass_all StepsView.PassAll
Add Step act_add_step StepsView.AddStep
Delete act_del StepsView.DeleteStep

New code for action names:

Actions.Action(''StepsView.FailAll'').Visible = false

Actions.Action(''StepsView.PassAll'').Visible = false

Actions.Action(''StepsView.AddStep'').Visible = false

Actions.Action(''StepsView.DeleteStep'').Visible = false

Marked as spam
Posted by (Questions: 0, Answers: 771)
Answered on August 22, 2012 2:59 pm
0
Works great! Finding lots of these differences in v11.00!
( at November 2, 2012 2:26 pm)
EyeOnTesting

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

X
Scroll to Top