關鍵字 使用描述 Close Application 關閉掉當前已經打開的APP Application,該關鍵字不需要 ...
在使用AppiumLibrary庫時,需要預先安裝好Appium自動化工具,Appium官網地址為:http: appium.io Appium的GitHub地址為:https: github.com appium Appium的下載地址:http: appium.io downloads.html,可以下載最新的安裝版本和響應的Library庫 Appium的相關介紹文檔:http: appiu ...
2017-08-13 22:27 0 5632 推薦指數:
關鍵字 使用描述 Close Application 關閉掉當前已經打開的APP Application,該關鍵字不需要 ...
Click A Point關鍵字用來模擬點擊APP界面上的一個點,該關鍵字接收兩個三個參數[ x=0 | y=0 | duration=100 ],x和y代表的是點的坐標位置,duration代表的是 ...
Click Element關鍵字用來模擬點擊APP界面上的一個元素,該關鍵字接收一個參數[ locator ] ,這里的locator指的是界面元素的定位方式。 示例1:使用Click Elemen ...
在AppiumLibrary庫中,Open Application關鍵字用來打開一個待測試移動APP。 示例1:連接本機已經打開的appium服務端,打開一個待測試的安卓APP,指定測試平台為Android,測試的手機deviceName為98YFBP522VSU,需要打開的APP路徑為C ...
Clear Text關鍵字用來清除輸入框的數據,該關鍵字接收一個參數[ locator ],這里的locator指的就是界面元素的定位方式。 示例1:Clear Text清除輸入框數據時,采用re ...
Get Element Location關鍵字用來獲取一個Element的Location位置,該關鍵字接收一個參數[ locator ] 示例1:使用Get Element Location來獲取 ...
Click Element At Coordinates關鍵字通過一個具體的坐標點,來模擬點擊一個Element,該關鍵字接收兩個參數[ coordinate_X | coordinate_Y ]。 ...
Input Text和Click Button Input Text 關鍵字一般用來給輸入框進行輸入操作,該關鍵字接收兩個參數[ locator | text ]。 示例1:啟動安卓手機上一個APP的MainActivity,在打開Activity,進入界面后,分別向兩個EditText輸入框 ...