private List<TestStep> CreateTestStepsIds(TestActionCollection testActionCollection, int testCaseId, string environment)
        {
            var result = new List<TestStep>();

            int i = 1;
            foreach (var action in testActionCollection)
            {
                if (TestConductor.IsSharedStep(action))
                {
                    var sharedStepRef = action as ISharedStepReference;
                    // ReSharper disable once PossibleNullReferenceException
                    var sharedStep = sharedStepRef.FindSharedStep();
                    foreach (var sharedStepAction in sharedStep.Actions)
                    {
                        result.Add(TestStep.CreateSharedStep(sharedStepRef.SharedStepId, sharedStepAction.Id, ((ITestStep)sharedStepAction).Title.ToString(), environment, sharedStep.Title));
                    }
                }
                else
                {
                    result.Add(TestStep.CreateStep(testCaseId, action.Id, ((ITestStep)action).Title.ToString(), i++, ((ITestStep)action).ExpectedResult.ToString(), environment));
                }
            }

            return result;
        }