1) Copy one or more coded steps
2) Create a new test
3) Paste the copied coded steps
Test Studio will show the following dialog: "Unexpected error occurred and will be reported to Telerik: Object reference not set to an instance of an object";
The following exception is shown in the log:
TestExplorerController.ExecuteCommand() : EXCEPTION! (see below)
Outer Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
Call Stack:
at ArtOfTest.WebAii.Design.UI.TestExplorerController.PasteInternal(DoUndoItem doUndo)
at ArtOfTest.WebAii.Design.UI.UndoRedoHelper.CreateDoUndoItem[T](T data, Action`1 execute, Action`1 unexecute, Boolean addToUndoStack, Boolean callExecute, Object registeredObject)
at ArtOfTest.WebAii.Design.UI.TestExplorerController.Paste(StepViewModel pasteStep)
at ArtOfTest.WebAii.Design.UI.TestExplorerController.ExecuteCommand(ICommand command, Object parameters