Skip to content
jussimalinen edited this page Mar 21, 2013 · 23 revisions

Demo

Introduction

The demo package contains examples of testing both standalone and Java Web Start application.

Prerequisites

  • You'll need java 1.6, javaws and jybot. in the PATH (the library itself works also with java 1.5).
  • Download the latest remoteapplications-demo-<date>.zip.
  • Unzip it and open command line to demo directory.

Running tests for standalone java application

Execute:

python run.py robot-tests/standalone_application.txt

Running tests for Java Web Start example application

  1. Allow testing capabilities by adding file .java.policy to your HOME directory with the following content:

    grant {
         permission java.security.AllPermission;
    };
  2. Execute:

    python run.py robot-tests/javaws_application.txt
  3. On first run agree with the confirmation dialog if necessary (select accept always).