appium-dashboard-plugin icon indicating copy to clipboard operation
appium-dashboard-plugin copied to clipboard

In Appium dashboard, recordings are not available for the execution results

Open HemaPriya-18 opened this issue 1 year ago • 4 comments

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

HemaPriya-18 avatar Aug 15 '22 14:08 HemaPriya-18

Hello @sudharsan-selvaraj
I am facing the same issue as above, is this an existing bug??

ArjunReddyD avatar Aug 30 '22 02:08 ArjunReddyD

@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 avatar Sep 07 '22 03:09 sudharsan-selvaraj

@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

HemaPriya-18 avatar Sep 07 '22 22:09 HemaPriya-18

I am also facing same issue!

sharathhatter1 avatar Sep 09 '22 07:09 sharathhatter1