<FORM METHOD=POST NAME="WMLogon" ACTION=<?php echo "$_SERVER[PHP_SELF]?s=$s&t=$t"; ?>
<INPUT TYPE="hidden" NAME="current_page" value=0>
<table class="bar-status" width="70%" border="0" cellspacing="1" cellpadding="2" align="center">
<tbody>
<tr>
<td class="bar-search" align="center" bgcolor="#cddeff">
<input tabindex="102" type="Submit" name="Login" align="top" border="0" value="Login"/> </td></tr>
</tbody></table>
</FORM>
我想点击登录按钮,我该怎么做,请帮帮我.......我无法通过使用以下代码来做到这一点
Then /^I enter login details and press login button/ do
fill_in "AUTH_USER", :with => "wmmpw@localhost"
fill_in "AUTH_PW", :with => "wmmpw"
click_button("Login")
end