Quantcast
Channel: Quality Center / ALM Practitioners Forum topics
Viewing all articles
Browse latest Browse all 5491

OTA: How to link a template test to a design step using visual studio

$
0
0

Hello,

If I try to link a template test to a design step using the LinkTest-Property of the DesignStep Object in Visual Studio, the following exception appears: ‘You do not have the required permissions to execute this action.’.

But if I link a template test in quality center to a design step, there’s no problem.

Can anyone help?

 

My code is:

VCS vcs = test.VCS;
vcs.CheckOut("", "", false);
DesignStepFactory dsf = test.DesignStepFactory;
DesignStep stepC = (DesignStep)(dsf.AddItem(1));
stepC.LinkTest = callTest; // the exception is thrown here
stepC.Post();
test.Post();
vcs.CheckIn("", "", true, true);

 Thanks in advance.

b-k


Viewing all articles
Browse latest Browse all 5491

Trending Articles