Selenium IDE:无法自动执行按钮上的点击事件

Selenium IDE : Not able to automate click event on button

无法自动执行按钮上的点击事件。按钮详细信息是:

<input id="ctl01_ContentPlaceHolder1_tcInvoice_tpInvoiceDetails_btnSave" class="button" type="submit" onclick="javascript:return disableit();WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl01$ContentPlaceHolder1$tcInvoice$tpInvoiceDetails$btnSave", "", true, "vgInvoice", "", false, false))" value="Create Invoice" name="ctl01$ContentPlaceHolder1$tcInvoice$tpInvoiceDetails$btnSave">

请指教

我不熟悉 Selenese 语法,但快速浏览一下,您可以尝试类似的方法:

clickAndWait | id=ctl01_ContentPlaceHolder1_tcInvoice_tpInvoiceDetails_btnSave

或者您可以尝试使用 xpath 定位器:

clickAndWait | xpath=//input[@value='Create Invoice']