This page is maintained for older versions of Rapise only. The latest documentation can be found at: https://rapisedoc.inflectra.com
AndroidObject

AndroidObject

Top  Previous  Next

 

Android Object. Extends SeSSimulatedObject.

 

Behavior Pattern: AndroidObjectGenericBehavior

 

Property Summary

 

Property

Description

Getter

Setter

ChildAt

Child object at index.

GetChildAt


ChildCount

Number of child items.

GetChildCount


Class

Class name of the object.

GetClass


Height

Height of the object.

GetHeight


Name

Name of the object.

GetName


Property

Value of a named property of the object.

GetProperty


Text

Text of the object, 'false' if text can not be read.

GetText


Width

Width of the object.

GetWidth


X

X-coordinate of the top left corner of the object.

GetX


Y

Y-coordinate of the top left corner of the object.

GetY


 

Action Summary

 

Action

Description

DoAction

Clicks in the middle of the control.

DoClear

Clears the text of the object.

DoClick

Clicks in the middle of the control.

DoEnsureVisible

Ensure that a child item with the specified text is visible on screen.

DoSendKeys

Send a text to the object in character-by-character mode.

 

Property Detail

 

ChildAt

Child object at index.

Accessors: GetChildAt

 

ChildCount

Number of child items.

Accessors: GetChildCount

 

Class

Class name of the object.

Accessors: GetClass

 

Height

Height of the object.

Accessors: GetHeight

 

Name

Name of the object.

Accessors: GetName

 

Property

Value of a named property of the object.

Accessors: GetProperty

 

Text

Text of the object, 'false' if text can not be read.

Accessors: GetText

 

Width

Width of the object.

Accessors: GetWidth

 

X

X-coordinate of the top left corner of the object.

Accessors: GetX

 

Y

Y-coordinate of the top left corner of the object.

Accessors: GetY

 

Action Detail

 

DoAction()

Clicks in the middle of the control.

 

Returns:

 

'true' if success, 'false' otherwise.

 

DoClear()

Clears the text of the object.

 

Returns:

 

'true' if success, 'false' otherwise.

 

DoClick()

Clicks in the middle of the control.

 

Returns:

 

'true' if success, 'false' otherwise.

 

DoEnsureVisible(text)

Ensure that a child item with the specified text is visible on screen.

 

Parameters:

 

Name

Type

Description

text

string

Text to search for.

 

Returns:

 

'true' if success, 'false' otherwise.

 

DoSendKeys(keys)

Send a text to the object in character-by-character mode.

 

Parameters:

 

Name

Type

Description

keys

string

Text to type into the object.

 

Returns:

 

'true' if success, 'false' otherwise.