lunes, 12 de octubre de 2015

Run TestNG with Selenium WebDriver using Ant

Requirement, it is necessary that you review the following posts
http://marisolchambiarrosquipa.blogspot.com/2015/09/ant-ii-run-java-using-ant.html

http://marisolchambiarrosquipa.blogspot.com/2014/09/create-test-case-with-testng-and-eclipse.html

Our test case is the following




It is our xml file




Property elements
Ant build files are written in XML, which does not allow declaring variables as we do in a programming language so that we can use the PROPERTY  element which allow us to specify properties.
It is our build.xml file


Execute our build.xml file






No hay comentarios:

Publicar un comentario