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

robotium_robotium使用基础_robotium api(35)

电脑杂谈  发布时间:2017-03-14 21:02:58  来源:网络整理
public boolean isToggleButtonChecked(int index)
Checks if a ToggleButton matching the specified index is checked。

Parameters:index - of the ToggleButton to check。 0 if only one is availableReturns:true if ToggleButton is checked and false if it is not checkedisCheckBoxChecked

public boolean isCheckBoxChecked(String text)
Checks if a CheckBox displaying the specified text is checked。Parameters:text - the text that the CheckBox displays, specified as a regular expressionReturns:true if a CheckBox displaying the specified text is checked and false if it is not checkedisTextChecked
public boolean isTextChecked(String text)
Checks if the specified text is checked。Parameters:text - the text that the CheckedTextView or CompoundButton objects display, specified as a regular expressionReturns:true if the specified text is checked and false if it is not checkedisSpinnerTextSelected
public boolean isSpinnerTextSelected(String text)
Checks if the specified text is selected in any Spinner located in the current screen。

Parameters:text - the text that is expected to be selected, specified as a regular expressionReturns:true if the specified text is selected in any Spinner and false if it is notisSpinnerTextSelected

public boolean isSpinnerTextSelected(int index,                                     String text)
Checks if the specified text is selected in a Spinner matching the specified index。Parameters:index - the index of the spinner to check。 0 if only one spinner is availabletext - the text that is expected to be selected, specified as a regular expressionReturns:true if the specified text is selected in the specified Spinner and false if it is nothideSoftKeyboard


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

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

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