"Hello world" example
We will now proceed to our first live automation, a traditional "Hello
world"
example. We suppose that you've followed the previous
topic to set up the test environment and you have a T-Plan Robot
Enterprise connected to your SUT displayed on the screen.
The example is very simple. The goal is to type the "Hello world" text
through a test script into a text editor displayed on the SUT.
Instructions:
- Move your mouse pointer to the desktop viewer bounds and
open
a text editor on the SUT. If
you are automating on a MS Windows desktop, open Notepad. Linux users
may start gedit. Hard core
Unix/Linux fans may start vi
in a terminal and press 'i' to switch it to the text input mode.
- Move your mouse pointer to the script editor on the left.
It is necessary to stop the desktop viewer from consuming the keyboard
input. Then type the following text into the editor:
Type "Hello world!"
- Select the
button on the tool bar
to execute the typed command.
- The tool should type
"Hello world!" into the
text editor on the desktop.
For a Flash video of this example select an image below according to
your closest SUT platform:

|
|

|
"Hello
world!" example
on Windows XP
|
|
"Hello
world!" example
on Ubuntu Linux
|
If you have succeeded to make the example work correctly,
congratulations! You've just automated your first task: typing of text
on the
remote desktop.
|