- 浏览: 1799 次
最新评论
文章列表
How to understand parameter "parallel" when setting up it in testing.xml file;
Structure of test suites
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="Suite1" parallel=& ...
public static boolean isImageOnScreen(String imagePath){
Match match = screen.exists(new Pattern(imagePath));
if(match != null && match.getScore() > 0.8){
return true;
}
else{
return false;
}
}