T-Plan Robot Documents > T-Plan Robot Enterprise v2 Tutorial

"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:
  1. 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.
  2. 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!"
  3. Select the Execute script button on the tool bar to execute the typed command.
  4. 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
"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.