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

robotium_robotium使用基础_robotium api(19)

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

Parameters:text - the text to click。 The parameter will be interpreted as a regular expressionmatch - if multiple objects match the text, this determines which one to clicktime - the amount of time to long clickclickLongOnTextAndPress

public void clickLongOnTextAndPress(String text,                                    int index)
Long clicks a View displaying the specified text and then selects an item from the context menu that appears。 Will automatically scroll when needed。Parameters:text - the text to click。 The parameter will be interpreted as a regular expressionindex - the index of the menu item to press。

0 if only one is availableclickOnButton

public void clickOnButton(int index)
Clicks a Button matching the specified index。Parameters:index - the index of the Button to click。 0 if only one is availableclickOnRadioButton
public void clickOnRadioButton(int index)
Clicks a RadioButton matching the specified index。Parameters:index - the index of the RadioButton to click。 0 if only one is availableclickOnCheckBox
public void clickOnCheckBox(int index)
Clicks a CheckBox matching the specified index。Parameters:index - the index of the CheckBox to click。 0 if only one is availableclickOnEditText
public void clickOnEditText(int index)
Clicks an EditText matching the specified index。

Parameters:index - the index of the EditText to click。 0 if only one is availableclickInList

public ArrayList clickInList(int line)
Clicks the specified list line and returns an ArrayList of the TextView objects that the list line is displaying。 Will use the first ListView it finds。Parameters:line - the line to clickReturns:an ArrayList of the TextView objects located in the list lineclickInList


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

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

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