Skip to content

Instantly share code, notes, and snippets.

View Vanilton18's full-sized avatar

Vanilton Pinheiro Vanilton18

View GitHub Profile
Finder f = new Finder("c:\\myPic"+Integer.toString(turn)+".png");
f.find(red);
if (f.hasNext()){
System.out.println("Encontrei o vermelho");
color = "1";
sequence.add(color);
}
for (int i=0;i<turn;i++){
if (sequence.get(i) == "1"){
tela.click("pictures\\red_off");
}
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.vanilton</groupId>
<artifactId>project-test-multimodule-maven</artifactId>
<version>1.0</version>
<packaging>pom</packaging>
<properties>
<testng.version>6.9.10</testng.version>
<selenium.version>2.52.0</selenium.version>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.vanilton</groupId>
<artifactId>project-test-multimodule-maven</artifactId>
<version>1.0</version>
</parent>
<artifactId>module-client-one</artifactId>
<dependencies>