空手道UI按钮单击支持 [英] Karate UI button click support
本文介绍了空手道UI按钮单击支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无法单击按钮(提交我的请求);
I was unable to click the button(submit my request);
我的按钮放在了桌子上
<tr>
<td>
<input id ="test" type= "button" value ="test"
onClick=opentest();
</td>
</tr>
我已通过以下方式单击按钮:
**当Submit().click('input [name = test]')**
**When submit().click('input[name=test]') **
我无法单击,因为我的按钮字段存储在表中,是否还有其他方法可以单击该按钮?身体可以帮忙吗?
I was unable to click is there is any other way to click the button as my button field is stored in table Can some body helpus?
推荐答案
尝试 mouse('#foo').click()
否则,请执行以下过程: https://github.com/intuit/karate/tree/develop/examples/ui-test
Else please follow this process: https://github.com/intuit/karate/tree/develop/examples/ui-test
这篇关于空手道UI按钮单击支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文