Selesium IDE点击键盘回车键的问题,求助啊?
问题描述:对于,KeyPress,KeyUp等参数都必须有locator,也就是必须有点击的对象,我现在没有对象,只需要点击键盘上的回车键就可以,请问有什么好办法吗? sendkey 回复 2# 夜来烧Selenium IDE鼠标右击页面上的一个元素,用那个方法啊?怎么用? keyPress(locator, keySequence)
Arguments:
locator - an element locator
keySequence - Either be a string("\" follo
wed by the numeric keycode of the key to be pressed, normally the ASCII value of that key), or a single character. For example: "w", "\119".
Simulates a user pressing and releasing a key.
页:
[1]