lunes, 5 de octubre de 2015

Ant III Run JUnit with Selenium WebDriver using Ant

Requirement, you need to review the previous posts to understand better about Ant

http://marisolchambiarrosquipa.blogspot.com/2015/09/ant-part1.html
http://marisolchambiarrosquipa.blogspot.com/2015/09/ant-ii-run-java-using-ant.html

In this post, we will learn how to perform a project using Selenium WebDriver using Junit and Ant.
To understand better about Selenium webDriver with JUnit, you need to review the following post

http://marisolchambiarrosquipa.blogspot.com/2014/07/selenium-webdriver.html, in this post I explained that libraries need  and showed an example
Those classes I am using the next post http://marisolchambiarrosquipa.blogspot.com/2015/05/design-patterns.html, the unique difference is  that in that post I used TestNg, only change the annotations and it needs other library.




 the selenium-server-standalone-2.46.0.jar file include Junit


This will be our build.xml file after we need to run it.


 We need to add  the following tags, then we will run the build.xml file




No hay comentarios:

Publicar un comentario