Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

igortavtib/robotframework-appiumflutterlibrary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AppiumFlutterLibrary

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

...