Esempio n. 1
0
        /// <inheritdoc/>
        public override void Report()
        {
            ALMSetData almConnecter = (ALMSetData)InformationObject.TestSetData;

            almConnecter.ConnectToALM();
            almConnecter.ALM.SendExecutionReport();
            almConnecter.ALM.DisconnectFromServer();
        }
Esempio n. 2
0
        /// <inheritdoc/>
        public override void AddTestCaseStatus(ITestCaseStatus testCaseStatus)
        {
            ALMSetData almConnecter = (ALMSetData)InformationObject.TestSetData;

            almConnecter.ConnectToALM();
            almConnecter.TestSet.SetTestCaseRunStatus(testCaseStatus.RunSuccessful);
            almConnecter.ContinueToRun = almConnecter.TestSet.MoveToNextTestCase();
        }
Esempio n. 3
0
        /// <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);
        }