Auto capture device screens to video file and pull them into pc local folder when run test on multiple Android devices
SDCARD
required on test devices- No
ROOT
required - Record videos in
mp4
format - Might apply on both
emulator
andreal device
- Easy to implement more test mechanism on test.sh file
- Copy run_test+record.sh, test.sh, adb+.sh and adb+nophup.sh into your android project repo.
- Config your test mechanism in test.sh.
- Run
./run_test+record.sh
to start the test and record. - Wait for completed
- Using adb+ to execute
adb command
on all test devices. - Start adb screenrecord before run the test.
- Stop adb screenrecord after the test is finished on all devices.
- Test video is located on device
sdcard
folder andlocal pc folder
.