Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Click

This action clicks the specified object.

...

This action does not have any parameter. 

Example:

MouseOver

...

MouseOverJs

This action simulates the event that occurs when the user releases the mouse button.

Input Parameters:

a mouse hovering over the specified object by using JavaScript.

This action does not have any parameter. 

Example:

MouseOverJs

MouseUp

This action simulates the event that occurs when the user releases the mouse button.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

X

The x-coordinate of the click.

No

String

Y

The y-coordinate of the click.

No

String

...

SelectFrame

This action selects a the frame within the current window.

Input Parameters:

...

Parameter Name

...

...

Mandatory

...

Data Type

...

locator

...

Enter the locator using which you want to select the frame. This parameter can have the values of the frame's: ID, Name, Xpath, CSS.

...

Yes

...

String

...

locatorType

...

Enter which locator type you want to use. It can be ID, Name, xpath, CSS and so on. In order to come out of all the frames, the parameters passed should be empty.

...

Yes

...

String

Example:

SelectFrame                        "mainFrame"               "name"Example:

SelectFrame 

SelectFrameWhenAvailable

This action waits until the specified frame appears on the page and selects when the frame appears. You may specify the timeout and polling interval if required. 

...

Key

Syntax

ZENKAKU_HANKAKU

~{ZENKAKU_HANKAKU~}

UP

~{UP~}

TAB

~{TAB~}

SUBTRACT

~{SUNSTRACT~}

SPACE

~{SPACE~}

SHIFT

~{SHIFT~}

SEPARATOR

~{SEPARATOR~}

SEMICOLON

~{SEMICOLON~}

RIGHTCLICK

~{CONTEXTCLICK~}

RIGHT

~{RIGHT~}

RETURN

~{RETURN~}

PAUSE

~{PAUSE~}

PAGE_UP

~{PAGE_UP~}

PAGE_DOWN

~{PAGE_DOWN~}

NUMPAD9

~{NUMPAD9~}

NUMPAD8

~{NUMPAD8~}

NUMPAD7

~{NUMPAD7~}

NUMPAD6

~{NUMPAD6~}

NUMPAD5

~{NUMPAD5~}

NUMPAD4

~{NUMPAD4~}

NUMPAD3

~{NUMPAD3~}

NUMPAD2

~{NUMPAD2~}

NUMPAD1

~{NUMPAD1~}

NUMPAD0

~{NUMPAD0~}

NULL

~{NULL~}

MULTIPLY

~{MULTIPLY~}

META

~{META~}

LEFT_SHIFT(SHIFT)

~{LEFT_SHIFT~}

LEFT_CONTROL(CONTROL)

~{LEFT_CONTROL~}

LEFT_ALT

~{LEFT_ALT~}

LEFT

~{LEFT~}

INSERT

~{INSERT~}

HOME

~{HOME~}

HELP

~{HELP~}

F12

~{F12~}

F11

~{F11~}

F10

~{F10~}

F9

~{F9~}

F8

~{F8~}

F7

~{F7~}

F6

~{F6~}

F5

~{F5~}

F4

~{F4~}

F3

~{F3~}

F2

~{F2~}

F1

~{F1~}

ESCAPE

~{ESCAPE~}

EQUALS

~{EQUALS~}

ENTER

~{ENTER~}

END

~{END~}

DOWN

~{DOWN~}

DOUBLECLICK

~{DOUBLECLICK~}

DIVIDE

~{DIVIDE~}

DELETE

~{DELETE~}

DECIMAL

~{DECIMAL~}

CONTROL

~{CONTROL~}

COMMAND (META)

~{COMMAND~}

CLICK

~{CLICK~}

CLEAR

~{CLEAR~}

CANCEL (Esc)

~{CANCEL~}

BACK_SPACE

~{BACK_SPACE~}

ARROW_UP

~{ARROW_UP~}

ARROW_RIGHT

~{ARROW_RIGHT~}

ARROW_LEFT

~{ARROW_LEFT~}

ARROW_DOWN

~{ARROW_DOWN~}

ALT

~{ALT~}

ADD

~{ADD~}


SetFocus

This action sets the focus on the specified object.

This action does not have any parameter. 

...

SetValueAttribute           "#ff0990"

StoreChildCount

This action stores the child count of the specified object under the specified key. The key value can be retrieved using the key name.

...

Parameter Name

Parameter Desciption

Mandatory

Data Type

keyXPosition

Enter the key name to store the height of the location of the object.

Yes

String

keyYPosition

Enter the key name to store the width of the location of the object.

Yes

String

...

Parameter Name

Parameter Description

Mandatory

Data Type

enability

Value for this parameter can be True or False.

  • Set True if you want to verify that the object is enabled. 

  • Set False if you want to verify that the object is disabled.
    Note: If you do not enter any value, the default value is set to True during the test case execution.

No

String

Example:

VerifyEnability                          "True"

...

Parameter Name

Parameter Description

Mandatory

Data Type

visibility

Value for this parameter can be True or False.

  • Set True if you want to check the visibility.

  • Set False if you want to check the invisibility.
    Note: If you do not enter any value, the default value is set to True during the test case execution.

No

String

Example:

VerifyVisibility                      "True"

...

WaitForInnerTextMatchesPattern           ".[My]text."       "5"       "500"     "Key"       "Defect"

...