This page contains actions that are specific to automate Desktop applications. Also, you can use all the actions defined for General Web Actions.
OpenFirefoxBrowser
This action opens a new blank Mozilla Firefox browser.
...
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Browser Type | Enter the browser name in which you want to open the URL. Parameters can be as follows:
| Yes | String |
URL | Enter the URL to be opened. | Yes | String |
Browser version | Enter the major and minor version of the browser installed on testing machine. For example, if browser version is 54.9.0.3323, then enter only 54.9. | No | String |
Path | This parameter is applicable only when using Google Chrome browser. Enter the absolute path of the chrome.exe from the Google Chrome installed location. | No | String |
Example:
OpenURL “Chrome” “http://www.google.com” “53.8” “C:\Program Files\Google\Chrome\Application\chrome.exe”
...
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.
...
StoreSplitString "StoreItem" "This is ; a sample ; String" ";" "2 "
StoreSubString (Deprecated)
This action stores a substring of a string into a variable. The key value can be retrieved using the key name.
...
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
DriverString | The DriverString is a combination of driver and database details which helps automation tool to connect to the database. You must provide details in specified format as follows: DRIVER=~{<DriverName>~};Server=<ServerIP/HostName,PortNumber>; Database=<DBName>;UID=<DBUsername>;PWD=<DBPassword> | Yes | String |
Query | The query that needs to be executed. | Yes | String |
Key | Enter the key under which you want to store the results. Key value van be retrieved using the key name. | Yes | String |
Example:
MySQL:
DB.ExecuteDDLQueryandStoreDatainKey “DRIVER=~{MySQL ODBC 5.3 ANSI Driver~};Server=192.168.24.99,1234; Database=ProductInfo;UID=Qualitia; PWD=Qualitia”
"select * from productinfo.keyword where keywordid = 'c0ab6ad8f67234b'" "ProductInfo"
MS SQL:
DB.ExecuteDDLQueryandStoreDatainKey “DRIVER=~{SQL Server~}; Server=192.168.24.99,1234;Database=ProductInfo UID=Qualitia;PWD=Qualitia”
...
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
filePath | Enter the absolute path of the application or file which you want to run or open. | Yes | String |
AppParameters | If the filePath contains path to the executable file, enter the argument here to specify any parameters to be passed while opening the file. | No | String |
AppDirectoryPath | Enter the directory of the application or executable file. | No | String |
Operation | Specify the operation to performe after opening the application. You can specify following operations:
| No | String |
Mode | Enter the mode of the application or file to open. You can specify the integer value from the list below to open application in corresponding mode.
| No | Integer |
Example:
LaunchApplication "C:\Application.exe"
...
This action stores the value available in the specified cell. You can then use this data while developing tasks and test cases.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
filePath | Enter absolute path to the Excel file from which you want to get and store the value. | Yes | String |
sheetName | Enter the sheet name from the Excel file from which value is to be stored. | Yes | String |
rowNumber | Enter the row number of the cell from which you want to store the value. | Yes | String |
columnID | Enter the column ID or column name from which you want to store the value in the following format. | Yes | String |
Key | Enter the key name under which you want to store the value. The key value can be retrieved using the key name. | Yes | String |
...
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 |
ColumnID | 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 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 |
ColumnID | 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 | String |
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 |
...
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 |
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 | String |
Key | Enter the key name under which you want to store the occurrence. | Yes | String |
...
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”
...
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”
...
StoreSqRoot "144" "Key"
In this case, the 12 will be stored under key.
...
In this case, the last three characters i.e. Doe will be stored under the key name.
...