AppiumFlutterLibrary is a library for testing Flutter apps with Robot Framework.
The project uses the FlutterDriver test tools integrated to Appium as a Robot Framework library.
The recommended installation method is using pip:
pip install --upgrade robotframework-appiumflutterlibrary
See Robot Framework installation instructions for detailed information about installing Python and Robot Framework itself.
AppiumFlutterLibrary has a complete Keyword Documentation.
To use AppiumFlutterLibrary you will need to make a simple setup in your Flutter project.
At first, include flutter_driver package to your dev dependencies at pubspec.yaml:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_driver:
sdk: flutter
Then go to your main.dart file and add enableFlutterDriverExtension() to your main function before runApp()
import 'package:flutter/material.dart';
import 'package:flutter_driver/driver_extension.dart';
void main() {
enableFlutterDriverExtension();
runApp(const MyApp());
}
...