[Webtest] Setinputfield not working
webtest@lists.canoo.com
webtest@lists.canoo.com
Thu, 6 Jan 2005 14:08:37 -0600
This is a multipart message in MIME format.
--=_alternative 006EA6DC86256F81_=
Content-Type: text/plain; charset="us-ascii"
Well, that does indeed seem to fix the problem. Thank you very much.
I am now hoping that a remedy is in the works for this attribute
case-sensitivity issue.
I can't edit every template in our corporate website to get rid of
uppercase attribute content.
Jerry Hurst
Koorosh Vakhshoori <Koorosh.Vakhshoori@synopsys.com>
Sent by: webtest-admin@gate2.canoo.com
01/06/2005 01:40 PM
Please respond to webtest
T
To: webtest@gate2.canoo.com
cc:
bcc:
Subject: Re: [Webtest] Setinputfield not working
Hi Jerry,
I am new with Webtest, but with the latest version with support for
HTMLUNIT, it seems the 'TYPE' attribute in 'INPUT' tag is case sensitive.
Try changing your HTML to lower case. So change your HTML 'INPUT" tag to:
<INPUT TYPE="text" NAME="JERRY">XXXAAA
Take care,
Koorosh
At 11:23 AM 1/6/2005 -0600, HURSTG@Nationwide.com wrote:
>Is there some odd trick to making the setinputfield step work? I have
been
>trying the most simple example I could think of and I can't get it to
work.
>
>I have these steps in my test page:
>
><invoke
> stepid="get login page2"
> url="login.cfm" />
><verifytext
> stepid="find text"
> text='XXXAAA' />
><setinputfield
> stepid="enter"
> name="JERRY"
> value="pgh" />
>
>The HTML of my form page looks like this:
>
><HTML>
><HEAD>
></HEAD>
><BODY>
><FORM ACTION="FORMACTION.CFM" METHOD="POST">
><INPUT TYPE="TEXT" NAME="JERRY">XXXAAA
Koorosh: Change the above INPUT Tag to:
<INPUT TYPE="text" NAME="JERRY">XXXAAA
></FORM>
></BODY>
></HTML>
>
>I always get the error:
>
>Test step setinputfield
(E:\_TESTING\urbcfd01\Modules\loginandstep.xml:10:
>) named "enter" failed with message "No form found with text field named
>"JERRY""
>
>The verifytext step works like a charm. The setinputfield step never
>works. I have tried different combinations of attributes in the HTML
form,
>different placement, different ordering, different step ids, step names,
>values, etc. I tried new_setinputfield too. Nada.
>
>My response from the invocation of the form page looks perfect, as does
>its source. Everything looks like it should work, it just doesn't.
>
>Ideas?
>
>Jerry Hurst
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest
--=_alternative 006EA6DC86256F81_=
Content-Type: text/html; charset="us-ascii"
<br><font size=2 face="sans-serif">Well, that does indeed seem to fix the problem. Thank you very much.</font>
<br>
<br><font size=2 face="sans-serif">I am now hoping that a remedy is in the works for this attribute case-sensitivity issue.</font>
<br>
<br><font size=2 face="sans-serif">I can't edit every template in our corporate website to get rid of uppercase attribute content.<br>
<br>
Jerry Hurst</font>
<br><font size=2 face="sans-serif"><br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Koorosh Vakhshoori <Koorosh.Vakhshoori@synopsys.com></b></font>
<br>
<br><font size=1 color=#808080 face="sans-serif"><i>Sent by: webtest-admin@gate2.canoo.com</i></font>
<br>
<br>
<br>
<br>
<br>
<br><font size=1 face="sans-serif"><b>01/06/2005 01:40 PM</b></font>
<br><font size=1 face="sans-serif">Please respond to webtest</font>
<br>
<td><font size=1 face="Arial"> </font>
<br><font size=1 face="Arial">T</font>
<br><font size=1 face="sans-serif">To: webtest@gate2.canoo.com</font>
<br><font size=1 face="sans-serif">cc: </font>
<br>
<br><font size=1 face="sans-serif">bcc: </font>
<br><font size=1 face="sans-serif">Subject: Re: [Webtest] Setinputfield not working</font></table>
<br>
<br>
<br><font size=2 face="Courier New">Hi Jerry,<br>
I am new with Webtest, but with the latest version with support for <br>
HTMLUNIT, it seems the 'TYPE' attribute in 'INPUT' tag is case sensitive. <br>
Try changing your HTML to lower case. So change your HTML 'INPUT" tag to:<br>
<br>
<INPUT TYPE="text" NAME="JERRY">XXXAAA<br>
<br>
Take care,<br>
Koorosh<br>
<br>
At 11:23 AM 1/6/2005 -0600, HURSTG@Nationwide.com wrote:<br>
<br>
>Is there some odd trick to making the setinputfield step work? I have been <br>
>trying the most simple example I could think of and I can't get it to work.<br>
><br>
>I have these steps in my test page:<br>
><br>
><invoke<br>
> stepid="get login page2"<br>
> url="login.cfm" /><br>
><verifytext<br>
> stepid="find text"<br>
> text='XXXAAA' /><br>
><setinputfield<br>
> stepid="enter"<br>
> name="JERRY"<br>
> value="pgh" /><br>
><br>
>The HTML of my form page looks like this:<br>
><br>
><HTML><br>
><HEAD><br>
></HEAD><br>
><BODY><br>
><FORM ACTION="FORMACTION.CFM" METHOD="POST"><br>
><INPUT TYPE="TEXT" NAME="JERRY">XXXAAA</font>
<br><font size=2 face="Courier New"><br>
Koorosh: Change the above INPUT Tag to:<br>
<br>
<INPUT TYPE="text" NAME="JERRY">XXXAAA<br>
<br>
></FORM><br>
></BODY><br>
></HTML><br>
><br>
>I always get the error:<br>
><br>
>Test step setinputfield (E:\_TESTING\urbcfd01\Modules\loginandstep.xml:10: <br>
>) named "enter" failed with message "No form found with text field named <br>
>"JERRY""<br>
><br>
>The verifytext step works like a charm. The setinputfield step never <br>
>works. I have tried different combinations of attributes in the HTML form, <br>
>different placement, different ordering, different step ids, step names, <br>
>values, etc. I tried new_setinputfield too. Nada.<br>
><br>
>My response from the invocation of the form page looks perfect, as does <br>
>its source. Everything looks like it should work, it just doesn't.<br>
><br>
>Ideas?<br>
><br>
>Jerry Hurst<br>
<br>
<br>
_______________________________________________<br>
WebTest mailing list<br>
WebTest@lists.canoo.com<br>
http://lists.canoo.com/mailman/listinfo/webtest<br>
</font>
<br>
<br>
--=_alternative 006EA6DC86256F81_=--