Versions Compared

Key

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

...

ComparetwoInt  “123“  “ 234”

DragAndDropToObject

This action drags the specified object and drops it in the position of another specified object. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

dragLocator

Enter the locator value of an element to be dragged.

Yes

String

dragLocatorType

Enter the locator type of the element to be dragged.

Yes

String

dropToLocator

Enter the locator of an element whose location (i.e., whose centre-most pixel) will be the point where dragLocator is dropped.

Yes

String

dropToLocatorType

Enter the locator type of the element where the element will be dragged.

Yes

String

Example:
DragAndDropToObject                   "//div/img[@alt='abx']"            "xpath"           "abc"        "id"

OpenURL

This action opens the specified URL in the browser selected in the associated execution profile.

...

Example:
AcceptDialogAndStoreMessage                  "AlertMessage"

...

ValidateSyntaxInFile

This action validates the data given in the specified JSON or XML file.

...

Parameter Name

Parameter Description

Mandatory

Data Types

FilePath

Enter the absolute path to the JSON/XML file on which you want to validate the data.

Yes

String

 Example: 

ValidateStringSyntaxinFile  ValidateSyntaxInFile           "C:\Users\Qualitia\Cust_Details.json" 

End of the execution, if the data from the specified file is valid, action will pass, else action will fail. 

UpdateValueFromJson

This action reads a JSON file and updates the JSON key value as per the specified parameters and data type.

Input Parameters:

...

Parameter Name

...

Parameter Description

...

Mandatory

...

Data Type 

...

FilePath

...

Enter the absolute file path to the JSON file where you want to add the node.

...

Yes

...

String

...

JSONPath

...

Enter the JSON path where you want to add the new node. 

Use $ if you want to add the node at root level.

...

Yes

...

String

...

JSONValue

...

Enter the value to be added for the JSONValue key.

...

Yes

...

String

...

JSONValueType

...

Specify the data type of the value being added.

Value type can be Boolean or Numeric.

Keep the value type blank if the data type is JSONObject, JSONArray, or String.

...

No 

...

String

 

Example:

  • Updating single value: 

.UpdateValueInJson     “C:\Users\Qualitia\Cust_Details.json”        “$.address.postalCode”         “6300194”         “Numeric“

This action will update the value of the attribute postalCode of type Numeric to the value given in the parameter (6300194).

  • Updating value from the array: 

.UpdateValueInJson    “C:\Users\Qualitia\Cust_Details.json”        “$[0].address.postalCode”         “6300194”         “ Numeric“

This action will update the value of the attribute postalCode of address at 0th index, type Numeric to the value given in the parameter (6300194).

  • Updating value of type String:

“C:\Users\Qualitia\Cust_Details.json”        “$.address”         “StateCode”        "["CA" , "California"]"        ""

...

will pass, else action will fail. 

WriteToBuildProperty

This action writes a user defined property along with its value to qer.properties file. This customized information can be used in email notifications sent by Jenkins provided all the required email specific settings are done there in Jenkins.

...

This action waits until the number of open windows reaches the count specified in the parameter. You may use polling interval and timeout, if required.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

expectedNumber

Enter expected number of windows.   

No

String

timeOut

Enter the timeout (in seconds) to wait. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check whether the specified count has reached. 

No

String

keyNumOfWindows

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect.

No

String

...

This action sets the window size based on the parameters provided (height and width).

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

width

Enter the expected width of the window in pixel. 

Yes

String

height

Enter the expected height of the window in pixel. 

Yes

String

...

This action stores the current size of the window under the specified keys. These key values can be retrieved using the key names.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

KeyHeight

Enter the key name to store the height of the window.

Yes

String

KeyWidth

Enter the key name to store the width of the window.

Yes

String

...

This action sets the position of the console window as per the specified position.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

xPosition

Enter the x coordinate of the position to set.

Yes

String

yPosition

Enter the y coordinate of the position to set.

Yes

String

...

This action stores the current position of the window under the specified keys. These key values can be retrieved using the key names.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

keyXPosition

Enter the key name to store the X coordinate.

Yes

String

keyYPosition

Enter the key name to store the Y coordinate.

Yes

String

...

This action waits for the specified frame to appear on the page and selects when it is available. You may specify the timeout and polling interval, if required.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

frameIndex

Enter the index of the frame which you want to wait and select for. Index starts at 0.   

No

String

timeOut

Enter the timeout (in seconds) to wait for the frame. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the frame before exhausting timeout. 

No

String

key

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect.

No

String

...

This action runs the parameterized JavaScript code until it returns the value. You may specify the timeout and polling interval, if required.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

JavaScriptString

Enter the JavaScript code to run. 

No

String

keyReturnValue

Enter the key under which the javascript return value will be stored. The key value can be retrieved using the key name. 

No

String

timeOut

Enter the timeout (in seconds) to wait for the value. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the value before exhausting timeout. 

No

String

keyStatus

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect.

No

String

...

This action runs the parameterized JavaScript code until it throws the execption. You may specify the timeout and polling interval, if required.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

JavaScriptString

Enter the JavaScript code to run. 

NoYes

String

timeOut

Enter the timeout (in seconds) to wait for the exception. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the execption before exhausting timeout. 

No

String

keyJSThrowsExceptionStatus

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect.

No

String

...

This action waits for the web page title to contain expected partial parameterized value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.

Input Parameters: 

Parameter Name

Parameter Description

Mandatory

Data Type

title

Enter the expected partial value of the web page title.

No

String

timeOut

Enter the timeout (in seconds) to wait for the expected value. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. 

No

String

keyTitleContains

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect.

No

String

...

This action waits until the web page title changes to other than the partial parameterized value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.  

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

