Re: [Http-webtest-general] trying to test button
Brought to you by:
m_ilya,
richardanderson
From: David M. <dmc...@la...> - 2004-06-02 03:01:29
|
Thanks for replying. The parameters won=B9t be processed if the submit() function doesn=B9t run and the submit() function won=B9t operate unless the image is clicked. So, I=B9m still stuck with trying to click the image. - David on 6/1/04 7:01 PM, Srdjan at sr...@ca... wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > That's not button at all - just a clickable image. Considering that click= ing > the > image does nothing but submit, you don't need to use ::Click methods at a= ll - > just a plain POST request with params. >=20 > Srdjan >=20 > David McBride wrote: > | Greetings, > | > | > | > | I=B9m new to WebTest and I=B9ve been playing with it for a couple of days > | with some success. I=B9ve run into a problem, though. I have a login > | form to which I want to submit data (i.e., =B3user_id=B2, =B3password=B2). The > | form begins as follows: > | > | > | > | <form name=3D"loginForm" id=3D"loginForm" method=3D"POST"> > | > | <input type=3D"hidden" name=3D"form" value=3D"do_log_in"> > | > | > | > | > | > | The form has a button generated as follows: > | > | > | > | <tr> > | > | <td colspan=3D"2" align=3D"right"> > | > | <img src=3D"../images/btn_log_in.gif" > | style=3D"cursor:pointer;cursor:hand" onclick=3D"submit()"); > | > | </td> > | > | </tr> > | > | > | > | I=B9ve been trying to use the ::Click methods to operate the button > | without success. Can someone tell me what I need to do to operate the > | button? Thanks. > | > | > | > | v/r > | > | > | > | - David > | > | > | > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org >=20 > iD8DBQFAvTTcZtcHxCitRpgRAhcxAJ4nJDfTGpjE6ADJBvIdRTAb1mnacwCgpLtC > HfLkk35G/3wiVKJXNFF0Fi8=3D > =3D60PM > -----END PGP SIGNATURE----- >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Http-webtest-general mailing list > Htt...@li... > https://lists.sourceforge.net/lists/listinfo/http-webtest-general >=20 |