T-Plan
Robot Enterprise Plugin Home |
19 December 2017 |
The plugin requires T-Plan Robot 4.4 or higher. To install the plugin download it from:
OPTION 1:
iosx.jar
file to
the plugins/
directory under the Robot
installation directory. This will make Robot load the classes on
the start up. Make sure to remove any older versions of the
plugin.
OPTION 2:
Include
"<location>/iosx.jar"
iosx.jar
file onto the Java class path.
Script Name
Description
com.tplan.iosx.StartApp
Install and/or start an application on the iOS device.
com.tplan.iosx.SetOrientation
Set the screen orientation to portrait or landscape left.
The plugin scripts are to be called from TPR test scripts using
the Run command.
The command instances may be easily created using the Command Wizard
tool. To edit an existing Run command right click it and select Properties
in the context menu.
// Presume that iosx.jar is in the script folder
Include "iosx.jar"
// Start Safari
Run "com.tplan.iosx.StartApp" app="com.apple.mobilesafari"
// Perform testing here
// ...
// Rotate the screen to landscape
Run "com.tplan.iosx.SetOrientation"orientation="landscape"