Skip to content

Instantly share code, notes, and snippets.

@Vanilton18
Last active March 14, 2016 01:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vanilton18/88eb01be5c6c9fcc7fc9 to your computer and use it in GitHub Desktop.
Save Vanilton18/88eb01be5c6c9fcc7fc9 to your computer and use it in GitHub Desktop.
private String pathPictures = "src//test//resources//pictures//";
public void clicarNoMenu(String nomeMenu) throws FindFailed {
screen.wait(pathPictures + "menu//" + nomeMenu + ".png");
screen.click(pathPictures + "menu//" + nomeMenu + ".png");
}
public void clicarNoSubMenu(String nomeSubMenu) throws FindFailed {
screen.wait(pathPictures + "submenu//" + nomeSubMenu + ".png");
screen.click(pathPictures + "submenu//" + nomeSubMenu + ".png");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment