appcrawler配置的testcase selectedList没有生效

想请教一下老师和小伙伴们:运行java -jar appcrawler-2.4.0-jar-with-dependencies.jar -c demo.yml 后,app可以正常启动起来 但是配置的testcase selectedList没有生效 求指教!

demo.yml文件配置如下:

---
pluginList: []
saveScreen: true
reportTitle: ""
resultDir: "20210622112953"
waitLoading: 500
waitLaunch: 6000
showCancel: true
maxTime: 10800
maxDepth: 10
capability:
  noReset: true
  fullReset: false
  appPackage: "com.xueqiu.android"
  appActivity: "com.xueqiu.android.common.splash.SplashActivity"
  autoGrantPermissions: true
  automationName: "uiautomator2"
  deviceName: "Q5S5T19620005961"
  platformName: "Android"
  platformVersion: "10"
  dontStopAppOnReset: true
  ignoreUnimportantViews: true
  appium: "http://127.0.0.1:4723/wd/hub"
testcase:
  name: "TesterHome AppCrawler"
  steps:
  - xpath: "//android.widget.TabWidget[@resource-id='android:id/tabs']/android.widget.RelativeLayout[@index=1]"
    action: click
selectedList:
  - xpath: "//android.widget.LinearLayout[contains(@resource-id,'single_line_wrapper')]//*[@clickable='true']"
firstList:
  - xpath: "//android.widget.TabWidget[@resource-id='android:id/tabs']/android.widget.RelativeLayout[@index=1]"

日志appvrawler.log

