Getting Started
IntroductionGetting startedOverviewRunning TestoTests running policyTesto for Hyper-V Guides
Guide 1. The very first testGuide 2. Ubuntu Server InstallationGuide 3. Internet access in virtual machinesTesto for QEMU Guides
Guide 1. The very first testGuide 2. Ubuntu Server InstallationGuide 3. Guest AdditionsGuide 4. ParamsGuide 5. CachingGuide 6. Internet access in virtual machinesGuide 7. Linking up virtual machinesGuide 8. Flash DrivesGuide 9. MacrosGuide 10. If clauseGuide 11. No snapshotsGuide 12. Mouse controlGuide 13. Importing disk imagesGuide 14. JS-selectorsGuide 15. CyclesGuide 16. Macros with declarationsReference
Test scripts general overviewTesto lang basic syntaxVirtual Machine declarationVirtual flash drive declarationVirtual network declarationParamsTests declarationMacrosVirtual Machines ActionsMouse actionsDetecting images on the screenVirtual Flash Drives ActionsConditionsCyclesPossible keyboard key IDsJavascript selectors
Main conceptsBuilt-in global functionsExceptionsClass TextTensorClass ImgTensorClass PointClass Point
The Point
class contains the information about a point on the virtual machine screen.
Methods
move_up(N)
Returns a new Point with the y
coordinate reduced by N pixels compared to the current object.
Arguments:
N <integer>
- Number of pixels for the new Point to be "higher" than the current Point object.
Return value - a Point
object with the new coordinates.
move_down(N)
Returns a new Point with the y
coordinate increased by N pixels compared to the current object.
Arguments:
N <integer>
- Number of pixels for the new Point to be "lower" than the current Point object.
Return value - a Point
object with the new coordinates.
move_right(N)
Returns a new Point with the x
coordinate increased by N pixels compared to the current object.
Arguments:
N <integer>
- Number of pixels for the new Point to be to the right from the current Point object.
Return value - a Point
object with the new coordinates.
move_left(N)
Returns a new Point with the x
coordinate decreased by N pixels compared to the current object.
Arguments:
N <integer>
- Number of pixels for the new Point to be to the left from the current Point object.
Return value - a Point
object with the new coordinates.
Properties
x <integer>
The X coordinate value (more x
means more to the right).
y <integer>
The Y coordinate value (more y
means more to the bottom).