<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Selenium Remote Control For Java &#8212; A Tutorial</title>
	<atom:link href="http://www.bitmotif.com/selenium/selenium-remote-control-for-java-a-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bitmotif.com/selenium/selenium-remote-control-for-java-a-tutorial/</link>
	<description>A Zero Here, A One There</description>
	<lastBuildDate>Mon, 21 Jun 2010 12:27:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Sai</title>
		<link>http://www.bitmotif.com/selenium/selenium-remote-control-for-java-a-tutorial/comment-page-1/#comment-2996</link>
		<dc:creator>Sai</dc:creator>
		<pubDate>Thu, 15 Apr 2010 05:29:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitmotif.com/uncategorized/selenium-remote-control-for-java-a-primer/#comment-2996</guid>
		<description>Hi Motif,

Can you share the &quot;Class Settings&quot; definition which is extended by Class RC.

Regards
Sai</description>
		<content:encoded><![CDATA[<p>Hi Motif,</p>
<p>Can you share the &#8220;Class Settings&#8221; definition which is extended by Class RC.</p>
<p>Regards<br />
Sai</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arvind</title>
		<link>http://www.bitmotif.com/selenium/selenium-remote-control-for-java-a-tutorial/comment-page-1/#comment-2961</link>
		<dc:creator>arvind</dc:creator>
		<pubDate>Wed, 07 Apr 2010 10:39:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitmotif.com/uncategorized/selenium-remote-control-for-java-a-primer/#comment-2961</guid>
		<description>Hi,
I am getting following error while running Selenium RC test cases using JUnit
com.thoughtworks.selenium.SeleniumException: XHR ERROR: URL = http://www.google.com/ Response_Code = 403 Error_Message = Forbidden
	at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
	at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
	at com.thoughtworks.selenium.DefaultSelenium.open(DefaultSelenium.java:353)
	at com.testscripts.NewTest.testNew(NewTest.java:18)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at com.thoughtworks.selenium.SeleneseTestCase.runBare(SeleneseTestCase.java:212)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I am getting following error while running Selenium RC test cases using JUnit<br />
com.thoughtworks.selenium.SeleniumException: XHR ERROR: URL = <a href="http://www.google.com/" rel="nofollow">http://www.google.com/</a> Response_Code = 403 Error_Message = Forbidden<br />
	at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)<br />
	at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)<br />
	at com.thoughtworks.selenium.DefaultSelenium.open(DefaultSelenium.java:353)<br />
	at com.testscripts.NewTest.testNew(NewTest.java:18)<br />
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br />
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br />
	at java.lang.reflect.Method.invoke(Unknown Source)<br />
	at junit.framework.TestCase.runTest(TestCase.java:154)<br />
	at junit.framework.TestCase.runBare(TestCase.java:127)<br />
	at com.thoughtworks.selenium.SeleneseTestCase.runBare(SeleneseTestCase.java:212)<br />
	at junit.framework.TestResult$1.protect(TestResult.java:106)<br />
	at junit.framework.TestResult.runProtected(TestResult.java:124)<br />
	at junit.framework.TestResult.run(TestResult.java:109)<br />
	at junit.framework.TestCase.run(TestCase.java:118)<br />
	at junit.framework.TestSuite.runTest(TestSuite.java:208)<br />
	at junit.framework.TestSuite.run(TestSuite.java:203)<br />
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)<br />
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)<br />
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)<br />
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)<br />
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)<br />
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)<br />
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aUser</title>
		<link>http://www.bitmotif.com/selenium/selenium-remote-control-for-java-a-tutorial/comment-page-1/#comment-2655</link>
		<dc:creator>aUser</dc:creator>
		<pubDate>Sat, 13 Mar 2010 00:33:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitmotif.com/uncategorized/selenium-remote-control-for-java-a-primer/#comment-2655</guid>
		<description>I have a machine running the selenium rc server, and im wanting to use another computer to run the driver. Both computers can communicate with each other already... How would you set that up? 

