Flutster API integration quick start guide

Integrate Flutster to your app
Add Flutster plugindependencies:
flutster:

flutter pub get

import 'package:flutster/flutster.dart';
Initialize API parameters//Create a user at https://flutster.com
FlutsterTestRecord.defaultRecord.apiUrl=
"https://flutster.com";

//Get your API key on the profile page at https://flutster.com
FlutsterTestRecord.defaultRecord.apiUser=
"Your Flutster User";

//The API key is made of 60 characters 0-f
FlutsterTestRecord.defaultRecord.apiKey=
"Your Flutster API Key";
Prevent use in production//Avoid using Flutster in production FlutsterTestRecord.defaultRecord.active=
!prod;
Place Flutster Widgetsreturn FlutsterScaffold(
name: "myUniqueWidgetName",
appBar: AppBar(
title: Text(widget.title),
),
body: ... );

// or

FlutsterTestRecorder(
child: myWidget,
name: "myUniqueWidgetName",
)
Make your text field cursor invisibleMaterialApp(
theme: ThemeData(
textSelectionTheme: TextSelectionThemeData(
cursorColor: Colors.white,
),

...
));
Record your test
Open Flutster test recorder menu
Start recording
Close Flutster test recorder menu
Interact with your app– Use physical keyboard. On physical device, use scrcpy .
– Typed texts replace whole text field content.
– Mouse interaction consists of start – end and duration.
Take a screenshotDouble-click
Open Flutster test recorder menu
Name your test record
Combine keyboard interactions
Save your test record
Upload test record to API
Note API test record id
Run your test record
Create test file
Example file content
Add and select run configuration





Run your test record

How to use Flutster with API summary