website icon indicating copy to clipboard operation
website copied to clipboard

Provide example of how to grab screenshots during driver tests

Open zoechi opened this issue 7 years ago • 5 comments

@mit-mit commented on Fri Dec 08 2017

Request: Add a sample of how to grab screenshots with integration tests to https://docs.flutter.dev/testing#integration-testing

Great tutorial here: https://keyholesoftware.com/automating-flutter-deployments-part-2-screenshots/

zoechi avatar Dec 18 '18 14:12 zoechi

Duplicate of #2100.

kwalrath avatar Dec 21 '18 18:12 kwalrath

Actually, this is separate from #2100. This could be a short code sample in https://docs.flutter.dev/testing#integration-testing. To limit the scope, it might just show how to make a screenshot.

filiph avatar Dec 21 '18 18:12 filiph

This just came up in our meeting today. cc @RedBrogdon @galeyang @sfshaza2

chalin avatar Jan 28 '19 19:01 chalin

Check this out: https://github.com/mmcc007/screenshots/blob/master/lib/src/capture_screen.dart

It's part of a package the does automated screenshots for upload to stores (Kinda like a combination of fastlanes ScreenShots, ScreenGrab with a little FrameIt thrown in for good measure!)

mmcc007 avatar Jan 28 '19 19:01 mmcc007

@khanhnwin : Would you have any idea where we could start with this?

atsansone avatar Jul 27 '23 15:07 atsansone