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
Sent: Wednesday, August 17, 2005 5:28 PM
To: selenium-users@lists.public.thoughtworks.org
Subject: [Selenium-users] XML-RPC for Java driver example?

 

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

 

 

 

 

David M. Goudreau

[EMAIL PROTECTED]

(415) 403-6706

235 Montgomery Street, Suite 1300

San Francisco, CA 94104

 

_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users

Reply via email to