Re: [Http-webtest-general] trying to test button
Brought to you by:
m_ilya,
richardanderson
From: Srdjan <sr...@ca...> - 2004-06-02 02:01:11
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 That's not button at all - just a clickable image. Considering that clicking the image does nothing but submit, you don't need to use ::Click methods at all - just a plain POST request with params. Srdjan David McBride wrote: | Greetings, | | | | I’m new to WebTest and I’ve been playing with it for a couple of days | with some success. I’ve run into a problem, though. I have a login | form to which I want to submit data (i.e., “user_id”, “password”). The | form begins as follows: | | | | <form name="loginForm" id="loginForm" method="POST"> | | <input type="hidden" name="form" value="do_log_in"> | | | | | | The form has a button generated as follows: | | | | <tr> | | <td colspan="2" align="right"> | | <img src="../images/btn_log_in.gif" | style="cursor:pointer;cursor:hand" onclick="submit()"); | | </td> | | </tr> | | | | I’ve 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 iD8DBQFAvTTcZtcHxCitRpgRAhcxAJ4nJDfTGpjE6ADJBvIdRTAb1mnacwCgpLtC HfLkk35G/3wiVKJXNFF0Fi8= =60PM -----END PGP SIGNATURE----- |