Mercury QuickTest Professional
http://www.openqa.org/selenium/
Selenium Core (selenium-core-0.8.2.zip) Selenium RC (selenium-remote-control-0.9.0.zip) Selenium IDE (Selenium IDE 0.8.7)
FireFox? Selenium IDE
java -jar selenium-server.jar
TestSuite?
java %PROXY_OPTION% -jar selenium-server.jar -htmlSuite "*ieplore" "http://www.testsitaiurl.com" "testsuite.html" "TestResult.html" -timeout 60000
-Dhttp.proxyHost=hoge.proxy.com -Dhttp.proxyPort=8080
SeleniumServer?
selenium-server.jar selenium-server-tests.jar
selenium-java-client-driver.jar selenium-java-client-driver-tests.jar
package com.example.tests; import com.thoughtworks.selenium.SeleneseTestCase; public class Test extends SeleneseTestCase { private SeleniumServer seleniumServer; public void setUp() throws Exception { seleniumServer = new SeleniumServer(); seleniumServer.start(); super.setUp("http://www.yahoo.co.jp"); } public void tearDown() throws Exception { super.tearDown(); seleniumServer.stop(); } public void testTest() throws Exception { selenium.open("/"); selenium.type("fp", "hoge"); selenium.click("st"); // selenium.waitForPageToLoad("30000"); verifyTrue(selenium.isTextPresent("hoge")); } }
ForPageToLoad?
at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:73)