开发者

multiple test cases for selenium RC

开发者 https://www.devze.com 2023-02-13 18:32 出处:网络
How can you creat开发者_C百科e multiple test cases for selenium RC using eclipse?Evaluate a test framework, such as TestNG or JUnit. Based on these frameworks, you can build data driven tests, or a nu

How can you creat开发者_C百科e multiple test cases for selenium RC using eclipse?


Evaluate a test framework, such as TestNG or JUnit. Based on these frameworks, you can build data driven tests, or a number of scripts, executed sequentially (or in parallel) using Ant.


You can try implementing a Data Provider into your tests and having the test methods be executed for the different values in it.

For example, you can have a CSV file with the different test parameters for each case and execute "each line".


I would recommend the latest Junit version and the latest Selenium 2 Version. Those two together make it pretty easy to get going.


TestNG has better support for all test automation requirements. Try it.

Find more on how to do this here http://aboutselenium.blogspot.com/2011/10/building-automation-framework-with-ant.html

0

精彩评论

暂无评论...
验证码 换一张
取 消