2021-06-24 11:33:42 INFO [Crawler.147.start] waiting for app load
2021-06-24 11:33:48 INFO [Crawler.149.start] driver=null
2021-06-24 11:33:48 INFO [Crawler.150.start] get screen info
2021-06-24 11:33:48 INFO [AppiumClient.120.getDeviceInfo] screenWidth=1080 screenHeight=2265
2021-06-24 11:33:48 INFO [Crawler.627.refreshPage] refresh page
2021-06-24 11:33:48 INFO [AppiumClient.102.getPageSourceWithRetry] start to get page source from appium
2021-06-24 11:33:49 INFO [AppiumClient.117.$anonfun$getPageSourceWithRetry$1] xml format 
2021-06-24 11:33:49 INFO [Crawler.645.parsePageContext] appName = 
2021-06-24 11:33:49 INFO [Crawler.649.parsePageContext] url=MainActivity
2021-06-24 11:33:49 INFO [Crawler.673.parsePageContext] currentContentHash=0e88a4b5807ab27ce3f111e6aafc6186 lastContentHash=0e88a4b5807ab27ce3f111e6aafc6186
2021-06-24 11:33:49 INFO [Crawler.677.parsePageContext] ui not change
2021-06-24 11:33:49 INFO [Crawler.230.firstRefresh] first refresh
2021-06-24 11:33:49 INFO [Crawler.996.doElementAction] current element = MainActivity.tag=start.id=start
2021-06-24 11:33:49 INFO [Crawler.997.doElementAction] current index = 0
2021-06-24 11:33:49 INFO [Crawler.998.doElementAction] current action = 
2021-06-24 11:33:49 INFO [Crawler.999.doElementAction] current xpath = Start-Start-0
2021-06-24 11:33:49 INFO [Crawler.1000.doElementAction] current url = MainActivity
2021-06-24 11:33:49 INFO [Crawler.1001.doElementAction] current tag path = 
2021-06-24 11:33:49 INFO [Crawler.1002.doElementAction] current file name = MainActivity.tag=start.id=start
2021-06-24 11:33:49 INFO [Crawler.1014.doElementAction] just log
2021-06-24 11:33:49 INFO [Crawler.1015.doElementAction] {
  "url" : "MainActivity",
  "tag" : "start",
  "id" : "start",
  "name" : "",
  "text" : "",
  "instance" : "",
  "depth" : "",
  "valid" : "true",
  "selected" : "false",
  "xpath" : "Start-Start-0",
  "ancestor" : "",
  "x" : 0,
  "y" : 0,
  "width" : 0,
  "height" : 0
}
2021-06-24 11:33:49 INFO [Crawler.1126.doElementAction] mark image exist
2021-06-24 11:33:49 INFO [Crawler.1130.doElementAction] sleep 500 for loading
2021-06-24 11:33:50 INFO [Crawler.627.refreshPage] refresh page
2021-06-24 11:33:50 INFO [AppiumClient.102.getPageSourceWithRetry] start to get page source from appium
2021-06-24 11:33:50 INFO [AppiumClient.117.$anonfun$getPageSourceWithRetry$1] xml format 
2021-06-24 11:33:50 INFO [Crawler.645.parsePageContext] appName = 
2021-06-24 11:33:50 INFO [Crawler.649.parsePageContext] url=MainActivity
2021-06-24 11:33:50 INFO [Crawler.673.parsePageContext] currentContentHash=0e88a4b5807ab27ce3f111e6aafc6186 lastContentHash=0e88a4b5807ab27ce3f111e6aafc6186
2021-06-24 11:33:50 INFO [Crawler.677.parsePageContext] ui not change
2021-06-24 11:33:50 INFO [Crawler.931.saveDom] save to 20210622112953/0_MainActivity.tag=start.id=start.dom
2021-06-24 11:33:50 INFO [Crawler.953.saveScreen] start screenshot
2021-06-24 11:33:50 INFO [Crawler.956.$anonfun$saveScreen$2] ui change screenshot again
2021-06-24 11:33:51 INFO [Crawler.977.saveScreen] screenshot success
2021-06-24 11:33:51 INFO [Crawler.159.start] append current app name to appWhiteList
2021-06-24 11:33:51 INFO [Crawler.163.start] run steps
2021-06-24 11:33:51 INFO [Crawler.237.runSteps] run testcases
2021-06-24 11:33:51 INFO [Crawler.996.doElementAction] current element = Steps.tag=RelativeLayout.depth=11
2021-06-24 11:33:51 INFO [Crawler.997.doElementAction] current index = 1
2021-06-24 11:33:51 INFO [Crawler.998.doElementAction] current action = click
2021-06-24 11:33:51 INFO [Crawler.999.doElementAction] current xpath = //*[@resource-id="com.xueqiu.android:id/decor_content_parent"]//*[@resource-id="android:id/content"]//*[@resource-id="android:id/tabhost"]//*[@resource-id="android:id/tabs"]
2021-06-24 11:33:51 INFO [Crawler.1000.doElementAction] current url = Steps
2021-06-24 11:33:51 INFO [Crawler.1001.doElementAction] current tag path = hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.view.ViewGroup/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.TabHost/android.widget.LinearLayout/android.widget.TabWidget/android.widget.RelativeLayout
2021-06-24 11:33:51 INFO [Crawler.1002.doElementAction] current file name = Steps.tag=RelativeLayout.depth=11
2021-06-24 11:33:51 INFO [Crawler.1071.doElementAction] need input click
2021-06-24 11:33:51 INFO [AppiumClient.53.findElementByURI] find by uri element= Steps.tag=RelativeLayout.depth=11
2021-06-24 11:33:51 INFO [AppiumClient.245.findElementsByURI] findElementByAndroidUIAutomator new UiSelector().className("android.widget.RelativeLayout")
2021-06-24 11:33:51 INFO [AppiumClient.60.findElementByURI] find by xpath success
2021-06-24 11:33:51 INFO [Crawler.1080.doElementAction] mark 20210622112953/0_MainActivity.tag=start.id=start.clicked.png to 20210622112953/1_Steps.tag=RelativeLayout.depth=11.click.png
2021-06-24 11:33:51 INFO [AppiumClient.141.mark] read from 20210622112953/0_MainActivity.tag=start.id=start.clicked.png
2021-06-24 11:33:51 INFO [AppiumClient.154.mark] write png 20210622112953/0_MainActivity.tag=start.id=start.clicked.png
2021-06-24 11:33:51 INFO [AppiumClient.161.mark] ImageIO.write newImageName 20210622112953/1_Steps.tag=RelativeLayout.depth=11.click.png
2021-06-24 11:33:52 INFO [Crawler.1095.$anonfun$doElementAction$5] click element
2021-06-24 11:33:52 INFO [AppiumClient.174.click] [[io.appium.java_client.android.AndroidDriver, Capabilities: {app=, appActivity=com.xueqiu.android.common.splash.SplashActivity, appPackage=com.xueqiu.android, appium=http://127.0.0.1:4723/wd/hub, autoGrantPermissions=true, automationName=uiautomator2, databaseEnabled=false, desired={platformName=android, appium=http://127.0.0.1:4723/wd/hub, app=, appActivity=com.xueqiu.android.common.splash.SplashActivity, appPackage=com.xueqiu.android, autoGrantPermissions=true, automationName=uiautomator2, deviceName=Q5S5T19620005961, dontStopAppOnReset=true, fullReset=false, ignoreUnimportantViews=true, noReset=true, platformVersion=10}, deviceApiLevel=29, deviceManufacturer=HUAWEI, deviceModel=ELE-AL00, deviceName=Q5S5T19620005961, deviceScreenDensity=480, deviceScreenSize=1080x2340, deviceUDID=Q5S5T19620005961, dontStopAppOnReset=true, fullReset=false, ignoreUnimportantViews=true, javascriptEnabled=true, locationContextEnabled=false, networkConnectionEnabled=true, noReset=true, pixelRatio=3, platform=LINUX, platformName=Android, platformVersion=10, statBarHeight=75, takesScreenshot=true, viewportRect={left=0, top=75, width=1080, height=2190}, warnings={}, webStorageEnabled=false}] -> -android uiautomator: new UiSelector().className("android.widget.RelativeLayout")]
2021-06-24 11:33:53 INFO [Crawler.1126.doElementAction] mark image exist
2021-06-24 11:33:53 INFO [Crawler.1130.doElementAction] sleep 500 for loading
2021-06-24 11:33:54 INFO [Crawler.627.refreshPage] refresh page
2021-06-24 11:33:54 INFO [AppiumClient.102.getPageSourceWithRetry] start to get page source from appium
2021-06-24 11:33:54 INFO [AppiumClient.117.$anonfun$getPageSourceWithRetry$1] xml format 
2021-06-24 11:33:54 INFO [Crawler.645.parsePageContext] appName = 
2021-06-24 11:33:54 INFO [Crawler.649.parsePageContext] url=OneLoginActivity
2021-06-24 11:33:54 INFO [Crawler.673.parsePageContext] currentContentHash=e246d57d218d50231041735169394ae9 lastContentHash=0e88a4b5807ab27ce3f111e6aafc6186
2021-06-24 11:33:54 INFO [Crawler.675.parsePageContext] ui change
2021-06-24 11:33:54 INFO [Crawler.931.saveDom] save to 20210622112953/1_Steps.tag=RelativeLayout.depth=11.dom
2021-06-24 11:33:54 INFO [Crawler.953.saveScreen] start screenshot
2021-06-24 11:33:54 INFO [Crawler.956.$anonfun$saveScreen$2] ui change screenshot again
2021-06-24 11:33:55 INFO [Crawler.977.saveScreen] screenshot success
2021-06-24 11:33:55 INFO [Crawler.627.refreshPage] refresh page
2021-06-24 11:33:55 INFO [AppiumClient.102.getPageSourceWithRetry] start to get page source from appium
2021-06-24 11:33:55 INFO [AppiumClient.117.$anonfun$getPageSourceWithRetry$1] xml format 
2021-06-24 11:33:55 INFO [Crawler.645.parsePageContext] appName = 
2021-06-24 11:33:55 INFO [Crawler.649.parsePageContext] url=OneLoginActivity
2021-06-24 11:33:55 INFO [Crawler.673.parsePageContext] currentContentHash=e246d57d218d50231041735169394ae9 lastContentHash=e246d57d218d50231041735169394ae9
2021-06-24 11:33:55 INFO [Crawler.677.parsePageContext] ui not change
2021-06-24 11:33:55 INFO [Crawler.1213.handleCtrlC] add shutdown hook
2021-06-24 11:33:55 INFO [Crawler.772.crawl] 

crawl next
2021-06-24 11:33:55 INFO [Crawler.425.needReturn] urlStack=Stack(OneLoginActivity) baseUrl=List() maxDepth=10
2021-06-24 11:33:55 INFO [Crawler.834.crawl] no need to back
2021-06-24 11:33:55 INFO [Crawler.487.getAvailableElement] selected nodes size = 0
2021-06-24 11:33:55 INFO [Crawler.499.getAvailableElement] all - black elements size = 0
2021-06-24 11:33:55 INFO [Crawler.528.getAvailableElement] all - first - last elements size = 0
2021-06-24 11:33:55 INFO [Crawler.590.getAvailableElement] all - backButton size=0
2021-06-24 11:33:55 INFO [Crawler.598.getAvailableElement] all - clicked size=0
2021-06-24 11:33:55 INFO [Crawler.605.getAvailableElement] all - skiped fresh elements size=0
2021-06-24 11:33:55 INFO [Crawler.851.crawl] OneLoginActivity all elements had be clicked
2021-06-24 11:33:55 INFO [Crawler.857.crawl] not match afterUrlFinish
2021-06-24 11:33:55 INFO [Crawler.744.getBackButton] go back
2021-06-24 11:33:55 WARN [Crawler.754.getBackButton] no back button
2021-06-24 11:33:55 INFO [Crawler.728.setElementAction] set action to back
2021-06-24 11:33:55 INFO [Crawler.887.crawl] skip beforeElementAction
2021-06-24 11:33:55 INFO [Crawler.996.doElementAction] current element = OneLoginActivity.tag=Back.id=Back
2021-06-24 11:33:55 INFO [Crawler.997.doElementAction] current index = 2
2021-06-24 11:33:55 INFO [Crawler.998.doElementAction] current action = back
2021-06-24 11:33:55 INFO [Crawler.999.doElementAction] current xpath = Back-2
2021-06-24 11:33:55 INFO [Crawler.1000.doElementAction] current url = OneLoginActivity
2021-06-24 11:33:55 INFO [Crawler.1001.doElementAction] current tag path = 
2021-06-24 11:33:55 INFO [Crawler.1002.doElementAction] current file name = OneLoginActivity.tag=Back.id=Back
2021-06-24 11:33:55 INFO [Crawler.1018.doElementAction] back
2021-06-24 11:33:55 WARN [Crawler.1150.back] two back action too close
2021-06-24 11:33:57 INFO [Crawler.1154.$anonfun$back$2] navigate back
2021-06-24 11:33:59 INFO [Crawler.1123.doElementAction] use last clicked image replace mark
2021-06-24 11:33:59 INFO [Crawler.1130.doElementAction] sleep 500 for loading
2021-06-24 11:34:00 INFO [Crawler.627.refreshPage] refresh page
2021-06-24 11:34:00 INFO [AppiumClient.102.getPageSourceWithRetry] start to get page source from appium
2021-06-24 11:34:00 INFO [AppiumClient.117.$anonfun$getPageSourceWithRetry$1] xml format 
2021-06-24 11:34:00 INFO [Crawler.645.parsePageContext] appName = 
2021-06-24 11:34:00 INFO [Crawler.649.parsePageContext] url=MainActivity
2021-06-24 11:34:00 INFO [Crawler.673.parsePageContext] currentContentHash=67132d1565589eaa53048f61594162ba lastContentHash=e246d57d218d50231041735169394ae9
2021-06-24 11:34:00 INFO [Crawler.675.parsePageContext] ui change
2021-06-24 11:34:00 INFO [Crawler.931.saveDom] save to 20210622112953/2_OneLoginActivity.tag=Back.id=Back.dom
2021-06-24 11:34:00 INFO [Crawler.953.saveScreen] start screenshot
2021-06-24 11:34:00 INFO [Crawler.956.$anonfun$saveScreen$2] ui change screenshot again
2021-06-24 11:34:01 INFO [Crawler.977.saveScreen] screenshot success
2021-06-24 11:34:01 INFO [Crawler.709.afterElementAction] backRetry=1
2021-06-24 11:34:01 INFO [Crawler.712.afterElementAction] afterElementAction eval
2021-06-24 11:34:01 INFO [ReportPlugin.36.afterElementAction] clickedElementsList size = 3
2021-06-24 11:34:01 INFO [Crawler.772.crawl] 

crawl next
2021-06-24 11:34:01 INFO [Crawler.425.needReturn] urlStack=Stack(MainActivity, OneLoginActivity) baseUrl=List() maxDepth=10
2021-06-24 11:34:01 INFO [Crawler.834.crawl] no need to back
2021-06-24 11:34:01 INFO [Crawler.487.getAvailableElement] selected nodes size = 0
2021-06-24 11:34:01 INFO [Crawler.499.getAvailableElement] all - black elements size = 0
2021-06-24 11:34:01 INFO [Crawler.528.getAvailableElement] all - first - last elements size = 0
2021-06-24 11:34:01 INFO [Crawler.590.getAvailableElement] all - backButton size=0
2021-06-24 11:34:01 INFO [Crawler.598.getAvailableElement] all - clicked size=0
2021-06-24 11:34:01 INFO [Crawler.605.getAvailableElement] all - skiped fresh elements size=0
2021-06-24 11:34:01 INFO [Crawler.851.crawl] MainActivity all elements had be clicked
2021-06-24 11:34:01 INFO [Crawler.857.crawl] not match afterUrlFinish
2021-06-24 11:34:01 INFO [Crawler.744.getBackButton] go back
2021-06-24 11:34:01 WARN [Crawler.754.getBackButton] no back button
2021-06-24 11:34:01 INFO [Crawler.728.setElementAction] set action to back
2021-06-24 11:34:01 INFO [Crawler.887.crawl] skip beforeElementAction
2021-06-24 11:34:01 INFO [Crawler.996.doElementAction] current element = MainActivity.tag=Back.id=Back
2021-06-24 11:34:01 INFO [Crawler.997.doElementAction] current index = 3
2021-06-24 11:34:01 INFO [Crawler.998.doElementAction] current action = back
2021-06-24 11:34:01 INFO [Crawler.999.doElementAction] current xpath = Back-3
2021-06-24 11:34:01 INFO [Crawler.1000.doElementAction] current url = MainActivity
2021-06-24 11:34:01 INFO [Crawler.1001.doElementAction] current tag path = 
2021-06-24 11:34:01 INFO [Crawler.1002.doElementAction] current file name = MainActivity.tag=Back.id=Back
2021-06-24 11:34:01 INFO [Crawler.1018.doElementAction] back
2021-06-24 11:34:01 WARN [Crawler.1150.back] two back action too close
2021-06-24 11:34:03 INFO [Crawler.1154.$anonfun$back$2] navigate back
2021-06-24 11:34:05 INFO [Crawler.1123.doElementAction] use last clicked image replace mark
2021-06-24 11:34:05 INFO [Crawler.1130.doElementAction] sleep 500 for loading
2021-06-24 11:34:05 INFO [Crawler.627.refreshPage] refresh page
2021-06-24 11:34:05 INFO [AppiumClient.102.getPageSourceWithRetry] start to get page source from appium
2021-06-24 11:34:06 INFO [Crawler.1198.stop] ctrl c interval = 0
2021-06-24 11:34:06 INFO [Crawler.917.saveLog] save log to 20210622112953/elements.yml
2021-06-24 11:34:06 INFO [AppiumClient.117.$anonfun$getPageSourceWithRetry$1] xml format 
2021-06-24 11:34:06 INFO [Crawler.645.parsePageContext] appName = 
2021-06-24 11:34:06 INFO [Crawler.649.parsePageContext] url=UniHomeLauncher
2021-06-24 11:34:06 INFO [Crawler.673.parsePageContext] currentContentHash=9a7b42b7e2643366aaf00751784397e7 lastContentHash=67132d1565589eaa53048f61594162ba
2021-06-24 11:34:06 INFO [Crawler.675.parsePageContext] ui change
2021-06-24 11:34:06 INFO [Crawler.931.saveDom] save to 20210622112953/3_MainActivity.tag=Back.id=Back.dom
2021-06-24 11:34:06 INFO [Crawler.953.saveScreen] start screenshot
2021-06-24 11:34:06 INFO [Crawler.956.$anonfun$saveScreen$2] ui change screenshot again
2021-06-24 11:34:06 INFO [FreeMind.17.stop] genereate freemind file freemind.mm
2021-06-24 11:34:06 INFO [Crawler.1207.stop] generate report finish
关闭