使用配置文件运行的时候,日志反复提示“ui not change”,未有其他操作。没有进入到testcase里面

reportTitle: “插件内测试”
capability:
appActivity: “com.midea.meiju.main.MainActivity”
appium: “http://127.0.0.1:4723/wd/hub
noReset: “true”
appPackage: “com.midea.ai.appliances”
fullReset: “false”
suiteNameDescription: “报告中的测试套件名字可以由列表内的控件内容替换,增强报告中关键界面的辨识度”
suiteName:
testcaseDescription: “测试用例设置,用于遍历开始之前的一些前置操作,比如自动登录”
testcase:
name: “点击进入电压力锅插件内”
steps:
- xpath: “//[@text=‘我的’]"
action: click
- xpath: "//
[@text=‘未登录’]”
action: click
- xpath: “//[@text=‘密码登录’]"
action: click
- xpath: "//
[@text=‘请输入手机号码’]”
action: ‘18903009820’
- xpath: “//[@text=‘请输入密码’]"
action: 123456aa
- xpath: "//
[@resource-id=‘com.midea.ai.appliances:id/cb’]”
action: click
- xpath: “//[@resource-id=‘com.midea.ai.appliances:id/btn_login’]"
action: click
- xpath: "//
[@text=‘首页’]”
action: click
- xpath: “//*[@text=‘电压力锅’]”
action: click
selectedListDescription: “默认遍历列表,只有出现在这个列表里的控件范围才会被遍历”
selectedList:

  • xpath: “//*[@enabled=‘true’]”

