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

robotium_robotium使用基础_robotium api(16)

电脑杂谈  发布时间:2017-03-14 21:02:58  来源:网络整理
public void clickOnWebElement(By by,                              int match)
Clicks a WebElement matching the specified By object。Parameters:by - the By object。 Examples are: By。id("id") and By。name("name")match - if multiple objects match, this determines which one to clickclickOnWebElement
public void clickOnWebElement(By by,                              int match,                              boolean scroll)
Clicks a WebElement matching the specified By object。Parameters:by - the By object。

Examples are: By。id("id") and By。name("name")match - if multiple objects match, this determines which one to clickscroll - true if scrolling should be performedpressMenuItem

public void pressMenuItem(int index)
Presses a MenuItem matching the specified index。 Index 0 is the first item in the first row, Index 3 is the first item in the second row and index 6 is the first item in the third row。Parameters:index - the index of the MenuItem to presspressMenuItem
public void pressMenuItem(int index,                          int itemsPerRow)
Presses a MenuItem matching the specified index。 Supports three rows with a specified amount of items。

If itemsPerRow equals 5 then index 0 is the first item in the first row, index 5 is the first item in the second row and index 10 is the first item in the third row。Parameters:index - the index of the MenuItem to pressitemsPerRow - the amount of menu items there are per rowpressSoftKeyboardNextButton

public void pressSoftKeyboardNextButton()
Presses the soft keyboard next button。pressSoftKeyboardSearchButton


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

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

    • 韦艳超
      韦艳超

      严厉打击美国的挑衅行为

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