发现一个抓取动态网页的好东东:
Watij (pronounced wattage) stands for Web Application Testing in Java. Watij is a pure Java API created to allow for the automation of web applications. Based on the simplicity of Watir and enhanced by the power of Java, Watij automates functional testing of web applications through a real browser. Currently Watij supports automating Internet Explorer on Windows only. Future plans are in place to support others like Mozilla.
Just download Watij, unzip, and double-click on the launchWatijBeanShell.bat and you are ready to start scripting in the BeanShell Desktop console.
how easy it is to script a search on Google:
IE ie = new IE();
ie.start("http://www.google.com");
ie.textField(name,"q").set("Watij");
ie.button("Google Search").click();
Now don’t stop here! Take a look at the Quick Start Guide and begin writing your Watij test scripts in test runners like JUnit or others like TestNG.
Note: Requires java version jdk 1.5. See the Quick Start page for more details.
Watij是一款纯Java API,用于实现Web应用程序的功能测试自动化。它通过真实浏览器进行操作,目前仅支持Windows下的InternetExplorer。用户可以轻松地使用BeanShell开始编写测试脚本,并集成到JUnit等测试运行器中。


被折叠的 条评论
为什么被折叠?



