Versions Compared

Key

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

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.

AttachFile

This action selects the specified file. 

This action is applicable only for desktop web application.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

filePath

Enter the absolute path of the file to be attached.

Yes

String

Example:
AttachFile                   "c:/Folder/test.txt"

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"

Multiexcerpt include macro
nameWaitForObject
pageWebButton Actions

Multiexcerpt include macro
nameAttachFile
pageGeneral Web Actions

Multiexcerpt include macro
nameVerifyEnability
pageWebButton Actions

On this page:

Table of Contents
maxLevel2
minLevel2

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"

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"

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"

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 for the specified object under the key name.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

The variable/key in which the count will be stored.

Yes

String

Example
StoreChildCount                     "Key"

ScrollIntoView

This action scrolls to view the specified object. 

This action does not have any parameters. 

Example:

ScrollIntoView

Multiexcerpt include macro
nameVerifyVisibility
pageWebButton Actions

Multiexcerpt include macro
nameStorePropertyValue
pageWebButton Actions

Multiexcerpt include macro
nameVerifyExistence
pageWebButton Actions

Multiexcerpt include macro
nameStoreExistence
pageWebButton Actions

Multiexcerpt include macro
nameStoreChildCount-withoutlocator
pageWebButton Actions

Multiexcerpt include macro
nameScrollIntoView
pageWebButton Actions

Multiexcerpt include macro
nameActionClick
pageWebButton Actions

Multiexcerpt include macro
nameClickJS
pageWebButton Actions