OpenFin Test on Testable

Introduction

Check out the Getting Started with OpenFin guide for a quick introduction on how to run your test script. Also check out our Selenium overview guide to better understand how Selenium tests run on Testable in general.

This document goes into further detail on the various options provided for running OpenFin test scenarios.

OpenFin tests can be written with a variety of the Selenium bindings that Testable supports. We provide an example project: openfin-wdio-testable-example. It is adapted from openfin-wdio-testable-example for Testable.

The example shows a Webdriver.io example for testing your OpenFin application. For the most part this is no different than any other Webdriver.io test with a few notable exceptions in the RunOpenFin.bat and app.json files as discussed in the README file for the example project.

In your scenario make sure to choose Runtime Requirements = Windows if you want to run in the default OpenFin supported OS: Windows.

Windows Test Runner

OpenFin Test Runner Limitations

Limitation 1: Each test runner can only simulate 1 virtual user.

For OpenFin Windows tests, only 1 virtual user can run on each EC2 instance. This means you must select Manual in the Test Runners section of your test configuration, and then set Concurrent Users Per EC2 Instance = 1:

OpenFin Test Runner