Versions Compared

Key

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


Multiexcerpt macro
nameSet

Set

This action enters the expected value into the specified edit box.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

strValue

Value which will be entered into the specified edit box. 
The data type of this parameter is Alphanumeric. It allows digits as well as characters.

Yes

String

Example:
Set                            "Qualitia"


Multiexcerpt macro
nameClearText

ClearText

This action clears the text present in the specified object (can be a text box).

This action does not have any parameters.

Example:

ClearText


Multiexcerpt macro
nameSecureSet

SecureSet

This action enters the expected value into the specified edit box. The value set in the parameter is encrypted once the focus is moved for security purposes.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Text

Needs to use Encrypt to enclose the Text that needs to be secured

NO

String

Example:
SetSecure "Encrypt(Abc)"
When the focus is moved away from the parameter Qualitia will automatically encrypt the data ABC and result in a secured text like "vHpmlfI4R3PQkCN4sZnuqw==þNWE3ZDdkNjE3N2JmNDM2ODgxMzQwYWI1MTA3YWNjMDc="


On this page:

Table of Contents
maxLevel2
minLevel2

VerifyExistence

This action verifies the existence of the specified object. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

existence

Value for this parameters can be true or false. 
If True – checks if the edit box exists 
If False – checks if the edit box does not exist

Yes

String

Example:
VerifyExistence                      "True"

VerifyVisibility

This action verifies the visibility of the specified object.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

visibility

Value of this parameter can be true or false.
If True – checks if the edit box is visible 
If False – checks if the edit box is not visible

Yes

String

Example:
VerifyVisibility                      "True"

Click

This action clicks the edit box.

Example:
Click

StorePropertyValue

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

Some Android and iOS properties are not accessible.

List of accessible properties for Android: "name","contentDescription","className","resourceId","text","enabled","checkable","checked","clickable","focusable","focused","longClickable","scrollable","selected","displayed"

List of accessible properties for iOS: "name", "value", "label", "hint"

Input Parameters:

ParameterName

Parameter Description

Mandatory

Data Type

Key

Variable in which the property value will be stored

Yes

 String

Property

Property/attribute name whose value needs to be stored in "Key". This can be any accessible property of Android/iOS native object.

Yes

 String

Example:
StorePropertyValue                            "key"                     "text"

Multiexcerpt include macro
nameVerifyExistence
pageWebButton Actions


Multiexcerpt include macro
nameVerifyVisibility
pageWebButton Actions


Multiexcerpt include macro
nameClick
pageWebButton Actions


Multiexcerpt include macro
nameStorePropertyValue
pageWebButton Actions


Multiexcerpt macro
nameStoreText

StoreText

This action stores the text entered in an edit box into a variable. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

Variable in which the text is stored

Yes

String


Example:
StoreText                   "textKey"

SetFocus

This action sets the focus to the specified edit box.

Example:
SetFocus

VerifyEnability

This action verifies the enability of the specified object. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

enability

Value of this parameter can be true or false.
If True – checks if the edit box is enabled 
If False – checks if the edit box is disabled

Yes

String

Example:
VerifyEnability                          "True"

ClickAt

This action clicks at a particular point on the object.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

X

The x-coordinate to click.

Yes

String

Y

The Y-coordinate to click.

Yes

String

Example
ClickAt                               "5"               "10"

WaitForObject

This action waits for the object to exist or not exist for the maximum no of seconds specified.

If the object is found or not found before the maximum time specified, the action shall stop waiting.

If the wait time is "" then the wait time shall be the "Sync Time" time set on the Qualitia Configuration (Execution) window.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

waitTime

The maximum no of seconds to wait for the object to exist or not exist 
This has to be 0 ,"",or a positive integer value

Yes

String

existence

Boolean value to specify if the object should exist or not.

Yes

String


Example
WaitForObject           "10"            "true"
The action shall wait for maximum 10 seconds for the object to exist. If the object exists before 10 seconds elapses, the wait shall be over.
WaitForObject         "15"          "False"
The action shall wait for maximum 15 seconds for the object not to exist. If the object does not exist before 15 seconds elapses, the wait shall be over.

ClickAndWait

This action clicks the edit box and waits.It waits for the max sync time set in the Qualitia Configuration (Execution) window.

If the page loads before the maximum sync time, then the action will stop waiting.

Example:
ClickAndWait

In Webdriver we wait for the document to come in ready state. If it is in ready state it is assumed that the page is loaded completely and Webdriver will stop waiting. The condition to wait till the document is in ready state and assume that the page is loaded could however not work as expected at all times.

StoreExistence

This action stores existence of the object under a key. The key value can be retrieved using the key name. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Key

The variable in which the existence (true/false) of the object is stored.

Yes

String

Example:
StoreExistence                               "Key"

StoreChildCount

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

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Key

The variable in which the child count will be saved.

Yes

String

Example:

StoreChildCount                               "Key"

true
Insert excerpt
WebButton ActionsWebButton Actionsnopanel
Multiexcerpt include macro
nameSetFocus
pageWebButton Actions


Multiexcerpt include macro
nameVerifyEnability
pageWebButton Actions


Multiexcerpt include macro
nameClickAt
pageWebButton Actions


Multiexcerpt include macro
nameWaitForObject
pageWebButton Actions


Multiexcerpt include macro
nameClickAndWait
pageWebButton Actions


Multiexcerpt include macro
nameStoreExistence
pageWebButton Actions


Multiexcerpt include macro
nameStoreChildCount-withoutlocator
pageWebButton Actions


Multiexcerpt include macro
nameClickJS
pageWebButton Actions


Multiexcerpt include macro
nameActionClick
pageWebButton Actions