Versions Compared

Key

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

Click

This action clicks the specified object.

...

CompareTableRowData  "2"  "India~^Australia~^ England"

DeSelectCheckBoxInCell

This action deselects the check box from the specified table cell. This can also be applicable for tables where each row in the table have different number of columns.

...

This action does not have any parameter.

Example:

DoubleClick

...

DragAndDrop

This action drags and drops the specified web element at the specified location. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

offsetX

Enter the offset in pixels from the current location to which the element should be moved. The offset parameter can be as +100,100 , -100, 10, and so on.

Yes

No

String

offsetY

Enter the offset in pixels from the current location to which the element should be moved. The offset parameter can be as -100,100 , +100, and so on.

Yes

No

String

Example:

DragAndDropOffset    DragAndDrop          "100"              "500"

...

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"

StoreCellText

This action stores the text of the specified table cell under the specified key. The key value can be retrieved using the key name. 

...

Parameter Name

Parameter Description

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

...

StoreRowNumWithRowData     "1^India^3^Australia^6^ England"

Thus it will check the data "India" in the first column of the table, "Australia" in the third column and "England" in the 6th column in a particular row. Thus, the data needs to be present in the same row.

...

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"

...

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

...