예제 #1
0
        public ActionResult GetTestCasePatternImage(long patternId)
        {
            var result = this.testCaseService.GetPatternScreenshot(patternId);

            return(ActionResultFactory.ImageResult(result));
        }
예제 #2
0
        public ActionResult GetScreenshot(long testId, ScreenshotType screenshotType)
        {
            var image = this.testResultService.GetScreenshot(testId, screenshotType);

            return(ActionResultFactory.ImageResult(image));
        }