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

robotium_robotium使用基础_robotium api(28)

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

Parameters:index - the index of the EditText。 0 if only one is availabletext - the text to type in the EditText fieldtypeText

public void typeText(android.widget.EditText editText,                     String text)
Types text in the specified EditText。Parameters:editText - the EditText to type text intext - the text to type in the EditText fieldtypeTextInWebElement
public void typeTextInWebElement(By by,                                 String text)
Types text in a WebElement matching the specified By object。Parameters:by - the By object。 Examples are: By。id("id") and By。name("name")text - the text to enter in the WebElement fieldtypeTextInWebElement
public void typeTextInWebElement(By by,                                 String text,                                 int match)
Types text in a WebElement matching the specified By object。

Parameters:by - the By object。 Examples are: By。id("id") and By。name("name")text - the text to enter in the WebElement fieldmatch - if multiple objects match, this determines which one will be typed intypeTextInWebElement

public void typeTextInWebElement(WebElement webElement,                                 String text)
Types text in the specified WebElement。Parameters:webElement - the WebElement to type text intext - the text to enter in the WebElement fieldclearEditText
public void clearEditText(int index)
Clears the value of an EditText。Parameters:index - the index of the EditText to clear。 0 if only one is availableclearEditText
public void clearEditText(android.widget.EditText editText)
Clears the value of an EditText。


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

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

    • 毛凯莉
      毛凯莉

      1和之前的都不卡听卖手机的说个别更新了会卡

    • 周嘉瑜
      周嘉瑜

      真够恶心的

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