这是部分日志
2022-07-28 16:29:43 INFO [Crawler.742.parsePageContext] currentContentHash=dfc9ab20b85326eedfad19f3730b8fc6 lastContentHash=dfc9ab20b85326eedfad19f3730b8fc6
2022-07-28 16:29:43 INFO [Crawler.746.parsePageContext] ui not change
2022-07-28 16:29:44 INFO [Crawler.185.$anonfun$waitAppLoaded$1] wait for app loaded
2022-07-28 16:29:44 INFO [Crawler.693.refreshPage] refresh page
2022-07-28 16:29:44 INFO [ReactWebDriver.88.getPageSourceWithRetry] start to get page source from appium
2022-07-28 16:29:44 INFO [ReactWebDriver.111.$anonfun$getPageSourceWithRetry$1] xml format
2022-07-28 16:29:44 INFO [Crawler.711.parsePageContext] appName = com.midea.ai.appliances
2022-07-28 16:29:46 INFO [LogicUtils$.83.asyncTask] use time 2.015 seconds name=currentActivity result=success
2022-07-28 16:29:46 INFO [Crawler.715.parsePageContext] url=com.midea.ai.appliances.MainActivity
2022-07-28 16:29:46 INFO [Crawler.742.parsePageContext] currentContentHash=dfc9ab20b85326eedfad19f3730b8fc6 lastContentHash=dfc9ab20b85326eedfad19f3730b8fc6
2022-07-28 16:29:46 INFO [Crawler.746.parsePageContext] ui not change
2022-07-28 16:29:47 INFO [Crawler.185.$anonfun$waitAppLoaded$1] wait for app loaded
2022-07-28 16:29:47 INFO [Crawler.693.refreshPage] refresh page
2022-07-28 16:29:47 INFO [ReactWebDriver.88.getPageSourceWithRetry] start to get page source from appium
2022-07-28 16:29:47 INFO [ReactWebDriver.111.$anonfun$getPageSourceWithRetry$1] xml format
2022-07-28 16:29:47 INFO [Crawler.711.parsePageContext] appName = com.midea.ai.appliances
2022-07-28 16:29:49 INFO [LogicUtils$.83.asyncTask] use time 1.996 seconds name=currentActivity result=success
2022-07-28 16:29:49 INFO [Crawler.715.parsePageContext] url=com.midea.ai.appliances.MainActivity
2022-07-28 16:29:49 INFO [Crawler.742.parsePageContext] currentContentHash=dfc9ab20b85326eedfad19f3730b8fc6 lastContentHash=dfc9ab20b85326eedfad19f3730b8fc6
2022-07-28 16:29:49 INFO [Crawler.746.parsePageContext] ui not change
2022-07-28 16:29:50 INFO [Crawler.185.$anonfun$waitAppLoaded$1] wait for app loaded
2022-07-28 16:29:50 INFO [Crawler.693.refreshPage] refresh page
2022-07-28 16:29:50 INFO [ReactWebDriver.88.getPageSourceWithRetry] start to get page source from appium
2022-07-28 16:29:50 INFO [ReactWebDriver.111.$anonfun$getPageSourceWithRetry$1] xml format
2022-07-28 16:29:50 INFO [Crawler.711.parsePageContext] appName = com.midea.ai.appliances
2022-07-28 16:29:52 INFO [LogicUtils$.83.asyncTask] use time 2.089 seconds name=currentActivity result=success
2022-07-28 16:29:52 INFO [Crawler.715.parsePageContext] url=com.midea.ai.appliances.MainActivity
2022-07-28 16:29:52 INFO [Crawler.742.parsePageContext] currentContentHash=dfc9ab20b85326eedfad19f3730b8fc6 lastContentHash=dfc9ab20b85326eedfad19f3730b8fc6
2022-07-28 16:29:52 INFO [Crawler.746.parsePageContext] ui not change
2022-07-28 16:29:53 INFO [Crawler.185.$anonfun$waitAppLoaded$1] wait for app loaded
2022-07-28 16:29:53 INFO [Crawler.693.refreshPage] refresh page
2022-07-28 16:29:53 INFO [ReactWebDriver.88.getPageSourceWithRetry] start to get page source from appium
2022-07-28 16:29:53 INFO [ReactWebDriver.111.$anonfun$getPageSourceWithRetry$1] xml format
2022-07-28 16:29:53 INFO [Crawler.711.parsePageContext] appName = com.midea.ai.appliances
2022-07-28 16:29:55 INFO [LogicUtils$.83.asyncTask] use time 2.102 seconds name=currentActivity result=success
2022-07-28 16:29:55 INFO [Crawler.715.parsePageContext] url=com.midea.ai.appliances.MainActivity
2022-07-28 16:29:55 INFO [Crawler.742.parsePageContext] currentContentHash=dfc9ab20b85326eedfad19f3730b8fc6 lastContentHash=dfc9ab20b85326eedfad19f3730b8fc6
2022-07-28 16:29:55 INFO [Crawler.746.parsePageContext] ui not change
2022-07-28 16:29:56 INFO [Crawler.185.$anonfun$waitAppLoaded$1] wait for app loaded
2022-07-28 16:29:56 INFO [Crawler.693.refreshPage] refresh page
2022-07-28 16:29:56 INFO [ReactWebDriver.88.getPageSourceWithRetry] start to get page source from appium
2022-07-28 16:29:57 INFO [ReactWebDriver.111.$anonfun$getPageSourceWithRetry$1] xml format
2022-07-28 16:29:57 INFO [Crawler.711.parsePageContext] appName = com.midea.ai.appliances
2022-07-28 16:29:59 INFO [LogicUtils$.83.asyncTask] use time 2.112 seconds name=currentActivity result=success
2022-07-28 16:29:59 INFO [Crawler.715.parsePageContext] url=com.midea.ai.appliances.MainActivity
2022-07-28 16:29:59 INFO [Crawler.742.parsePageContext] currentContentHash=dfc9ab20b85326eedfad19f3730b8fc6 lastContentHash=dfc9ab20b85326eedfad19f3730b8fc6
2022-07-28 16:29:59 INFO [Crawler.746.parsePageContext] ui not change
2022-07-28 16:30:00 INFO [Crawler.185.$anonfun$waitAppLoaded$1] wait for app loaded
2022-07-28 16:30:00 INFO [Crawler.693.refreshPage] refresh page
2022-07-28 16:30:00 INFO [ReactWebDriver.88.getPageSourceWithRetry] start to get page source from appium
2022-07-28 16:30:00 INFO [ReactWebDriver.111.$anonfun$getPageSourceWithRetry$1] xml format
2022-07-28 16:30:00 INFO [Crawler.711.parsePageContext] appName = com.midea.ai.appliances

配置文件和日志都贴个完整的吧

楼主问题解决了吗? 我也遇到了这个问题

碰到的现象相同,testcase使用默认的都正常,加了登录就反复提示 ui not change。使用的是appcrawler-2.7.4-hogwarts,请问老师,这个咋处理?