public override void PostExecution(ITestAction testAction, ExecutionResult result)
        {
            #region 'MessageBox' for Debugging Purposes
            //MessageBox.Show("TestStep : " + testAction.Name.Value + "\n" + "TestStep Result : " + result.ResultState);
            #endregion

            ToscaTaskExecutionLogger.WriteToLogFile(
                "\tTestStep Name : " + testAction.Name.Value + Constants.NewLine +
                "\tTestStep Result State : " + result.ResultState + Constants.NewLine);

            var response = XrayAPI?.Methods.GetTestById("10006");
        }
 public override void PreExecution()
 {
     try
     {
         ToscaTaskExecutionLogger.WriteToLogFile(
             "========================" + Constants.NewLine +
             "BEFORE TestCase: " + Constants.NewLine +
             "========================" + Constants.NewLine +
             "IsRetrying: " + RunContext.IsExecutionEntryRetrying + Constants.NewLine +
             "TestCase: Name: " + RunContext.GetAdditionalExecutionInfo(Constants.TestCaseName) + Constants.NewLine +
             "Nodepath: " + RunContext.GetAdditionalExecutionInfo(Constants.TestCaseNodepath) + Constants.NewLine +
             "ExecEntry: Name: " + RunContext.GetAdditionalExecutionInfo(Constants.ExecutionEntryName) + Constants.NewLine +
             "Nodepath: " + RunContext.GetAdditionalExecutionInfo(Constants.ExecutionEntryNodepath));
     }
     catch (Exception)
     {
     }
 }
 public override void PostExecution(ExecutionResult result)
 {
     try
     {
         ToscaTaskExecutionLogger.WriteToLogFile(
             "========================" + Constants.NewLine +
             "AFTER TestCase:" + Constants.NewLine +
             "========================" + Constants.NewLine +
             "IsRetrying: " + RunContext.IsExecutionEntryRetrying + Constants.NewLine +
             "TestCase passed: " + result.IsPositive() + Constants.NewLine +
             "TestCase: Name: " + RunContext.GetAdditionalExecutionInfo(Constants.TestCaseName) + Constants.NewLine +
             "Nodepath: " + RunContext.GetAdditionalExecutionInfo(Constants.TestCaseNodepath) + Constants.NewLine +
             "ExecEntry: Name: " + RunContext.GetAdditionalExecutionInfo(Constants.ExecutionEntryName) + Constants.NewLine +
             "Nodepath: " + RunContext.GetAdditionalExecutionInfo(Constants.ExecutionEntryNodepath));
     }
     catch (Exception)
     {
     }
 }