
appium
xmaimiao
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
appium測試中验证toast的正确性
1)說明:appium使用uiaotomator底層的機制來分析抓取toast,並且把toast放到控件樹裡面,但本身並不屬於控件2)capability參數設置android工作引擎,具體來說應該是appium要指定這個來驅動android客戶端設備,貌似android目前已有的版本都是這個工作引擎,以後就不知道了automationName : uiautomator23)getPageSource是無法找到的,得用xpath//[@class=“class屬性值”]//[contain是(.原创 2020-07-25 15:34:11 · 506 阅读 · 0 评论 -
appium測試,記錄在原生的context获取window handler 就会报错Proxy error: Request failed with status code 404
問題:在測試APP混合頁面的時候查詢當前窗口句柄會導致程序報錯如下selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not proxy. Proxy error: Request failed with status code 404C:\Python37\lib原创 2020-07-25 14:44:26 · 702 阅读 · 0 评论 -
genymotion模擬器安裝APK失敗問題二則
apk拖拽進模擬器安裝失敗後打開終端,cd進apk文件所在的目錄下進行安裝:adb install qiyeweixin.apk第一種 安裝失敗提示:C:\Users\Administrator\Downloads>adb install xueqiu.apkPerforming Push Installxueqiu.apk: 1 file pushed, 0 skipped. 54.0 MB/s (72764604 bytes in 1.285s) pkg: /data/原创 2020-07-24 16:36:21 · 339 阅读 · 0 评论 -
appium中從原生切換webview報錯: Failed to get PID for the following process
報錯為:Message: An unknown server-side error occurred while processing the command. Original error: An unknown server-side error occurred while processing the command. Original error: unknown error: Failed to get PID for the following process: com.xueqiu.a原创 2020-07-24 13:03:03 · 1178 阅读 · 0 评论