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

robotium_robotium使用基础_robotium api(7)

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

0 means any number of matchestimeout - the amount of time in milliseconds to waitscroll - true if scrolling should be performedReturns:true if the View is displayed and false if it is not displayed before the timeoutwaitForWebElement

public boolean waitForWebElement(By by)
Waits for a WebElement matching the specified By object。 Default timeout is 20 seconds。Parameters:by - the By object。 Examples are: By。id("id") and By。name("name")Returns:true if the WebElement is displayed and false if it is not displayed before the timeoutwaitForWebElement
public boolean waitForWebElement(By by,                                 int timeout,                                 boolean scroll)
Waits for a WebElement matching the specified By object。

Parameters:by - the By object。 Examples are: By。id("id") and By。name("name")timeout - the the amount of time in milliseconds to waitscroll - true if scrolling should be performedReturns:true if the WebElement is displayed and false if it is not displayed before the timeoutwaitForWebElement

public boolean waitForWebElement(By by,                                 int minimumNumberOfMatches,                                 int timeout,                                 boolean scroll)
Waits for a WebElement matching the specified By object。Parameters:by - the By object。 Examples are: By。id("id") and By。name("name")minimumNumberOfMatches - the minimum number of matches that are expected to be found。

0 means any number of matchestimeout - the the amount of time in milliseconds to waitscroll - true if scrolling should be performedReturns:true if the WebElement is displayed and false if it is not displayed before the timeoutwaitForCondition


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

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

    • 八奈见乘儿
      八奈见乘儿

      对于破坏亚洲地区稳定

    • 梁补阙
      梁补阙

      你这不是自己在打自己的脸吗

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