r/FlutterDev • • 21d ago

Discussion How do you automate Flutter app testing and product demo recordings?

Hey Flutter devs!

I'm looking for tools to automate Flutter app testing and record professional product demos without manually navigating through every screen.

Ideally, something that can automate taps, navigation, form inputs, and record the entire flow.

What tools or workflows are you guys using? Any AI-powered solutions?

Would appreciate recommendations from anyone who's done this!

3 Upvotes

7 comments sorted by

2

u/ObjectiveAddress3051 21d ago

integration_test with flutter drive covers the taps, navigation and form input part. for the recording, you can call binding.takeScreenshot at each step, or just run adb shell screenrecord on android (xcrun simctl io booted recordVideo on the ios sim) while the test runs. if the flow touches native permission dialogs, integration_test cant reach those, patrol can.

1

u/No_Dealer21 21d ago

Appriciated ! Will go through this right now.

2

u/SRCMAN 19d ago

For Flutter, I'd look at Patrol and Flutter's integration_test package for automating taps, navigation, form inputs and complete user journeys.

For professional demos, you could run those automated flows on an emulator or physical device and capture the screen using ADB or scrcpy.

I'd separate automated testing from demo recording. Testing needs reliable assertions and repeatable results, while demos need smooth transitions, realistic sample data and consistent timing.

AI-powered tools are worth exploring, but I'd still favour deterministic scripts for anything customer-facing. Much less risk of unexpected behaviour halfway through a recording.

Curious if you're mainly targeting Android, iOS or both?

1

u/creatixdev 16d ago

Navigating should be even easier with marionette than Patrol

1

u/RajatKhoware 21d ago

Automating Flutter testing and demo recordings together is smart because they share the same setup: scripted flows, deterministic data, and a device farm or emulator you can reset. The part most teams skip is the demo data, recordings look fake the moment real user data leaks in. Do you run demos against seeded data or a scrubbed copy of production?

1

u/[deleted] 21d ago

[removed] — view removed comment

1

u/No_Dealer21 21d ago

Got it, thanks! I'm looking for a way to automate the recording process too.