I would agree that that _might_ be the problem.  However, the form
submission does work in IE 6 and firefox.  Wouldn't you know it... I
have to have my tests work on the existing web pages before we try and
change them.  The webtests will be used to ensure nothing is broken
during the code change.

 

Any other ideas?

 

Big Mike

 

From: Gary Thomas [mailto:[email protected]] 
Sent: Thursday, September 17, 2009 1:03 AM
To: [email protected]; Forsberg, Mike
Cc: [email protected]
Subject: Re: [Webtest] Trouble submitting a form...

 


Why are you using "text/html" versus "multipart/form-encoded" for your
form?
I don't think that is valid


On 9/16/09 1:15 PM, Forsberg, Mike wrote: 

First, thanks for the great product.  It has saved tons of time and
effort and made a portion of my job enjoyable again.

 

My problem seems to be  "an unknown encoding"??? for a form submission.


 

The form is defined as... 

 

<FORM action=
"http://auidc110:8800/fastbal/FabViewServlet?&amp;transaction=com.amd.as
pect.edc.edcui.DocumentUITransaction&amp;request=createDocument"
<http://auidc110:8800/fastbal/FabViewServlet?&amp;transaction=com.amd.as
pect.edc.edcui.DocumentUITransaction&amp;request=createDocument>
enctype="text/html" id="docForm" method="POST" name="edit_document">

...stuff...

<A class="Operation" href="javascript:document.edit_document.submit();"
<javascript:document.edit_document.submit();> >Accept Changes</A>

... a little more stuff...

</FORM>

 

When I try to ClickElement on the anchor tag I get the following...

 

JavaScript error loading page <the url> Wrapped
java.lang.IllegalArgumentException: No encoding type found for
[text/html] (javascript url#156)

 

I've googled to no joy.

 

Any help would be wonderfull and thank you in advance,

 

Big Mike

 

P.S. I'm using WebTest 3.0-1758

 

 

Mike Forsberg

Senior Factory Automation Engineer

5113 Southwest Parkway, Ste 300

Austin, Texas  78735

 

T 512-602-0220
[email protected]
<mailto:[email protected]> 

 

http://www.globalfoundries.com/

 

 

 

<<image001.jpg>>

Reply via email to