<?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 for Bit Motif</title>
	<atom:link href="http://www.bitmotif.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bitmotif.com</link>
	<description>A Zero Here, A One There</description>
	<lastBuildDate>Sat, 06 Feb 2010 11:08:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Selenium Remote Control For Java — A Tutorial (part 3) by harendra</title>
		<link>http://www.bitmotif.com/selenium/selenium-remote-control-for-java-a-tutorial-part-3/comment-page-1/#comment-2465</link>
		<dc:creator>harendra</dc:creator>
		<pubDate>Sat, 06 Feb 2010 11:08:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitmotif.com/selenium/selenium-remote-control-for-java-%e2%80%94-a-tutorial-part-3/#comment-2465</guid>
		<description>and the result shows up that:
&quot;Current window or frame is closed!&quot;</description>
		<content:encoded><![CDATA[<p>and the result shows up that:<br />
&#8220;Current window or frame is closed!&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selenium Remote Control For Java — A Tutorial (part 3) by harendra</title>
		<link>http://www.bitmotif.com/selenium/selenium-remote-control-for-java-a-tutorial-part-3/comment-page-1/#comment-2464</link>
		<dc:creator>harendra</dc:creator>
		<pubDate>Sat, 06 Feb 2010 11:06:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitmotif.com/selenium/selenium-remote-control-for-java-%e2%80%94-a-tutorial-part-3/#comment-2464</guid>
		<description>My browser launches a pop up window when clicked a link within. I have to add some values using the pop up window and then close this window. But the control does not returns to the main browser application. can anyone help with HTML code</description>
		<content:encoded><![CDATA[<p>My browser launches a pop up window when clicked a link within. I have to add some values using the pop up window and then close this window. But the control does not returns to the main browser application. can anyone help with HTML code</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selenium Remote Control For Java &#8212; A Tutorial 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>Comment on Selenium Remote Control For Java &#8212; A Tutorial 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>Comment on Selenium Remote Control For Java &#8212; A Tutorial (part 2) by Min</title>
		<link>http://www.bitmotif.com/selenium/selenium-remote-control-for-java-a-tutorial-part-2/comment-page-1/#comment-1600</link>
		<dc:creator>Min</dc:creator>
		<pubDate>Fri, 16 Oct 2009 05:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitmotif.com/selenium/selenium-remote-control-for-java-%e2%80%94-a-tutorial-part-2/#comment-1600</guid>
		<description>Hi,

The tutorials of selenium java RC is very helpful. Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>The tutorials of selenium java RC is very helpful. Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selenium Remote Control For Java &#8212; A Tutorial 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>Comment on Selenium Remote Control For Java &#8212; A Tutorial (part 2) by vinay</title>
		<link>http://www.bitmotif.com/selenium/selenium-remote-control-for-java-a-tutorial-part-2/comment-page-1/#comment-1585</link>
		<dc:creator>vinay</dc:creator>
		<pubDate>Tue, 06 Oct 2009 09:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitmotif.com/selenium/selenium-remote-control-for-java-%e2%80%94-a-tutorial-part-2/#comment-1585</guid>
		<description>Hi all,
can anyone help me sorting out this small piece of code,
the Selenium.click(&quot;link=User&quot;);
is not working


import com.thoughtworks.selenium.*;

import org.testng.annotations.Test;
import static org.testng.Assert.*;
import java.util.regex.Pattern;
public class testNG01 extends SeleneseTestNgHelper 
          {
	  @Test public void testtestNG01() throws Exception
          {
		  selenium = new DefaultSelenium(&quot;localhost&quot;,
		             4444, &quot;*iexplore&quot;, &quot;http://192.168.5.211/login.php&quot;);
		  selenium.start();
	selenium.open(&quot;//login.php&quot;);
	selenium.type(&quot;uname&quot;, &quot;admin&quot;);
    selenium.type(&quot;pword&quot;, &quot;password&quot;);
    selenium.click(&quot;//input[@value=&#039;Submit&#039;]&quot;);
	selenium.waitForPageToLoad(&quot;30000&quot;);
	selenium.click(&quot;link=User&quot;);
           }
           }</description>
		<content:encoded><![CDATA[<p>Hi all,<br />
can anyone help me sorting out this small piece of code,<br />
the Selenium.click(&#8220;link=User&#8221;);<br />
is not working</p>
<p>import com.thoughtworks.selenium.*;</p>
<p>import org.testng.annotations.Test;<br />
import static org.testng.Assert.*;<br />
import java.util.regex.Pattern;<br />
public class testNG01 extends SeleneseTestNgHelper<br />
          {<br />
	  @Test public void testtestNG01() throws Exception<br />
          {<br />
		  selenium = new DefaultSelenium(&#8220;localhost&#8221;,<br />
		             4444, &#8220;*iexplore&#8221;, &#8220;http://192.168.5.211/login.php&#8221;);<br />
		  selenium.start();<br />
	selenium.open(&#8220;//login.php&#8221;);<br />
	selenium.type(&#8220;uname&#8221;, &#8220;admin&#8221;);<br />
    selenium.type(&#8220;pword&#8221;, &#8220;password&#8221;);<br />
    selenium.click(&#8220;//input[@value='Submit']&#8220;);<br />
	selenium.waitForPageToLoad(&#8220;30000&#8243;);<br />
	selenium.click(&#8220;link=User&#8221;);<br />
           }<br />
           }</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selenium Remote Control For Java &#8212; A Tutorial 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>Comment on JBehave Rave by Pardus Dünyasi &#8211; 7/5/2009 1:20:34 PM &#171; Haber 34 &#8211; Netten Haberler</title>
		<link>http://www.bitmotif.com/java/jbehave-rave/comment-page-1/#comment-1387</link>
		<dc:creator>Pardus Dünyasi &#8211; 7/5/2009 1:20:34 PM &#171; Haber 34 &#8211; Netten Haberler</dc:creator>
		<pubDate>Sun, 05 Jul 2009 12:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitmotif.com/java/jbehave-rave/#comment-1387</guid>
		<description>[...] Jbehave2 Basics http://jbehave.org/documentation/two-minute-tutorial/ http://www.bitmotif.com/java/jbehave-rave/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Jbehave2 Basics <a href="http://jbehave.org/documentation/two-minute-tutorial/" rel="nofollow">http://jbehave.org/documentation/two-minute-tutorial/</a> <a href="http://www.bitmotif.com/java/jbehave-rave/" rel="nofollow">http://www.bitmotif.com/java/jbehave-rave/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JBehave Rave by Pardus Dünyasi &#8211; 7/4/2009 1:21:00 PM &#171; Haber 34 &#8211; Netten Haberler</title>
		<link>http://www.bitmotif.com/java/jbehave-rave/comment-page-1/#comment-1383</link>
		<dc:creator>Pardus Dünyasi &#8211; 7/4/2009 1:21:00 PM &#171; Haber 34 &#8211; Netten Haberler</dc:creator>
		<pubDate>Sat, 04 Jul 2009 10:22:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitmotif.com/java/jbehave-rave/#comment-1383</guid>
		<description>[...] Jbehave2 Basics http://jbehave.org/documentation/two-minute-tutorial/ http://www.bitmotif.com/java/jbehave-rave/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Jbehave2 Basics <a href="http://jbehave.org/documentation/two-minute-tutorial/" rel="nofollow">http://jbehave.org/documentation/two-minute-tutorial/</a> <a href="http://www.bitmotif.com/java/jbehave-rave/" rel="nofollow">http://www.bitmotif.com/java/jbehave-rave/</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
