...
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.
...
This action right-clicks at a definite location of the web page as specified by x and y coordinates. You cannot specify negative values to X and Y.
...
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
String X | The X co-ordinate of the location | Yes | String |
String Y | The Y co-ordinate of the location | Yes | String |
...
This action scrolls the Scrollbar of the web page to a definite location specified by x and y coordinates. You cannot specify negative values to X and Y.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
String X | The X co-ordinate of the location | Yes | String |
String Y | The Y co-ordinate of the location | Yes | String |
...
This action calculates the difference between two specified dates as per the number of days. The key value can be retrieved using the key name.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
startDate | Enter the start date, that is, the date which is lesser. | Yes | String |
startFormat | Enter the start date's date format. | Yes | String |
endDate | Enter the end date, that is, the date which is greater. | Yes | String |
endFormat | Enter the end date's date format. | Yes | String |
Key | Enter a key to store the the difference in date as per the number of days. | Yes | String |
...
This action selects the window using the URL address or URL pattern specified in the parameters.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
URL | Enter the URL address of the page you want to open. | Yes | String |
URL Pattern | Specify whether the URL is patterned or not. | No | String |
...
The action returns 0, if the key is pressed successfully else it will return 1 in any other case.
Note: If a PressKeys action does not execute on an Inactive Screen, refer to PressKeys Action does not Execute on an Inactive Screen.
...
The data to be passed here is only ^F. However ^ has a special meaning in QAS, it must be preceded with an escape sequence ~. Hence the data passed is written as ~^F.
Make sure to prefix an escape sequence which is a tilda for the following characters which has a special meaning in Qualitia. The characters are {,}, ^, ~
Example:
Code Block If key to be sent is {F1}, enter data as ~{F1~}.
Code Block To send {TAB}, enter data as ~{TAB~}.
Code Block To send {ENTER}, enter data as ~{ENTER~}.
Use the PressKeys action to send keystrokes to applications that have no automation interface. Most keyboard characters are represented by a single keystroke. Some keyboard characters are made up of combinations of keystrokes (CTRL+SHIFT+HOME, for example). To send a single keyboard character, send the character itself as the string argument. For example, to send the letter x, send the string argument "x".
You can use PressKeys to send more than one keystroke at a time. To do this, create a compound string argument that represents a sequence of keystrokes by appending each keystroke in the sequence to the one before it. For example, to send the keystrokes a, b, and c, you need to send as "abc". The PressKeys method uses some characters as modifiers of characters (instead of using their face-values). This set of special characters consists of parentheses, brackets, braces, and the:
plus sign "~{+~}",
caret "^", (use with an escape character [~])
percent sign "%"
tilde "~"
...
This action helps to convert the date and time provided by the user into the expected time zone.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
expectedTimeZoneID | Enter the zone ID in which you want to convert the date and time. Refer to the list below for the complete list of time zones (case-sensitive). | Yes | String |
currentTimeZoneID | Enter the current zone ID in which you are giving the date and time. Refer to the list below for the complete list of time zones (case-sensitive). | Yes | String |
dateTime | Enter the date and time that you want to convert in the expected time zone. | Yes | String |
dateTimeFormat | Enter the format in which you have given date and time format. Refer to the list below for the complete list of supported date and time formats (case-sensitive). | Yes | String |
key | Enter the key under which you want to store the date and time of the expected zone. Key value can be retrieved using the key name. | Yes | String |
...
Here is the complete list of date and time formats and their examples. Please note that these date and time formats mentioned herein are case-sensitive and should be used in the same way as mentioned in the table below.
Date Time Formats | Examples |
---|---|
dd-MM-yy | 31-01-12 |
dd-MM-yyyy | 31-01-2012 |
MM-dd-yyyy | 01-31-2012 |
yyyy-MM-dd | 2012-01-31 |
yyyy-MM-dd hh:mm:ss | 2012-01-31 23:59:00 |
yyyy-MM-dd hh:mm:ss.SSSZ | 2012-01-31 23:59:59.999+0100 |
EEEEE MMMMM yyyy HH:mm:ss.SSSZ | Saturday November 2012 10:45:42.720+0100 |
Info |
---|
You can create your own combinations and formats using the patterns mentioned here. These patterns mentioned herein are case-sensitive such as entering as dd-mm-yyyy instead of dd-MM-yyyy will result in wrong output. Ensure that you use them in a correct way in order to achieve the desired output. |
...
Here the CompareString action shall retrieve the value for the key (here Cancel) and compare it with the expected (here Cancel) with case sensitive comparison as True. The action will return 0, if the strings match else it will return 2 if the strings do not match. It will return 1 in any other case (like an error).
PrintMessageinReport
This action helps you to print the desired message in Qualitia test case execution report.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
message | Enter the desired message you want to print into the Qualitia test case execution report. | Yes | String |
status | Values for this parameter can be Pass, Fail, Passed, Failed, Defect, and NotExecuted. Note: The value is not case-sensitive. | No | String |
...
Example:
To change date from 1st jan 2007 to 15 feb 2007 user can use 2 ways
Increment only the day value
dayValue = 45, monthValue = 0 , yearValue = 0
E.g.- ChangeDateAndStore "01-01-2007" "dd-MM-yyyy" "45" "0" "0" "key"Increment the complete date
dayValue = 14, monthValue = 1 , yearValue = 0
E.g.- ChangeDateAndStore "01-01-2007" "dd/MM/yyyy" "14" "1" "0" "key"
Hence the user can either give the exact end date or can give the no of days, months or years by which the date needs to be changed.
...
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
fileInputlocator | Enter the locator of the input box where the file is to be selected. | Yes | String |
locatorType | Enter the type of locator used for the locator of the file input object. | Yes | String |
filePath | Enter the absolute or relative path of the file. | Yes | String |
Example:
AttachFile "fileBox" "id" "c:/Folder/test.txt"
...
The file types supported are xml, xls, and txt. The valid extensions are
For text file - .txt
For xml file- .xml
For excel file- .xls
The Qualitia supports querying on the following database types:
...
Perform the following steps:
From the Qualitia client, select the associated project.
Click Settings > Project Configuration > Manage Dependent jar.
Enter the location of DB jar.
Click OK.
Connection to different databases
1. Mysql:
a. Driver - "com.mysql.jdbc.Driver"
b. Connection url - jdbc:mysql://localhost:portNo/databasename?useUnicode=True&characterEncoding=utf8"
i. Databasename -is the mysql database to which the user wishes to connect
2. Oracle:
a. Driver - "oracle.jdbc.driver.OracleDriver"
b. Connection url - "jdbc:oracle:thin:@servername or ip:portNo:Databasename"
i. Servername -is the name of the server .If the server is on local system, the server name is localhost. If the server is on remote system, the ip address of the remote server can be used.
ii. portNo – is the port which shall listen the database connections. The default port for oracle is 1521. If the user has configured a specific port for listening, then that port number should be used here.
iii. Databasename is the oracle database to which the user wishes to connect
3. SQLServer:
a. Driver - "com.microsoft.sqlserver.jdbc.SQLServerDriver"
b. Connection url - "jdbc:sqlserver://servername/ip:port;database=databasename;"
i. Servername -is the name of the server .If the server is on local system, the server name is localhost. If the server is on remote system, the ip address of the remote server can be used.
ii. portNo – is the port which shall listen the database connections. The default port for oracle is 1433. If the user has configured a specific port for listening, then that port number should be used here.
iii. Databasename is the sql server database to which the user wishes to connect
4. MSAccess using dsn:
a. Driver - "sun.jdbc.odbc.JdbcOdbcDriver"
b. Connection url - "jdbc:odbc:dsn_name
i. dsn_name -is the name of the dsn configured on the system . If multiple users are accessing the same dsn, then it needs to be configured on a shared path instead of local system path.
...
This action compares the database results in two files and displays only the difference in an Microsoft or a kingsoft Excel sheet. A link is generated in the log file. On clicking the link, the excel sheet opens in which the difference in the data is displayed. This action compares the following file types which contain DB results. These files contain the results after executing the queries using the actions "ExecuteQueryAndStoreInFile" or "StoreTableData". The supported file extension types are : txt, xml and xls.
text and text
text and excel
text and xml
xml and xml
xml and excel
excel and excel
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
sourceFile | Enter the source file to be used for the comparison. | Yes | String |
targetFile | Enter the target file against which you want to compare the source file. | Yes | String |
resultFileType | The file type in which the difference between the two results need to be displayed. The file type supported is: | No | String |
...
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
folderPath | The path where the file is to be download. Please check Table 1 "Parameter Mandate" to validate in the situation where this parameter will be mandatory. In case the parameter Mandatory; the user should take care that the folder path exists. The action does not validate whether the folder exist | Yes | String |
Filename | The filename of the downloadable file, to be given in case the user requires to give a specific name and not depend on the default name of the file. In case, the file already exists, similar window like below will appear. Such windows are not handled by the action. In case, the user does not provide this data, the action will pick the default file name available while downloading. | No | String |
locator | Enter the locator value. | Yes | String |
locatorType | Enter which locator type you want to use. It can be ID, Name, xpath, CSS and so on. | Yes | String |
Example:
...
Example DownloadFile "C:/ProgramData" "Qualitia" "DOWNLOAD SAMPLE DOC FILE" "Link"
...
Example:
AcceptDialogAndStoreMessage "AlertMessage"
ValidateStringSyntaxinFile
This action validates the data given in the specified JSON or XML file.
Input Parameters:
...
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 "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:
...
ValidateSyntaxInFile
This action validates the data given in the specified JSON or XML file.
Input Parameters:
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:
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.
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 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 |
...
StorePageSource "PageSource"
StoreWindowHandleAtIndex
This action fetches the handle (identifier) of the specified window in the index and stores under the specified key. This key can the be used in action like SelectPage and ClosePopupBrowser to work on the specific page. This action can be used when the name of the window on which user needs to work on is not known.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
strKey | Enter the key name to store the window handle. | Yes | String |
index | Enter the index of the page whose handle you want to store. | Yes | String |
Example :
StoreWindowHandleAtIndex "Key" "4"
SwitchWebExecutionPlatform
...
WaitForNumberofWindowsToBe
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 |
Example:
WaitForNumberOfWindowsToBe "3" "10" "500" "Key" "Defect"
...
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 |
Info |
---|
This action has some undefined behavior when values provided in the parameter are outside the allowed range depending on the device resolution or browser driver being used. |
Example:
SetWindowSize "1344" "689"
...
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 |
...
StoreWindowSize "Height" "Width"
SetWindowPosition
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.
| 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 |
...
StorePageSource "PageSource"
StoreWindowHandleAtIndex
This action fetches the handle (identifier) of the specified window in the index and stores under the specified key. This key can the be used in action like SelectPage and ClosePopupBrowser to work on the specific page. This action can be used when the name of the window on which user needs to work on is not known.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
strKey | Enter the key name to store the window handle. | Yes | String |
index | Enter the index of the page whose handle you want to store. | Yes | String |
Example :
StoreWindowHandleAtIndex "Key" "4"
SwitchWebExecutionPlatform
...
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 |
...
StoreWindowSize "Height" "Width"
SetWindowPosition
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 |
...
Enter 0 if you want to store the empty string.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Key | Enter the key name under which you want to store the specified number of characters. | Yes | String |
InputString | Enter the input string from which you want to store the characters. | Yes | String |
Length | Specify the number of characters you want to store under the key name. Enter 0 if you want to store an empty string. | Yes | String |
Example:
StoreStringFromLeft "Key" "John Doe" "4"
In this case, this action stores the value of Key as John.
StoreSqRoot
This action stores the square root of the specified number under the key. The stored key value can be retrieved using the key name.
...
This action compares two images. The file extension and resolution of both the images (source and target) should be same, otherwise, the step will fail.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
SourceImagePath | Enter the absolute path to the source image which you want to compare. | Yes | String |
TargetImagePath | Enter the absolute path to the target image with which you want to compare the source image. | Yes | String |
Example:
IMAGE.CompareTwoImages “C:\Users\Qualitia\Cust_Sign.png” “C:\Users\Qualitia\Cust_Logo.png”
...
This action modifies the date interval based on the data provided by the user and stores the modified date in the specified key. The key value can be retrieved using the key name.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Inputdate | Enter the date to which you want to add the interval. | Yes | String |
Interval | Enter the interval which you want to modify. Value for this parameter can be as follows:
| Yes | String |
Data | Enter the number of intervals you want to add to the input date. The number can be positive for future dates and negative for dates in the past. | Yes | String |
Key | Enter the key name under which you want to store the modified date. The key value can be retrieved using the key name. | Yes | String |
Example:
Data.StoreModifiedDate “02/28/2001” “yyyy” “20” “Key”
...
This action modifies format of the date and time based on the format specified by the user and stores the date and time in the modified format under the specified key. The key value can be retrieved using the key name.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Inputdate | Enter the date whose format you want to change. | Yes | String |
Interval | Enter the value for the format you want to update the date into. Value for this parameter can be as follows:
| Yes | String |
Key | Enter the key name under which you want to store the modified date. The key value can be retrieved using the key name. | Yes | String |
Example:
Date.ChangeDateFormat “02/28/2021” “1” “Key”
...
This action adds specified value or a set of values into the specified row of the Microsoft excel file.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
filePath | Enter absolute path to the Excel file. | Yes | String |
sheetname | Enter the sheet name from the Excel file in which you want to add the values. | Yes | String |
rowNumber | Enter the row number in which you want to add the value. | Yes | String |
column | Enter the column ID or column name in which you want to add the value in the following format. | Yes | String |
data | This is the data to be added to the specified Excel row. In case you are statically creating an array, values should be separated by caret (^). | Yes | Array |
overWrite | Specify whether you want to overwrite the existing data or you want to add another row to add this data. Values for this parameter can be as follows:
| No | String |
...
This action adds the specified value or a set of values into the specified column of the Microsoft Excel file.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
filePath | Enter absolute path to the Excel file. | Yes | String |
sheetname | Enter the sheet name from the Excel file in which you want to add the values. | Yes | String |
rowNumber | Enter the row number in which you want to add the value. | Yes | String |
Column | Enter the column ID or column name in which you want to add the value in the following format. | Yes | String |
Data | You need to add the data in the specified Excel row. In case you are statically creating an array, values should be separated by caret (^). | Yes | Array |
Overwrite | Specify whether you want to overwrite the existing data or you want to add another row to add this data. Values for this parameter can be as follows:
| No | String |
...
This action stores the total number of columns present in the specified sheet of Microsoft Excel.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
filePath | Enter absolute path to the Excel file. | Yes | String |
sheetname | Enter the sheet name from the Excel file from which you want to store the column count. | Yes | String |
ignoreBlankColumn | Specify whether you want to ignore the blank columns while calculation.
| No | Boolean |
Key | Enter the key name under which you want to store the value. | Yes | String |
...
This action stores the total number of rows present in the specified sheet of Microsoft Excel.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Key | Enter the key name under which you want to store the value. | Yes | String |
filePath | Enter the absolute path to the Excel file. | Yes | String |
sheetname | Enter the sheet name from the Excel file from which you want to store the row count. | Yes | String |
ignoreBlankRows | Specify whether you want to ignore the blank rows while calculation.
| No | String |
...
Excel.StoreRowCount “Key” “D:\TrainingStatus.xlsx” “Sheet1” “True”
Excel.
...
StoreCoumnDataOccurrance
This action stores the occurrence of the specific value into the specified column.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type | ||
---|---|---|---|---|---|
filePath | Enter absolute path to the Excel file. | Yes | String | ||
sheetname | Enter the sheet name from the Excel file in which you want to check for the data. | Yes | String | ||
ColumnNumber | Enter the column ID or column name in which you want to add the value in the following format. | Yes | String | ignoreBlankColumn | Specify whether you want to ignore the blank columns while calculation.
|
Data | Enter the data in the specified Excel row. In case you are statically creating an array, values should be separated by caret (^). | Yes | String | ||
Key | Enter the key name under which you want to store the occurrence. | Yes | String |
...
This action is used to compare two text files to validate whether their content is same.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
File1 | Enter the absolute path to the source file from which you want to compare the content. | Yes | String |
File2 | Enter the absolute path to the target file with which you want to compare the source file content. | Yes | String |
CaseSensitive | Enter whether you want to consider case-sensitivity when comparing content. Value for this parameter can be True or False.
| Yes | String |
IgnoreWhitespace | Enter whether you want to consider whitespaces when comparing file contents. Value for this parameter can be True or False.
Note: Only leading and trailing whitespaces will be ignored if you set this parameter to True. Whitespaces inside the content will not be considered. | Yes | Boolean |
...
This action stores the total number of characters present in the specified text file.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
FilePath | Enter the absolute path to the file from which you want to store characters. | Yes | String |
Key | Enter the key name in which you want to store the character count. | Yes | String |
IgnoreWhitespace | Enter whether you want to consider whitespaces when storing character count. Value for this parameter can be True or False.
Note: A space or a tab is counted as one character. | Yes | String |
Example:
FILE.StoreCharacterCount “C:\Users\admin\Downloads\Cust_Info.txt” “Key” “True”
...
This action stores data from the specified row of the specified text file in the key. The key value can be retrieved using the key name.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
FilePath | Enter the absolute path to the file from which you want to store data. | Yes | String |
RowNumber | Enter the row number from which you want to get and store the data. | Yes | String |
Key | Enter the key name in which you want to store the data. | Yes | String |
Example:
FILE.StoreStringByLineNumber “C:\Users\admin\Downloads\Cust_Info” “2” “Key”
...
This action verifies whether the specified data exists in the specified text file.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
FilePath | Enter the absolute path to the file in which you want to verify data. | Yes | String |
Data | Enter the data which you want to verify in the file. | Yes | String |
CaseSensitive | Enter whether you want to consider case-sensitivity when verifying data. Value for this parameter can be True or False.
| Yes | String |
Example:
FILE.VerifyStringExistInFile “C:\Users\admin\Downloads\Cust_Info” “Qualitia” “True”
...
This action verifies the existence of the specified file at the specified location.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
FilePath | Enter the absolute path to the file which you want to verify. | Yes | String |
Example:
File.VerifyFileExist “C:\Users\admin\Downloads\Cust_List.txt”
...
This action verifies the existence of the specified folder at the specified location.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
FolderPath | Enter the path to the folder which you want to verify. | Yes | String |
Example:
File.VerifyFolderExist “C:\Users\admin\Downloads\Cust_Info”
...
This action verifies whether the array is sorted in ascending/descending order.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
array data | The array to be verified for ascending or descending order. | Yes | Array |
datatype | This is the type of data considered for testing. Supported data types are | Yes | String- |
direction | The way the data are to be sorted, i.e. in either ascending or descending. Supported directions are: | Yes | String |
Example:
IsArraySorted "0^1^4^10" "Integer" "1"
...
Before executing this action, ensure you:
Add XPDF tools directory to system path environment variables.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
pdfFile | Enter the absolute path to the PDF file in which you want to find the text. | Yes | String |
textToFind | Enter the text you want to find in the specified PDF file. | Yes | String |
Example:
PDF.VerifyStringExistInPDF “C:\Users\Qualitia\Cust_List.pdf” “Qualitia”
...
Before executing this action, ensure you:
Add XPDF tools directory to system path environment variables.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
pdfFile | Enter the absolute path to the PDF file in which you want to find the text. | Yes | String |
textToFind | Enter the text you want to find in the specified PDF file. | Yes | String |
pageNumber | Enter the page number on which you want to search the specified text. | Yes | String |
Example:
PDF.VerifyStringExistInPDFPage “C:\Users\Qualitia\Cust_List.pdf” “Qualitia” “2”
...
Before executing this action, ensure you:
Add XPDF Tools and GnuWin installation directory to system path environment variables.
For example: D:\XPDF\xpdf-tools-win-4.00;C:\Program Files (x86)\GnuWin32\bin
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Pdf1 | Enter the absolute path to the PDF file which you want to compare. | Yes | String |
Pdf2 | Enter the absolute path to the PDF file with which you want to compare the source file. | Yes | String |
diffFilePath | Enter the absolute path to the text file in which you want to store the PDF comparison results. | Yes | String |
Example:
PDF.ComparePDF “C:\Users\Qualitia\Cust_List.pdf” “C:\Users\Qualitia\Client_List.pdf” “C:\Users\Qualitia\Diff.txt”
...
WaitForNumberofWindowsToBe
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.
Info |
---|
Note:
|
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 |
Example:
WaitForNumberOfWindowsToBe "3" "10" "500" "Key" "Defect"
...
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.
Info |
---|
Note:
|
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
JavaScriptString | Enter the JavaScript code to run. | No | 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.
Info |
---|
Note:
|
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.
Info |
---|
Note:
|
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.
Info |
---|
Note:
|
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.
Info |
---|
Note:
|
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.
Info |
---|
Note:
|
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.
Info |
---|
Note:
|
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.
Info |
---|
Note:
|
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 |
...
Info |
---|
Note:
|
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 |
...
Info |
---|
Note:
|
Input Parameters:
Parameter Name | Parameter Description | MandatoryacceptOrDismiss | Data Type |
---|---|---|---|
acceptOrDismiss | Values for this parameter can be: accept or dismiss.
| 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 waits for the page to prompt an alert. After the alert is prompted, it stores the alert text in the variable. You may specify the timeout if required. After storing the required text, It clicks the OK button on the alert/prompt/confirmation pop up.
Info |
---|
Note:
|
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Timeout | Seconds to wait for an alert to display on the screen.. | No | String |
Key | Key name under which the alert message will be stored. | 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