appium-dashboard-plugin
appium-dashboard-plugin copied to clipboard
In Appium dashboard, recordings are not available for the execution results
Hi Team,
In Appium dashboard, recordings are not available for the execution results. Is there any flag to enable recording?
In logs, I could find commands related to recording:
info HTTP {"options":{"videoType":"libx264","videoFps":10,"timeLimit":1800}} [debug] [AndroidUiautomator2Driver@653a (34498909)] Calling AppiumDriver.startRecordingScreen() with args: [{"videoType":"libx264","videoFps":10,"timeLimit":1800},"34498909-af63-4554-bed8-7e110442ba02"] info Appium Plugins which can handle cmd 'startRecordingScreen': appium-dashboard,device-farm info Appium Plugin device-farm is now handling cmd 'startRecordingScreen' [device-farm] Received startRecordingScreen request on driver - [object Object] info Appium Plugin appium-dashboard is now handling cmd 'startRecordingScreen' info Appium Executing default handling behavior for command 'startRecordingScreen' [debug] [ADB] Getting IDs of all 'screenrecord' processes [debug] [ADB] Running '/Users/hema/Library/Android/sdk/platform-tools/adb -P 5037 -s 14231JEC210835 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' [AndroidUiautomator2Driver@653a (34498909)] Screen recording has not been previously started by Appium. There is nothing to stop [debug] [ADB] Getting IDs of all 'screenrecord' processes [debug] [ADB] Running '/Users/hema/Library/Android/sdk/platform-tools/adb -P 5037 -s 14231JEC210835 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' [debug] [ADB] Building screenrecord process with the command line: adb -P 5037 -s 14231JEC210835 shell screenrecord --time-limit 180 /sdcard/cc3ff0b6.mp4 [debug] [ADB] Running '/Users/hema/Library/Android/sdk/platform-tools/adb -P 5037 -s 14231JEC210835 shell "[ -e '/sdcard/cc3ff0b6.mp4' ] && echo __PASS__"' [debug] [ADB] Running '/Users/hema/Library/Android/sdk/platform-tools/adb -P 5037 -s 14231JEC210835 shell "[ -e '/sdcard/cc3ff0b6.mp4' ] && echo __PASS__"' [debug] [AndroidUiautomator2Driver@653a (34498909)] Responding to client with driver.startRecordingScreen() result: "" info HTTP <-- POST /wd/hub/session/34498909-af63-4554-bed8-7e110442ba02/appium/start_recording_screen 200 543 ms - 12
Thanks
Hello @sudharsan-selvaraj
I am facing the same issue as above, is this an existing bug??
@HemaPriya-18 @ArjunReddyD
We need additional logs to debug the actual issue. To see the additional log, locate the below file in your machine /Users/hema/.cache/appium-dashboard-plugin/appium-dashboard-plugin.log
and search for Skipped parsing command for stopRecordingScreen
. There will be some error logs below the above line if the video is not saved.
@sudharsan-selvaraj
Thanks for responding!
Please find the logs requested:
INFO : 2022-09-07T22:28:27.787Z Skipped parsing command for stopRecordingScreen INFO : 2022-09-07T22:28:29.123Z Skipped parsing command for stopRecordingScreen ERROR : 2022-09-07T22:28:29.202Z Video not saved for session 83708be0-e48c-4603-a327-9b78eb50717b. response: "" INFO : 2022-09-07T22:28:29.216Z Session terminated 83708be0-e48c-4603-a327-9b78eb50717b INFO : 2022-09-07T22:28:29.217Z New command recieved deleteSession for session 83708be0-e48c-4603-a327-9b78eb50717b INFO : 2022-09-07T22:28:29.492Z Recieved response for command deleteSession for session 83708be0-e48c-4603-a327-9b78eb50717b
I am also facing same issue!