Commit cb6d1d2e authored by 马博's avatar 马博

test

parent 1eef089d
......@@ -82,7 +82,7 @@ public class test {
catchExceptions(result);
}
public void catchExceptions(ITestResult result) throws IOException {
File file = new File("");
File file = new File("C:/image");
Reporter.setCurrentTestResult(result);
Reporter.log(file.getAbsolutePath());
Reporter.log("<img src='" + file.getAbsolutePath() + "/" + result.getName() + ".jpg' hight='400' width='400'/>");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment