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

robotium_robotium使用基础_robotium api(33)

电脑杂谈  发布时间:2017-03-14 21:02:58  来源:网络整理
public  ArrayList getCurrentViews(Class classToFilterBy,                                                                  android.view.View parent)
Returns an ArrayList of Views matching the specified class located under the specified parent。Parameters:classToFilterBy - return all instances of this class。 Examples are: Button。class or ListView。

classparent - the parent View for where to start the traversalReturns:an ArrayList of Views matching the specified Class located under the specified parentgetCurrentViews

public  ArrayList getCurrentViews(Class classToFilterBy,                                                                  boolean includeSubclasses,                                                                  android.view.View parent)
Returns an ArrayList of Views matching the specified class located under the specified parent。Parameters:classToFilterBy - return all instances of this class。 Examples are: Button。class or ListView。classincludeSubclasses - include instances of subclasses in the ArrayList that will be returnedparent - the parent View for where to start the traversalReturns:an ArrayList of Views matching the specified Class located under the specified parentgetWebElements
public ArrayList getWebElements()
Returns an ArrayList of all the WebElements displayed in the active WebView。

Returns:an ArrayList of all the WebElement objects currently displayed in the active WebViewgetWebElements

public ArrayList getWebElements(By by)
Returns an ArrayList of all the WebElements displayed in the active WebView matching the specified By object。Parameters:by - the By object。 Examples are: By。id("id") and By。name("name")Returns:an ArrayList of all the WebElement objects displayed in the active WebViewgetCurrentWebElements


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

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

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