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

robotium_robotium使用基础_robotium api(29)

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

Parameters:editText - the EditText to clearclearTextInWebElement

public void clearTextInWebElement(By by)
Clears text in a WebElement matching the specified By object。Parameters:by - the By object。 Examples are: By。id("id") and By。name("name")clickOnImage
public void clickOnImage(int index)
Clicks an ImageView matching the specified index。Parameters:index - the index of the ImageView to click。 0 if only one is availablegetEditText
public android.widget.EditText getEditText(int index)
Returns an EditText matching the specified index。Parameters:index - the index of the EditText。 0 if only one is availableReturns:an EditText matching the specified indexgetButton
public android.widget.Button getButton(int index)
Returns a Button matching the specified index。

robotium使用基础_robotium api_robotium

Parameters:index - the index of the Button。 0 if only one is availableReturns:a Button matching the specified indexgetText

public android.widget.TextView getText(int index)
Returns a TextView matching the specified index。Parameters:index - the index of the TextView。 0 if only one is availableReturns:a TextView matching the specified indexgetImage
public android.widget.ImageView getImage(int index)
Returns an ImageView matching the specified index。Parameters:index - the index of the ImageView。 0 if only one is availableReturns:an ImageView matching the specified indexgetImageButton
public android.widget.ImageButton getImageButton(int index)
Returns an ImageButton matching the specified index。

Parameters:index - the index of the ImageButton。 0 if only one is availableReturns:the ImageButton matching the specified indexgetText


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

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

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