/// <inheritdoc/> public override void Report() { ALMSetData almConnecter = (ALMSetData)InformationObject.TestSetData; almConnecter.ConnectToALM(); almConnecter.ALM.SendExecutionReport(); almConnecter.ALM.DisconnectFromServer(); }
/// <inheritdoc/> public override void AddTestCaseStatus(ITestCaseStatus testCaseStatus) { ALMSetData almConnecter = (ALMSetData)InformationObject.TestSetData; almConnecter.ConnectToALM(); almConnecter.TestSet.SetTestCaseRunStatus(testCaseStatus.RunSuccessful); almConnecter.ContinueToRun = almConnecter.TestSet.MoveToNextTestCase(); }
/// <inheritdoc/> public override void AddTestStepStatusToTestCase(ITestStepStatus testStepStatus, ITestCaseStatus testCaseStatus) { ALMSetData almConnecter = (ALMSetData)InformationObject.TestSetData; almConnecter.ConnectToALM(); string testName = testStepStatus.Name; string testStatus = testStepStatus.RunSuccessful ? "Passed" : "Failed"; string testDescription = testStepStatus.Description; string testExpected = testStepStatus.Expected; string testActual = testStepStatus.Actual; almConnecter.TestSet.AddTestStepToTestCase(testName, testStatus, testDescription, testExpected, testActual); }