配置参数:
testcase:
name: “TesterHome AppCrawler”
steps:
- xpath: “//*[@resource-id=‘com.qekj.merchant:id/rl_login’]”
action: click - xpath: “//*[@resource-id=‘com.qekj.merchant:id/tv_name’ and @text=‘全部应用’]”
action: click - xpath: “//*[@resource-id=‘com.qekj.merchant:id/tv_name’ and @text=‘浴位管理’]”
action: click
selectedList: - xpath: “//*[contains(@resource-id,‘rv_device_status’)]”
报错信息:
2021-05-26 16:07:25 INFO [Crawler.627.refreshPage] refresh page
2021-05-26 16:07:25 INFO [AppiumClient.102.getPageSourceWithRetry] start to get page source from appium
2021-05-26 16:07:25 INFO [AppiumClient.117.$anonfun$getPageSourceWithRetry$1] xml format
2021-05-26 16:07:25 INFO [Crawler.645.parsePageContext] appName =
2021-05-26 16:07:25 INFO [Crawler.649.parsePageContext] url=YuWeiMagAct
2021-05-26 16:07:25 INFO [Crawler.673.parsePageContext] currentContentHash=445d142fbb19b71a27369a1dc05b187c lastContentHash=445d142fbb19b71a27369a1dc05b187c
2021-05-26 16:07:25 INFO [Crawler.677.parsePageContext] ui not change
2021-05-26 16:07:25 INFO [Crawler.1213.handleCtrlC] add shutdown hook
2021-05-26 16:07:25 INFO [Crawler.772.crawl]