I have to replace an Action multiple times in several Testplans. So I wont to program a tool with C# and the TestExecSL API in MSVS.
So fare I can add the new Action at the correct position in the Testplan with following code:
But now when I wont to remove the old Action I get an COMException (see Picture).
Following code I have tray to use for removing the Action:
How can I fix this Exception?
Thanks for your help