コード例 #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));
        }