[Http-webtest-general] trying to test button
Brought to you by:
m_ilya,
richardanderson
From: David M. <dmc...@la...> - 2004-06-02 00:58:50
|
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 |