Thanks!</description>
		<content:encoded><![CDATA[<p>I have a machine running the selenium rc server, and im wanting to use another computer to run the driver. Both computers can communicate with each other already&#8230; How would you set that up? </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hembhar</title>
		<link>http://www.bitmotif.com/selenium/selenium-remote-control-for-java-a-tutorial/comment-page-1/#comment-2650</link>
		<dc:creator>hembhar</dc:creator>
		<pubDate>Fri, 12 Mar 2010 13:34:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitmotif.com/uncategorized/selenium-remote-control-for-java-a-primer/#comment-2650</guid>
		<description>While running the test script using Selenium RC - Java from eclipse (having plugin testng) i am getting the below error - (please let me know how can i resolve it).



[Parser] [WARN] Unknown value of attribute &#039;parallel&#039; at suite level: &#039;&#039;.
[Parser] Running:
  D:\Selenium_FW\test1\temp-testng-customsuite.xml

FAILED CONFIGURATION: @BeforeClass setup
java.lang.RuntimeException: Could not contact Selenium Server; have you started it on &#039;localhost:4444&#039; ?
Read more at http://seleniumhq.org/projects/remote-control/not-started.html
Connection refused: connect
	at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:86)
	at googletest.setup(googletest.java:10)</description>
		<content:encoded><![CDATA[<p>While running the test script using Selenium RC &#8211; Java from eclipse (having plugin testng) i am getting the below error &#8211; (please let me know how can i resolve it).</p>
<p>[Parser] [WARN] Unknown value of attribute &#8216;parallel&#8217; at suite level: &#8221;.<br />
[Parser] Running:<br />
  D:\Selenium_FW\test1\temp-testng-customsuite.xml</p>
<p>FAILED CONFIGURATION: @BeforeClass setup<br />
java.lang.RuntimeException: Could not contact Selenium Server; have you started it on &#8216;localhost:4444&#8242; ?<br />
Read more at <a href="http://seleniumhq.org/projects/remote-control/not-started.html" rel="nofollow">http://seleniumhq.org/projects/remote-control/not-started.html</a><br />
Connection refused: connect<br />
	at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:86)<br />
	at googletest.setup(googletest.java:10)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Holme</title>
		<link>http://www.bitmotif.com/selenium/selenium-remote-control-for-java-a-tutorial/comment-page-1/#comment-2460</link>
		<dc:creator>John Holme</dc:creator>
		<pubDate>Fri, 05 Feb 2010 19:26:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitmotif.com/uncategorized/selenium-remote-control-for-java-a-primer/#comment-2460</guid>
		<description>The shutdown command mentioned in the original post - 

http://localhost:4444/selenium-server/driver/?cmd=shutDown

- returns an error because it wants the session id. However, when starting from a bat script using the java -jar command, the session id is not returned. Is there a command that returns the current session id, or a way to stop the server that doesn&#039;t require the session id?</description>
		<content:encoded><![CDATA[<p>The shutdown command mentioned in the original post &#8211; </p>
<p><a href="http://localhost:4444/selenium-server/driver/?cmd=shutDown" rel="nofollow">http://localhost:4444/selenium-server/driver/?cmd=shutDown</a></p>
<p>- returns an error because it wants the session id. However, when starting from a bat script using the java -jar command, the session id is not returned. Is there a command that returns the current session id, or a way to stop the server that doesn&#8217;t require the session id?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kavitha</title>
		<link>http://www.bitmotif.com/selenium/selenium-remote-control-for-java-a-tutorial/comment-page-1/#comment-2315</link>
		<dc:creator>kavitha</dc:creator>
		<pubDate>Mon, 11 Jan 2010 22:38:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitmotif.com/uncategorized/selenium-remote-control-for-java-a-primer/#comment-2315</guid>
		<description>Hi,

I am new learner of using selenium Rc, i am trying to open www.google.com webpage and trying to enter some data in the search field.

i am trying to do this by writing code in java, i am able to open a webpage but unable to enter text in the search field.

my code:

import com.thoughtworks.selenium.*;
public class google {
	DefaultSelenium selenium = new DefaultSelenium(&quot;localhost&quot;, 4444, &quot;*iexploreproxy&quot;,
	&quot;http://www.google.com/&quot;);
public void test (){
	try{
		selenium.start();
		selenium.open(&quot;http://www.google.com&quot;);
		 selenium.waitForPageToLoad(&quot;100&quot;);
		 selenium.type(&quot;q&quot;,&quot;test&quot;);
		 selenium.click(&quot;xpath=//form/table[1]/tbody/tr[1]/td[2]/input[4]&quot;);//(i have no idea why this step is?)
		 selenium.click(&quot;btnG&quot;);
		selenium.waitForPageToLoad(&quot;100&quot;);
		 
	}
	
	catch (Exception E){System.out.println(E);}
	selenium.stop();
}
	
	public static void main(String[] args) {
		new google().test();

	}

}

Plz help me out.

Thanks
Kavitha</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am new learner of using selenium Rc, i am trying to open <a href="http://www.google.com" rel="nofollow">http://www.google.com</a> webpage and trying to enter some data in the search field.</p>
<p>i am trying to do this by writing code in java, i am able to open a webpage but unable to enter text in the search field.</p>
<p>my code:</p>
<p>import com.thoughtworks.selenium.*;<br />
public class google {<br />
	DefaultSelenium selenium = new DefaultSelenium(&#8220;localhost&#8221;, 4444, &#8220;*iexploreproxy&#8221;,<br />
	&#8220;http://www.google.com/&#8221;);<br />
public void test (){<br />
	try{<br />
		selenium.start();<br />
		selenium.open(&#8220;http://www.google.com&#8221;);<br />
		 selenium.waitForPageToLoad(&#8220;100&#8243;);<br />
		 selenium.type(&#8220;q&#8221;,&#8221;test&#8221;);<br />
		 selenium.click(&#8220;xpath=//form/table[1]/tbody/tr[1]/td[2]/input[4]&#8220;);//(i have no idea why this step is?)<br />
		 selenium.click(&#8220;btnG&#8221;);<br />
		selenium.waitForPageToLoad(&#8220;100&#8243;);</p>
<p>	}</p>
<p>	catch (Exception E){System.out.println(E);}<br />
	selenium.stop();<br />
}</p>
<p>	public static void main(String[] args) {<br />
		new google().test();</p>
<p>	}</p>
<p>}</p>
<p>Plz help me out.</p>
<p>Thanks<br />
Kavitha</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj</title>
		<link>http://www.bitmotif.com/selenium/selenium-remote-control-for-java-a-tutorial/comment-page-1/#comment-1590</link>
		<dc:creator>Raj</dc:creator>
		<pubDate>Mon, 12 Oct 2009 01:52:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitmotif.com/uncategorized/selenium-remote-control-for-java-a-primer/#comment-1590</guid>
		<description>I followed all the instructions correctly even though I am getting error mentioned below:

com.thoughtworks.selenium.SeleniumException: Internal Server Error
	at com.thoughtworks.selenium.HttpCommandProcessor.getCommandResponse(HttpCommandProcessor.java:124)
	at com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(HttpCommandProcessor.java:82)
	at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:68)
	at com.thoughtworks.selenium.DefaultSelenium.setContext(DefaultSelenium.java:542)
	at com.thoughtworks.selenium.SeleneseTestCase.setUp(SeleneseTestCase.java:126)
	at com.example.tests.NewTest1.setUp(NewTest1.java:11)
	at junit.framework.TestCase.runBare(TestCase.java:125)
	at com.thoughtworks.selenium.SeleneseTestCase.runBare(SeleneseTestCase.java:71)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

Please can anybody tell me the reason for this error.</description>
		<content:encoded><![CDATA[<p>I followed all the instructions correctly even though I am getting error mentioned below:</p>
<p>com.thoughtworks.selenium.SeleniumException: Internal Server Error<br />
	at com.thoughtworks.selenium.HttpCommandProcessor.getCommandResponse(HttpCommandProcessor.java:124)<br />
	at com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(HttpCommandProcessor.java:82)<br />
	at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:68)<br />
	at com.thoughtworks.selenium.DefaultSelenium.setContext(DefaultSelenium.java:542)<br />
	at com.thoughtworks.selenium.SeleneseTestCase.setUp(SeleneseTestCase.java:126)<br />
	at com.example.tests.NewTest1.setUp(NewTest1.java:11)<br />
	at junit.framework.TestCase.runBare(TestCase.java:125)<br />
	at com.thoughtworks.selenium.SeleneseTestCase.runBare(SeleneseTestCase.java:71)<br />
	at junit.framework.TestResult$1.protect(TestResult.java:106)<br />
	at junit.framework.TestResult.runProtected(TestResult.java:124)<br />
	at junit.framework.TestResult.run(TestResult.java:109)<br />
	at junit.framework.TestCase.run(TestCase.java:118)<br />
	at junit.framework.TestSuite.runTest(TestSuite.java:208)<br />
	at junit.framework.TestSuite.run(TestSuite.java:203)<br />
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)<br />
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)<br />
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)<br />
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)<br />
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)<br />
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)<br />
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)</p>
<p>Please can anybody tell me the reason for this error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NJ</title>
		<link>http://www.bitmotif.com/selenium/selenium-remote-control-for-java-a-tutorial/comment-page-1/#comment-1423</link>
		<dc:creator>NJ</dc:creator>
		<pubDate>Tue, 28 Jul 2009 18:30:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitmotif.com/uncategorized/selenium-remote-control-for-java-a-primer/#comment-1423</guid>
		<description>what is Settings.LoadProperties(); expected to do in the above example? Also in the RC class, &quot;import com.tome.selenium.setup.Settings;&quot; what should i do to make it work? i&#039;m not that familiar with java. so i might be missing something here.</description>
		<content:encoded><![CDATA[<p>what is Settings.LoadProperties(); expected to do in the above example? Also in the RC class, &#8220;import com.tome.selenium.setup.Settings;&#8221; what should i do to make it work? i&#8217;m not that familiar with java. so i might be missing something here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Humanity</title>
		<link>http://www.bitmotif.com/selenium/selenium-remote-control-for-java-a-tutorial/comment-page-1/#comment-1374</link>
		<dc:creator>Humanity</dc:creator>
		<pubDate>Mon, 29 Jun 2009 19:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitmotif.com/uncategorized/selenium-remote-control-for-java-a-primer/#comment-1374</guid>
		<description>Thanks Anonymous Lee,
    For sharing your Selenium beginner framework. It was really useful!</description>
		<content:encoded><![CDATA[<p>Thanks Anonymous Lee,<br />
    For sharing your Selenium beginner framework. It was really useful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leslie</title>
		<link>http://www.bitmotif.com/selenium/selenium-remote-control-for-java-a-tutorial/comment-page-1/#comment-1366</link>
		<dc:creator>leslie</dc:creator>
		<pubDate>Fri, 26 Jun 2009 02:41:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitmotif.com/uncategorized/selenium-remote-control-for-java-a-primer/#comment-1366</guid>
		<description>Hi Anonymous Lee,

Thank you! I have been looking at how to run test cases with a single browser instance for a day but with no luck.  Your code gave me hints on how to do it.</description>
		<content:encoded><![CDATA[<p>Hi Anonymous Lee,</p>
<p>Thank you! I have been looking at how to run test cases with a single browser instance for a day but with no luck.  Your code gave me hints on how to do it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
