原文:RobotFramework自動化測試框架-移動手機自動化測試Clear Text關鍵字的使用

Clear Text關鍵字用來清除輸入框的數據,該關鍵字接收一個參數 locator ,這里的locator指的就是界面元素的定位方式。 示例 :Clear Text清除輸入框數據時,采用resource id的方式來定位輸入框。這里依舊采用上面使用的APP界面來做操作示例,將輸入的數字 通過Clear Text id com.example.calculator:id factorone來清除掉 ...

2017-09-20 23:52 0 1151 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM