For the complete documentation index, see llms.txt. This page is also available as Markdown.

Flutter App Testing

Test Flutter apps in QApilot by selecting Flutter Driver during recording and managing Android and iOS steps in shared test cases.

Flutter App Testing

QApilot supports Flutter-specific recording setup and shared Android and iOS test cases. Select Flutter Driver before recording when your application requires Flutter context.

How Flutter testing works

When starting a cloud recording session, choose an automation type. The default is UIAutomator2. Select Flutter Driver to initialize Flutter-specific dependencies.

After recording, organize steps in a test case. Flutter projects support OS tags at both test case and test step levels.

Create a Flutter test

  1. Select the target OS and app source.

  2. Choose Flutter Driver before launching the recording session.

  3. Record and review the flow in the test recorder.

  4. Tag the test case and individual steps for Android, iOS, or both.

Share one case across Android and iOS

A Flutter test case tagged Both can contain shared and platform-specific steps. QApilot executes only the applicable steps for the selected OS.

For example, a shared sign-in flow can use one Android-specific sign-in provider step and one iOS-specific provider step. Shared setup and assertion steps run on both platforms.

This approach reduces duplicate cases. It still requires deliberate platform-specific actions where the UI or behavior differs.

Considerations

  • Select Flutter Driver before the session starts.

  • Use OS tags rather than assuming identical platform behavior.

  • Re-record or update locators after meaningful UI changes.

  • Review cross-platform execution guidance for Android and iOS differences.

Last updated