This is what has worked for me. It’s
all localhost for me. Using Apache’s XML-RPC client XmlRpcClient
server = null; server = new
XmlRpcClient("http://localhost:8080/selenium-driver/RPC2"); String command = “open”; Vector params =
new Vector(); params.addElement(“http://localhost/TestPage.html”); String result =
(String) server.execute(command, params); if
(result.equals("PASSED") || result.equals("OK") ||
result.equals("test complete")) //
passed Else //
failed Hope it helps Andy O From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Goudreau Does anyone have an example of running the Selenium Server and
calling it using XML-RPC from Java? I looked at the Perl example, but
couldn’t seem to get Java to communicate with the Selenium Server and
pull up a page. TIA. -dmg (415) 403-6706 |
_______________________________________________ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users