Skip to main content

Robot Framework Mobile flutter app testing library for Appium Client Android & iOS & Web

Project description

Latest PyPI version Number of PyPI downloads

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.

Installation

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.

Keyword documentation

AppiumFlutterLibrary has a complete Keyword Documentation.

Flutter setup

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());
}

...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page