<?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: File upload with Selenium</title>
	<atom:link href="http://cakebaker.42dh.com/2006/03/29/file-upload-with-selenium/feed/" rel="self" type="application/rss+xml" />
	<link>http://cakebaker.42dh.com/2006/03/29/file-upload-with-selenium/</link>
	<description>baking cakes with CakePHP</description>
	<lastBuildDate>Tue, 31 Jan 2012 15:12:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: kavitha rajendran</title>
		<link>http://cakebaker.42dh.com/2006/03/29/file-upload-with-selenium/comment-page-1/#comment-210803</link>
		<dc:creator>kavitha rajendran</dc:creator>
		<pubDate>Thu, 30 Jun 2011 05:03:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=154#comment-210803</guid>
		<description>Hi, 
After modifying selenium-api.js file, i have created selenium-server.jar file by follwoing command.
jar -cvf selenium-sevrer.jar selenium-server

But when I am trying to start selenium server, I am getting following error.
D:\krajendr\Desktop\debug&gt;java -jar seleniumserver.jar
Failed to load Main-Class manifest attribute from
seleniumserver.jar

D:\krajendr\Desktop\debug&gt;
please let me know the solution, if anyone knows.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
After modifying selenium-api.js file, i have created selenium-server.jar file by follwoing command.<br />
jar -cvf selenium-sevrer.jar selenium-server</p>
<p>But when I am trying to start selenium server, I am getting following error.<br />
D:\krajendr\Desktop\debug&gt;java -jar seleniumserver.jar<br />
Failed to load Main-Class manifest attribute from<br />
seleniumserver.jar</p>
<p>D:\krajendr\Desktop\debug&gt;<br />
please let me know the solution, if anyone knows.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amir</title>
		<link>http://cakebaker.42dh.com/2006/03/29/file-upload-with-selenium/comment-page-1/#comment-206189</link>
		<dc:creator>Amir</dc:creator>
		<pubDate>Sat, 11 Jun 2011 08:31:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=154#comment-206189</guid>
		<description>Here is a post which addresses file upload issue with selenium.

