b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

robotium_robotium使用基础_robotium api(15)

电脑杂谈  发布时间:2017-03-14 21:02:58  来源:网络整理

Parameters:x - the x coordinatey - the y coordinatetime - the amount of time to long clickclickOnButton

public void clickOnButton(String text)
Clicks a Button displaying the specified text。 Will automatically scroll when needed。Parameters:text - the text displayed by the Button。 The parameter will be interpreted as a regular expressionclickOnImageButton
public void clickOnImageButton(int index)
Clicks an ImageButton matching the specified index。Parameters:index - the index of the ImageButton to click。 0 if only one is availableclickOnToggleButton
public void clickOnToggleButton(String text)
Clicks a ToggleButton displaying the specified text。

robotium使用基础_robotium_robotium api

Parameters:text - the text displayed by the ToggleButton。 The parameter will be interpreted as a regular expressionclickOnMenuItem

public void clickOnMenuItem(String text)
Clicks a MenuItem displaying the specified text。Parameters:text - the text displayed by the MenuItem。 The parameter will be interpreted as a regular expressionclickOnMenuItem
public void clickOnMenuItem(String text,                            boolean subMenu)
Clicks a MenuItem displaying the specified text。Parameters:text - the text displayed by the MenuItem。 The parameter will be interpreted as a regular expressionsubMenu - true if the menu item could be located in a sub menuclickOnWebElement
public void clickOnWebElement(WebElement webElement)
Clicks the specified WebElement。

Parameters:webElement - the WebElement to clickclickOnWebElement

public void clickOnWebElement(By by)
Clicks a WebElement matching the specified By object。Parameters:by - the By object。 Examples are: By。id("id") and By。name("name")clickOnWebElement


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/ruanjian/article-37529-15.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...