Example: Opening the Windows Start Menu¶
This short task will accomplish something simple, yet will show you the potential of using Alyvix.
You can find video versions of this tutorial
Tutorials similar to this one are also available in video format.
Launch Alyvix Editor, giving it a file name to use (the exact name is not important, but we will reuse them in subsequent examples):
C:\Alyvix\testcases> alyvix_editor -f start-test
The Editor screen will appear:
Click on the DELAY [SEC] 0 ADD button at the bottom to trigger a screen capture.
Next, use the mouse to create a selection around the Windows Start button by left-clicking and dragging so that it looks similar to this screenshot (if you don’t get it quite right the first time, just resize any of the edges using the left mouse button):
With our graphic component still selected, press the Escape key. The Editor interface will return with the area containing the Start button as shown in the panel at the right:
At the bottom of that panel under the label Action there is a dropdown option with the value
None. Change that value from
Clickand keep its default values. A mouse icon to the right of the Start button will confirm this with a red highlight.
Save this new test case by clicking the SAVE button at the top. Since we started Editor with the option
-f start-test, the resulting file will be called
Using the icon next to PressStartButton, drag the new test case object and drop it into the Scripting panel marked Script: MAIN.
Now start Alyvix Robot by pressing the button at the top left. The Editor window will disappear and the mouse will move over to the Windows Start button and click, causing the Start Menu to open. Finally, save and exit Alyvix Editor using the SAVE and EXIT buttons at the top.
If you saw the Start Menu appear, then you’ve successfully built and run your very first Alyvix test case!
The following page will continue this example to create a more complex script.