title

Enter the expected partial value which should not be in the web page title. 

No

String

timeOut

Enter the timeout (in seconds) to wait for the expected value. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. 

No

String

keyTitleNotContains

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect.

No

String

...

This action waits for the web page title to contain exact expected parameterized value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.

Input Parameters: 

Parameter Name

Parameter Description

Mandatory

Data Type

title

Enter the expected exact value of the web page title.

No

String

timeOut

Enter the timeout (in seconds) to wait for the expected value. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. 

No

String

keyTitleToBe

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect.

No

String

...

This action waits until the web page title changes to other than the parameterized value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.  

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

title

Enter the expected exact value which should not be in the web page title. 

No

String

timeOut

Enter the timeout (in seconds) to wait for the expected value. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. 

No

String

keyTitleNotToBe

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect.

No

String

...

This action waits for the web page URL to contain expected partial parameterized value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.  

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

url

Enter the expected partial value of the web page URL. 

No

String

timeOut

Enter the timeout (in seconds) to wait for the expected value. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. 

No

String

keyURLContains

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect.

No

String

...

This action waits until the web page URL changes to other than the partial parameterized value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.  

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

url

Enter the expected partial value which should not be in the web page URL. 

No

String

timeOut

Enter the timeout (in seconds) to wait for the expected value. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. 

No

String

keyURLNotContains

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect.

No

String

...

This action waits for the web page URL to contain exact expected parameterized value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.  

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

url

Enter the expected the web page URL. 

No

String

timeOut

Enter the timeout (in seconds) to wait for the expected URL. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the expected URL before exhausting timeout. 

No

String

keyURLToBe

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect.

No

String

...

This action waits until the specified web page URL value changes to other than the parameterized value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.  

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

url

Enter the URL which should not be the web page URL.

No

String

timeOut

Enter the timeout (in seconds) to wait for the URL to change. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the URL before exhausting timeout. 

No

String

keyURLNotToBe

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect.

No

String

...

This action waits until the specified web page URL value changes to the parameterized regular expression pattern. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.  

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

urlRegx

Enter the expected pattern for the URL. Pattern should be regular expression. Step fails in case the pattern is invalid.

No

String

timeOut

Enter the timeout (in seconds) to wait for the URL to change. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the URL before exhausting timeout. 

No

String

keyURLPattern 

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect.

No

String

...

After adding the required text, you can use the AcceptDialog or WaitForAlertAndSpecifyBehavior to continue test case execution on the main window.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

textToSend

Enter the text you want to send in the alert. 

Yes

String

timeOut

Enter the timeout (in seconds) to wait for the alert. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the alert before exhausting timeout. 

No

String

keyAlertAvailable

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect.

No

String

...

This action waits for the web page to prompt an alert. After the alert is prompted, you can either accept the dialog or dismiss the dialog giving appropriate values in the parameters. You may specify the timeout and polling interval, if required.

Input Parameters:

Parameter Name

Parameter Description

MandatoryacceptOrDismiss

Data Type

acceptOrDismiss

Values for this parameter can be: accept or dismiss.

  • Set accept if you want to accept the dialog. 

  • Set dismiss if you want to dismiss the dialog.  

No

String

timeOut

Enter the timeout (in seconds) to wait for an alert. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the alert before exhausting timeout. 

No

String

keyAlertAvailable

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect.

No

String

...

This action sets the page load timeout when executing test cases. The time set here overrides the Page Timeout set in the associatedInput Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

timeoutinSeconds

Enter the expected timeout to load the page.  

Yes

String

...

This action stores the source of the page under the specified key. The key value can be retrieved using the key name.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

keyPageSource

Enter the key name to store the page source in.   

Yes

String

...

Parameter Name

Parameter Description

Mandatory

Data Type

Platform

Platform to run web application on. Supported platforms are "Desktop" and "Mobile".

Yes

 String

...

This action sets the window size based on the parameters provided (height and width).

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

width

Enter the expected width of the window in pixel. 

Yes

String

height

Enter the expected height of the window in pixel. 

Yes

String

...

This action stores the current size of the window under the specified keys. These key values can be retrieved using the key names.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

KeyHeight

Enter the key name to store the height of the window.

Yes

String

KeyWidth

Enter the key name to store the width of the window.

Yes

String

...

This action sets the position of the console window as per the specified position.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

xPosition

Enter the x coordinate of the position to set.

Yes

String

yPosition

Enter the y coordinate of the position to set.

Yes

String

...

This action stores the current position of the window under the specified keys. These key values can be retrieved using the key names.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

keyXPosition

Enter the key name to store the X coordinate.

Yes

String

keyYPosition

Enter the key name to store the Y coordinate.

Yes

String

...

This action waits for the specified frame to appear on the page and selects when it is available. You may specify the timeout and polling interval, if required.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

frameIndex

Enter the index of the frame which you want to wait and select for. Index starts at 0.   

No

String

timeOut

Enter the timeout (in seconds) to wait for the frame. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the frame before exhausting timeout. 

No

String

key

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect.

No

String

...

WaitforAlertandStoreAcceptIfexist     “10“     “AlertMessage”

WriteToTextFile

This action allows users to write or append the text in the specified file.

Info

User performing this action should have write access to the corresponding file and folder.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

FilePath

Enter the absolute path to the file in which you want to make changes.

Yes

String

Text

Enter the content to be overwritten or appended.

Yes

String

Mode

Value of this parameter can be OVERWRITE or APPEND. If user keeps mode empty, it will be considered as append.

Yes

String

Example:
WriteToTextFile                  "C:\Users\Notepad.txt"          "Qualitia"            "A