M-eux Test Reference Guide

MoObject Script Object

A standard GUI object in Windows Mobile.

Operations

Name

Description

Close

Function to close the open dialog box.

Tap

Taps inside the object.

TapMove

Initiates a tap on coordinates, hold down the tap and release the tap at the next set of coordinates.

TapSendInput

Tap on the object, when the Tap method doesn't work.

DoubleTap

Taps twice inside the object.

HoldTap

Taps inside the object and hold the tap pressed for two seconds so that if programmed, a menu pops up.

Press

Press key.

Type

Type a sequence of keys against the object.

GetOcrAreaText

Returns the text on the object as recognized by the OCR mechanism within the rectangle coördinates.

GetOcrText

Returns the text on the object as recognized by the OCR mechanism.

GetOcrAreaTE

Returns the text on the object as recognized by the OCR mechanism with linefeeds within the rectangle coördinates.

GetOcrTE

Returns the text on the object as recognized by the OCR mechanism with linefeeds.

Scroll

Does horizontal or vertical scrolling.

BitmapSave

The BitmapSave saves the image of the testobject in the specified file.

QTPBitmapSave

The QTPBitmapSave saves the image of the testobject in the specified file.

QTPBitmapCheck

checks the current image against the image saved in the file .

BitmapCheck

checks the current image against the image saved in the file .

RIghtMouseTap

Execute a righ mouse press. This method is only available in Windows CE.

Properties

Name

Description

name

The name property of the corresponding .Net Control

foreground

Denotes whether the window is placed on the foreground of the display. Possible values are "0" and "1".

browser

Denotes the window is a browser. Always "true".

hwnd

Denotes the internal window handle of the object

classname

Denotes the class name of the GUI object

x

Denotes x coordinate of the position to the upper left corner of the display.

y

Denotes the y coordinate of the position to the upper left corner of the display.

width

Denotes the width of the object in number of pixels

height

Denotes the height of the object in pixels.

text

Denotes the text associated to the GUI object

id

Denotes the internal windows id of the object

processId

Denotes the id of the windows process that owns the object.

zorder

the z-order of the object

visible

Denotes if the object is visible on the screen.

style

Denotes the style of the GUI object. The windows style is an 32 bit integer in which each bit indicates a specific style settings. Explanation on the style bits can be found in the windows mobile developer documentation.

enabled

Denotes if the GUI object is enabled. The value is "0" or "1"

index

Denotes the ordinal identifier that M-eux Test assigns to the object to indicate the order in which the object appears in the code relative to other objects with an otherwise identical description. This property cannot be used with GetROProperty. Values begin with 0.

childCount

Denotes the number of GUI objects that are defined as a child GUI object for this GUI object

  1. https://sbcnep.org/
  2. https://www.btsuk.org/
  3. https://www.jamosolutions.com/
  4. https://www.halifaxregional.org/
  5. https://www.chevallierlaspales.com/
  6. https://www.dome-restaurant.com/
  7. https://www.gc32worlds.com/
  8. https://www.thesamestreamchoir.com/
  9. https://www.maxhead.org/
  10. https://pmkisanstatus.org/
  11. https://www.saintspap.org/
  12. https://www.samuraisushihibachi.com/
  13. https://kraimoriebeach.com/
  14. https://recoverysociety.org/
  15. https://www.britishcouncilonline.org/
  1. HOME