http://www.testingexcellence.com/how-to-upload-files-using-selenium-and-autoit/</description>
		<content:encoded><![CDATA[<p>Here is a post which addresses file upload issue with selenium.</p>
<p><a href="http://www.testingexcellence.com/how-to-upload-files-using-selenium-and-autoit/" rel="nofollow">http://www.testingexcellence.com/how-to-upload-files-using-selenium-and-autoit/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anu</title>
		<link>http://cakebaker.42dh.com/2006/03/29/file-upload-with-selenium/comment-page-1/#comment-201959</link>
		<dc:creator>Anu</dc:creator>
		<pubDate>Fri, 27 May 2011 15:08:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=154#comment-201959</guid>
		<description>Hi All,

Uploading file issue still exists with Selenium IDE because of  security issues with the browser(as far as i know), but currently we have moved to Selenium RC using C# and uploading file issue has been resolved with a third party tool called Autohotkey [THIS ONLY WORKS FOR IE, we are still trying to fix Firefox ]. 

If any one is struggling to upload a file in Selenium RC this is a good solution for Internet explorer. 

I will come back with steps</description>
		<content:encoded><![CDATA[<p>Hi All,</p>
<p>Uploading file issue still exists with Selenium IDE because of  security issues with the browser(as far as i know), but currently we have moved to Selenium RC using C# and uploading file issue has been resolved with a third party tool called Autohotkey [THIS ONLY WORKS FOR IE, we are still trying to fix Firefox ]. </p>
<p>If any one is struggling to upload a file in Selenium RC this is a good solution for Internet explorer. </p>
<p>I will come back with steps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saima</title>
		<link>http://cakebaker.42dh.com/2006/03/29/file-upload-with-selenium/comment-page-1/#comment-201652</link>
		<dc:creator>saima</dc:creator>
		<pubDate>Thu, 26 May 2011 08:07:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=154#comment-201652</guid>
		<description>@cakebaker : I m testing an application in which a pop up window comes up and i have to upload a file on that window. I tried using the above 2 fixes suggested by you. But its not working. 
I get a similar file upload error as uploaded by Anu.


[error] Unexpected Exception: code -&gt; 1000, INDEX_SIZE_ERR -&gt; 1, DOMSTRING_SIZE_ERR -&gt; 2, HIERARCHY_REQUEST_ERR -&gt; 3, WRONG_DOCUMENT_ERR -&gt; 4, INVALID_CHARACTER_ERR -&gt; 5, NO_DATA_ALLOWED_ERR -&gt; 6, NO_MODIFICATION_ALLOWED_ERR -&gt; 7, NOT_FOUND_ERR -&gt; 8, NOT_SUPPORTED_ERR -&gt; 9, INUSE_ATTRIBUTE_ERR -&gt; 10, INVALID_STATE_ERR -&gt; 11, SYNTAX_ERR -&gt; 12, INVALID_MODIFICATION_ERR -&gt; 13, NAMESPACE_ERR -&gt; 14, INVALID_ACCESS_ERR -&gt; 15, VALIDATION_ERR -&gt; 16, TYPE_MISMATCH_ERR -&gt; 17, message -&gt; Security error, result -&gt; 2152924136, name -&gt; NS_ERROR_DOM_SECURITY_ERR, filename -&gt; null, lineNumber -&gt; 0, columnNumber -&gt; 0, location -&gt; native frame ::  ::  :: line 0, inner -&gt; null, data -&gt; null 


I m using selenium IDE 1.0.10 and firefox 3.6.17. Could u help out?
Also ,i edited the selenium-api.js file that i edited is at the path:

C:\Documents and Settings\saima\Application Data\Mozilla\Firefox\Profiles\r8b1jve2.default\extensions\{a6fd85ed-e919-4a43-a5af-8da18bda539f}\chrome\content\selenium\scripts

Is this the correct path for selenium-api.js ?</description>
		<content:encoded><![CDATA[<p>@cakebaker : I m testing an application in which a pop up window comes up and i have to upload a file on that window. I tried using the above 2 fixes suggested by you. But its not working.<br />
I get a similar file upload error as uploaded by Anu.</p>
<p>[error] Unexpected Exception: code -&gt; 1000, INDEX_SIZE_ERR -&gt; 1, DOMSTRING_SIZE_ERR -&gt; 2, HIERARCHY_REQUEST_ERR -&gt; 3, WRONG_DOCUMENT_ERR -&gt; 4, INVALID_CHARACTER_ERR -&gt; 5, NO_DATA_ALLOWED_ERR -&gt; 6, NO_MODIFICATION_ALLOWED_ERR -&gt; 7, NOT_FOUND_ERR -&gt; 8, NOT_SUPPORTED_ERR -&gt; 9, INUSE_ATTRIBUTE_ERR -&gt; 10, INVALID_STATE_ERR -&gt; 11, SYNTAX_ERR -&gt; 12, INVALID_MODIFICATION_ERR -&gt; 13, NAMESPACE_ERR -&gt; 14, INVALID_ACCESS_ERR -&gt; 15, VALIDATION_ERR -&gt; 16, TYPE_MISMATCH_ERR -&gt; 17, message -&gt; Security error, result -&gt; 2152924136, name -&gt; NS_ERROR_DOM_SECURITY_ERR, filename -&gt; null, lineNumber -&gt; 0, columnNumber -&gt; 0, location -&gt; native frame ::  ::  :: line 0, inner -&gt; null, data -&gt; null </p>
<p>I m using selenium IDE 1.0.10 and firefox 3.6.17. Could u help out?<br />
Also ,i edited the selenium-api.js file that i edited is at the path:</p>
<p>C:\Documents and Settings\saima\Application Data\Mozilla\Firefox\Profiles\r8b1jve2.default\extensions\{a6fd85ed-e919-4a43-a5af-8da18bda539f}\chrome\content\selenium\scripts</p>
<p>Is this the correct path for selenium-api.js ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2006/03/29/file-upload-with-selenium/comment-page-1/#comment-170414</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Fri, 13 Aug 2010 14:10:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=154#comment-170414</guid>
		<description>@Jonathan: I can&#039;t say anything about the fix by Prakash as I don&#039;t work with C#...</description>
		<content:encoded><![CDATA[<p>@Jonathan: I can&#8217;t say anything about the fix by Prakash as I don&#8217;t work with C#&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://cakebaker.42dh.com/2006/03/29/file-upload-with-selenium/comment-page-1/#comment-170165</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Tue, 10 Aug 2010 19:25:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=154#comment-170165</guid>
		<description>1) Has anyone tried the above fix by Prakash using &quot;public bool TypeIntoFileUpload&quot; and did it work? 

2) If yes, What are the details as to exactly this code integrated into the Selenium environment?

Thanks,

Jonathan</description>
		<content:encoded><![CDATA[<p>1) Has anyone tried the above fix by Prakash using &#8220;public bool TypeIntoFileUpload&#8221; and did it work? </p>
<p>2) If yes, What are the details as to exactly this code integrated into the Selenium environment?</p>
<p>Thanks,</p>
<p>Jonathan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2006/03/29/file-upload-with-selenium/comment-page-1/#comment-170039</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Mon, 09 Aug 2010 14:28:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=154#comment-170039</guid>
		<description>@Anu: Hm, does the problem still exist with firefox 3.6.8? You may also checkout the &lt;a href=&quot;http://groups.google.com/group/selenium-users&quot; rel=&quot;nofollow&quot;&gt;Selenium Users Group&lt;/a&gt;, maybe someone there experienced the same problem?</description>
		<content:encoded><![CDATA[<p>@Anu: Hm, does the problem still exist with firefox 3.6.8? You may also checkout the <a href="http://groups.google.com/group/selenium-users" rel="nofollow">Selenium Users Group</a>, maybe someone there experienced the same problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anu</title>
		<link>http://cakebaker.42dh.com/2006/03/29/file-upload-with-selenium/comment-page-1/#comment-169584</link>
		<dc:creator>Anu</dc:creator>
		<pubDate>Wed, 04 Aug 2010 10:15:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=154#comment-169584</guid>
		<description>Yes, I did as we were asked to upgrade to latest fire fox version 3.6.7</description>
		<content:encoded><![CDATA[<p>Yes, I did as we were asked to upgrade to latest fire fox version 3.6.7</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2006/03/29/file-upload-with-selenium/comment-page-1/#comment-168607</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Fri, 23 Jul 2010 13:59:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=154#comment-168607</guid>
		<description>@Anu: Hm, did you change anything in your environment (e.g. updating your browser)?</description>
		<content:encoded><![CDATA[<p>@Anu: Hm, did you change anything in your environment (e.g. updating your browser)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anu</title>
		<link>http://cakebaker.42dh.com/2006/03/29/file-upload-with-selenium/comment-page-1/#comment-168552</link>
		<dc:creator>Anu</dc:creator>
		<pubDate>Thu, 22 Jul 2010 15:43:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=154#comment-168552</guid>
		<description>Hi Guys,

I am using Selenium IDE and file upload was working till yesterday but from today morning its throwing error, when i run each command it works but when i run the whole test case its failing to upload. and throwing error as below.

Any help is very appreciated

[error] Unexpected Exception: code -&gt; 1000, INDEX_SIZE_ERR -&gt; 1, DOMSTRING_SIZE_ERR -&gt; 2, HIERARCHY_REQUEST_ERR -&gt; 3, WRONG_DOCUMENT_ERR -&gt; 4, INVALID_CHARACTER_ERR -&gt; 5, NO_DATA_ALLOWED_ERR -&gt; 6, NO_MODIFICATION_ALLOWED_ERR -&gt; 7, NOT_FOUND_ERR -&gt; 8, NOT_SUPPORTED_ERR -&gt; 9, INUSE_ATTRIBUTE_ERR -&gt; 10, INVALID_STATE_ERR -&gt; 11, SYNTAX_ERR -&gt; 12, INVALID_MODIFICATION_ERR -&gt; 13, NAMESPACE_ERR -&gt; 14, INVALID_ACCESS_ERR -&gt; 15, VALIDATION_ERR -&gt; 16, TYPE_MISMATCH_ERR -&gt; 17, message -&gt; Security error, result -&gt; 2152924136, name -&gt; NS_ERROR_DOM_SECURITY_ERR, filename -&gt; XPCSafeJSObjectWrapper.cpp, lineNumber -&gt; 450, columnNumber -&gt; 0, location -&gt; JS frame :: XPCSafeJSObjectWrapper.cpp :: anonymous :: line 450, inner -&gt; null, data -&gt; null</description>
		<content:encoded><![CDATA[<p>Hi Guys,</p>
<p>I am using Selenium IDE and file upload was working till yesterday but from today morning its throwing error, when i run each command it works but when i run the whole test case its failing to upload. and throwing error as below.</p>
<p>Any help is very appreciated</p>
<p>[error] Unexpected Exception: code -&gt; 1000, INDEX_SIZE_ERR -&gt; 1, DOMSTRING_SIZE_ERR -&gt; 2, HIERARCHY_REQUEST_ERR -&gt; 3, WRONG_DOCUMENT_ERR -&gt; 4, INVALID_CHARACTER_ERR -&gt; 5, NO_DATA_ALLOWED_ERR -&gt; 6, NO_MODIFICATION_ALLOWED_ERR -&gt; 7, NOT_FOUND_ERR -&gt; 8, NOT_SUPPORTED_ERR -&gt; 9, INUSE_ATTRIBUTE_ERR -&gt; 10, INVALID_STATE_ERR -&gt; 11, SYNTAX_ERR -&gt; 12, INVALID_MODIFICATION_ERR -&gt; 13, NAMESPACE_ERR -&gt; 14, INVALID_ACCESS_ERR -&gt; 15, VALIDATION_ERR -&gt; 16, TYPE_MISMATCH_ERR -&gt; 17, message -&gt; Security error, result -&gt; 2152924136, name -&gt; NS_ERROR_DOM_SECURITY_ERR, filename -&gt; XPCSafeJSObjectWrapper.cpp, lineNumber -&gt; 450, columnNumber -&gt; 0, location -&gt; JS frame :: XPCSafeJSObjectWrapper.cpp :: anonymous :: line 450, inner -&gt; null, data -&gt; null</p>
]]></content:encoded>
	</item>
</channel>
</rss>

