Versions Compared

Key

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

Clipboard.Copy

This action copies the data given into the parameter to clipboard.

...

Clipboard.Copy            "Qualitia Software Pvt. Ltd."

Clipboard.Clear

This action clears the data present on the clipboard memory.

This action does not have any input parameters.

Example:

Clipboard.Clear

CloseCurrentWindow

This action will close current window.  

...

Example:
CloseCurrentWindow

CheckExcelProcess

This action will check if the excel process is running.

...

Example:

CheckExcelProcess

ConcatString

This action will concatenate the two strings and stores result string into a variable. The key value can be retrieved using the key name.

...

ConcatString  “Hello“ “World” “Result”

ComparetwoStrings (Deprecated)

This action will compare two string values. As it is deprecated, Qualitia recommends using CompareString.

...

ComparetwoString  “hello“  “hello”

ComparetwoInt

This action compares two integer numbers. Even a key can be passed as one of the parameters for comparison where the ComparetwoInt function will retrieve the value from the key and that value will be compared with another integer.

...

ComparetwoInt  “123“  “234”

DragAndDropToObject

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

...

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.

...

It is recommended to close all the unnecessary browsers before starting the test execution or object spying using UFT.

NavigateForward

This action navigates the browser to the next page.

This action does not have any parameter.

Example:

NavigateForward

NavigateBack

This action navigates the browser to the previous page.

This action does not have any parameter.

Example:

NavigateBack

RandomString

This action takes input as list of characters from user and provides random string as output of a specified length.

...

RandomString  "32#$abd "            "12"      “abc”

ReplaceStringBySubString

This action replaces the specified part from the string with another string and stores the updated value into the specified key. The key value can be retrieved using the key name.

...

In this case,  the string Australia changes to Bustralia.

ReplaceAndStoreText

This action replaces a substring by another substring into a source string and stores the resulting string in the given key.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

SourceText

The complete path of the file to be executed.

No

String

TextToBeReplaced

Substring that is to be replaced from the SourceText.

No

String

TextToBeReplacedBy

Substring by which replacement is to be done.

No

String

IsCaseSensitive

Indicates case sensitive.

Yes

String

Key

Key in which final output will be stored.

Yes

String

Example:

ReplaceAndStoreText              "India"          "i"               "Z"          "True"         "key1"

The result string will be IndZa.

ReplaceSubString

This action replaces a substring of an original string with a specified string.

For example, if a string is "WELCOMEWELCOME" and if you want to replace the second occurrence of the substring "come" with “gone". Then, the new string generated is 'WELCOMEWELGONE".

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

MainString

The original string.

Yes

String

SubString

The substring of the original string.

Yes

String

 

ReplaceString

The new string with which the substring is to be replaced.

Yes

String

 

Soccurrence

The number of times the substring occurs in the original string.

Yes

String

 

Key

 

The resultant value is stored in the Key.

 

Yes

String

iscasesenstive

Enter as True if you want to replace only when the case of letters of specified occurrence and substring matches.

Enter as False if you want to replace irrespective of whether the case of letters of the specified occurrence and substring matches.

Note: The default value is True.

Yes 

 String

Example

ReplaceSubString “welcome” “come”  “gone”  “1”  "True" “abc”

RandomNumber

This action takes lower and upper limit of a range as integer input and gives an output of a random integer number within that range.

...

RandomNumber  "1"   "100"      

StorePageURL

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

...

StorePageURL                   "Key"

RightClickTo(String X, String Y)

This action right-clicks at a definite location of the web page as specified by X and Y co-ordinates. You cannot specify negative values to X and Y.

...

 Example: 
 String X = "100", String Y = "100". The right-click will occur at the location point (100,100).

ScrollTo(String X, String Y)

This action scrolls the Scrollbar of the web page to a definite location specified by X and Y co-ordinates. You cannot specify negative values to X and Y.

...

String X = "100", String Y = "100". The scrollbar scrolls to the location point (100 ,100).

StoreFixNumber

This action stores the integer part of a specified number into the specified key. The stored key value can be retrieved using the key name.

...

In this case, the variable Key stores the value to 6.

StorePageTitle

This action stores the web page title under the specified key. The stored value can be retrieved using the key name. 

...

StorePageTitle                   "Key"

StoreVariable

This action stores a particular string value under the specified key. This value can be used when developing test cases.  

...

StoreVariable                   "url"                     "http://www.bing.com/ "  

SecureStoreVariable

This action stores the specified value securely by encrypting it under the specified key. The key value can be retrieved using the key name.

...

When the focus is moved away from the data ABC, Qualitia will automatically encrypt the text to "vHpmlfI4R3PQJskt3nuqw==þNWE3ZDdkNjE3N2JmNDM2ODgxMzQwYWI1MTA3YWNjMDc="

CalculateDifferenceInDateAndStore

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 difference in date as per the number of days.

  Yes

String

Info

Interval: The interval parameter can have the following values:

Example:
CalculateDifferenceInDateAndStore      "Key"            "D"        "01-Jan-2021"      "28-Feb-2021"

Sleep

This action adds the delay during execution for the given period of time (in seconds).

...

Example:
Sleep                   "20"

SelectPage

This action helps Qualitia users to move focus from one window/page to another as per the test case requirements. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

windowName

Enter the name of the window which you want to select. You may use "NULL" to select the main window.

No

String

Example:
Select Page                            "Name"

SelectWindowUsingURL

This action selects the window using the URL address or URL pattern specified in the parameters.

...

SelectWindowUsingURL                      "www.google.com"                    "False"

ClosePopUpBrowser

This action closes the popup that appears on the web page. 

...

Example:
ClosePopUpBrowser                   "viewPage"

PressKeys

This action sends one or more keystrokes to the active window (as if typed on the keyboard).

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

strKey

Enter the key which you want to press from the keyboard. 

Yes

String

Example:

To open the Find dialog on the browser, which is done manually using Ctrl + F.  While using the PressKeys action, the data to be passed is ~^F where ^ means Control.

...

  • The only keystroke pattern you can send is the kind that is comprised of a single keystroke pressed several times. For example, you can send "x" ten times, but you cannot do the same for "Ctrl+x".

  • You cannot automate the PRINT SCREEN key ~{PRTSC~} to an application.

  • To send a space, enter the string " ".

StoreDateTimeByZone

This action helps to convert the date and time provided by the user into the expected time zone.

...

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. 

StoreSubStringNew

This action stores a sub string of a string into a variable. The key value can be retrieved using the key name. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

The variable in which the sub-string is to be stored.

Yes

String

sourceString

Enter the string whose sub-string value is to be stored.

No

String

startIndex

Enter the index of the string from where the sub-string is to be fetched.

No

String

endIndex

The number of characters required in the string.

No

String

Example:
StoreSubStringNew                   "resultSubString"            "This is a test"                "2"                  "4"

StoreSubStringFromIndexForLength

The action stores the substring of a string from a specific index up to any number of characters that you want. The indexing starts from 1.

...

The variable Key stores the value as come.

StoreStringToInteger

This action converts the provided string to the integer value and stores it into the specified key. The key value can be retrieved using the key name.

...

StoreStringToInteger            "Key"          "20"

StoreStringLength

This action increments the string length by the value specified by the user and stores it into a variable.

...

Example:
StoreStringLength                             "length"                      "This is a test"            "3"

CompareString

This action compares two strings without trimming the spaces. The comparison can be either case-sensitive / non-case-sensitive. Even a key can be passed as one of the parameters for comparison where the CompareString function will retrieve the value from the key and that value will be compared with expected.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

actualString

Enter the string value that you want to compare. You can pass the key name here enclosed in braces.

No

String

excpectedString

Enter the expected string value against which the actualString will be compared. You can pass the key name here enclosed in braces.

No

String

caseSensitive

Specify the kind of comparison; case-sensitive or case-insensitive.

  • Set True for case-sensitive comparison. 

  • Set False for case-insensitive comparison.
    Note: If you do not specify, by default, True is considered

No

String

CompareString           "{key}"           "Cancel"          "True"

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).

Info

Even if there is no parameter data present for Action CompareString, the execution report will show it as pass.

PrintMessageinReport

This action helps you to print the desired message in Qualitia test case execution report. 

...

PrintMessageInReport         "Test case executed successfully without fail."                "Passed"

VerifyStringContainsValue

This action verifies whether a specific substring is present in the main string. Comparison can either be case-sensitive or case-insensitive.

...

Empty and null main string as well as substrings are not  verified by this action.

ComparePattern

This action compares the data passed by user and verifies that it matches the pattern specified by the user.  

...

Special characters and sequences are used in writing patterns for regular expressions. For a complete list of the regular expression syntax visit the VBScript syntax Guide for Regular Expressions.

CompareSubStringPattern

This action verifies whether a string or any of its substring is defined in the desired pattern that you want.

Info

To specify the desired pattern, you can use https://www.regexr.com to validate with the sample strings.

 

Parameter Name

Parameter Description

Mandatory

Data Type

strPattern

Enter the desired pattern for the substring. If you want to match the pattern with whole string, then append '^' at the beginning and '$' at the end of the string.

Yes

String

strData

Enter the string that you want to compare with the desired pattern.

Yes

String

caseSensitive

Specify the kind of comparison:

  • Set True for case-sensitive comparison.

  • Set False for case-insensitive comparison.

Note: The default value is True.

No

String

The action returns the following values:

...

CompareSubStringPattern ~^[a-z]~{0,5~}[0-9]~{5~}$ YuIFp96062 True
In this case, the action matches the complete string with the specified pattern where it does not match. Hence, the action will return Defect.

VerifyDataType

This action verifies if the data type is numeric or string.

...

VerifyDataType "4.78" "numeric"
This shall verify if 4.78 is numeric
VerifyDataType "This is a test" "string"
This shall verify if "This is a test" is a string
Anything which is not numeric shall be considered as a string.
Example: "Enter 123", "23/02/20" etc. shall be considered as a string.

VerifyDifference

This action verifies the difference between two integer values and validates it with the expected difference value.

...

Example:
VerifyDifference                       "30"                 "40"               "10"

StoreSplitString

This action splits the string based on the specified delimiter character and stores the value that is contained between its previous occurrence of the delimiter into a variable. If there are n delimiters, then there are  (n+1) substrings.

...

In this example, the delimter is =, as there are multiple occurrences of =in the mainString,,  after this action is executed, the text between 2nd and 1st delimiter character that is QASM will be stored under the specified key spaceKey.

MaximizeBrowser

This action maximizes the browser.

This action does not have any parameter. 

Example:

MaximizeBrowser

SelectFrame

This action selects a frame within the current window.

...

SelectFrame                        "mainFrame"               "name"

SelectFrameUsingUrl

This action is used to select a frame irrespective of the frame hierarchy. The frame can be either be an iframe or a normal frame, which are defined in html by <iframe> and <frame> tag respectively.

...

The SelectFrameUsingUrl action will select first frame from the frame hierarchy which is found as per the regex pattern.

StoreCurrentDateInFormat

This action stores the current date in the specified format under the key name. The key value can be retrieved using the key name. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Format

Enter the format which you want to use to save the date. Use DD for day, MM for month and YYYY for year. 
For example: dd/MM/yyyy , MMM/dd/yyyy , dd-MM-yyyy etc 
dd = day 
MM = month represented as 01,02,03 etc 
MMM = month represented as Jan. Feb, Mar etc 
yyyy = year

Yes

String

key

Enter the key name under which the current date will be stored.

Yes

String

Example:
StoreCurrentDateInFormat                             "MM-dd-yyyy"                "currentDateKey"

StoreDateInFormat

This action stores the date provided by the user in a specific format under the key. The key value can be retrieved using the key name.

...

Example:
StoreDateInFormat                      "30/Jan/2009"                    "dd/MMM/yyyy"               "dd-MMM-yyyy"             "Datekey"

TrimAndStoreText

This action trims the preceding and succeeding spaces and stores the resulting string in the given key.

...

Suppose, you give the strText as "John Doe" to store the final string inside the key "FullName". End of the execution, John Doe will be stored in the key FullName.

TrimAndCompareString

This action compares two strings. The comparison can be either case-sensitive/non case-sensitive. Even a key can be passed as one of the parameters for comparison where the TrimAndCompareString function will retrieve the value from the key and that value will be compared with expected. The spaces of both the strings are trimmed before comparing.

...

TrimAndCompareString      “Hello “     “ hello ”    “True”

VerifyDates

This action performs comparisons between two dates for various operations (equality, inequality, greater than, less than).

...

Macro lookup error: excerpt "DateTimeFormatSupported" was not found on page "General Web Actions" (with ID 34394177967) in space "QASNew".

ChangeCaseAndStore

This action changes the case of the provided string and stores the final value into the specified key. The key value can be retrieved using the key name.

...

ChangeCaseAndStore                "Key"               "Qualitia"             "Upper"

ChangeDateAndStore

This action modifies the day/month/year by the number specified by the user and stores the resulting date under the specified key in the same format as the input date. The key value can be retrieved using the key name.

...

Hence, the user can either give the exact end date or can give the number of days, months, or years by which the date needs to be changed.

CalculateDifferenceInDatesAndStore

This action calculates the difference in days between the two specified dates and stores the difference under the specified key. The key value can be used using the key name.

...

Example:
CalculateDifferenceInDatesAndStore                             "24-Jan-2007"                    "dd-MMM-yyyy"                     "01/26/2007"                      "MM/dd/yyyy            "diffKey"

VerifyDialogExistence

This action verifies if any dialog of the type alert/prompt/confirmation exists on the browser.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

existence

Value of this parameter can be True or false.

  • Set True if you want to check for the presence.

  • Set False if you want to check for the absence.

No

String

Example:
VerifyDialogExistence                       "True"

AcceptDialog

This action clicks OK on the alert/prompt/confirmation pop up.

This action does not have any parameter.

Example:
AcceptDialog

DismissDialog

This action cancels the alert/prompt/confirmation pop up.

This action does not have any parameter.

Example:
DismissDialog

StoreDialogText

This action stores the message from the alert/prompt/confirmation pop up under the specified key. The key value can be retrieved using the key name.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

Enter the key name under which you want to save the message.

Yes

String

Example:

StoreDialogText               "message"

ExecuteFile

This action executes the batch file specified by the user.

...

Example:
ExecuteFile                     "C:\test\batchfile1.bat"

AttachFile

This action sets a file path in the file object type in html. This action is applicable only for desktop web application.

...

Info

 If you want to upload a file using an object, refer to AttachFile action as described in WebFile Actions.

ExecuteQueryAndStoreInFile

This action executes data manipulation queries like select and stores the result into a file.

...

 
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 

...

Example
ExecuteQueryAndStoreInFile "oracle.jdbc.driver.OracleDriver" "jdbc:oracle:thin:@localhost:1521:orcl" "scott" "tiger" "select * from test_table where id = 100" "C:\DBResults\XML\ORACLE\Result.xml"

ExecutQueryAndStoreInKey

This action executes data definitions queries like update, delete and stores the result into a key.

...

 
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 

...

Example:
ExecuteQueryAndStoreInKey "oracle.jdbc.driver.OracleDriver" "jdbc:oracle:thin:@localhost:1521:orcl" "scott" "tiger" "delete from test_table where id = 100" "Resultkey"

CompareTabularResults

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.

...

Example
CompareTabularResults             "C:\DBResults\XML\ORACLE\Result.xml"                 "C:\DBResults\Excel\ORACLE\Result.xls"                     "MSExcel"

ComputeExpression

This action evaluates mathematical, relational, logical operations and stores the result under the specified key. The key value can be retrieved using the key name.

...

Logical Expression
ComputeExpression             "10*2+1>19&10*2+2<23'"     "Result"

CompareArray

This action compares two arrays for equalityto check if they are equal.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

actualArray

Enter the array which you want to compare. Array items are separate by carat (^) sign.

No

Array

excpectedArray

Enter the expected array against which you want to

com[are

compare the actual array.

Array items are separate by carat (^) sign.

No

Array

match

This parameter specifies the type of comparison to be done. It can be one of the following: 

  • Exact – This will compare the items of the array for exact match that is size of the two arrays should match. The sequence in which the items occur in the arrays should match. This is a one to one comparison. 

  • Partial- This compares if the second array is a sub-list of the first. The sub-list items in the second array need not be in the same sequence as they appear in the first array. However, it is not vice versa, that is, it will not check if the first array is a sub-list of the

seconds
  • second array. In this case, the action will fail.

No

String

Example:
CompareArray  "1^2^3^4" "1^2^3^4"             "exact"
CompareArray  "1^2^3^4^5^6" "2^1^3^4"      "partial"

StoreWindowHandle

This action fetches the handle (identifier) of a window 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.

...

OpenUrl                                 "http://www.google.com"
StoreWindowHandle            "mainapplicationWindow"

ExitTask

This action skips the execution of the next step and continue executing the next task. 

...

This action does not have any parameter.

Example:

ExitTask

ExitTCIteration

This action skips the execution of the current iteration of test case and execute next iteration. In case of a single TC Iteration the test case execution will stop.

This action does not have any parameter.

Example:

ExitTCIteration

ExitSuite

This action stops the execution of the test suite and no further test cases will be executed.

This action does not have any parameter.

Example:

ExitSuite

VerifyLinkOnPage

This action verifies if there is any hyperlink exists on the page.

...

Example:
VerifyLinkOnPage                    "AdvancedSearch"

StoreChildCount

This action stores the child count for the specified locator. The action counts the last element in the Xpath which are placed inside the parent hierarchy. The child elements to be counted can be immediate children/descendants. The user should pass relevant Xpath to achieve children/descendants count.

...

Example
StoreChildCount                      "//table[@id='12']/tbody/tr/td/div"         "Key"

DownloadFile

This action clicks the link or element that opens a download window, which is used to download the files.  You need to handle the action externally as it does not wait until the file is downloaded.

...

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"

RefreshPage

This action simulates the refresh operation on the currently selected page.

This action does not have any parameter. 

Example:

RefreshPage

DeleteCookiesOnCurrentDomain

This action deletes all the cookies that are visible to the current domain. This action does not have any parameter. 

...

Example:
DeleteCookiesOnCurrentDomain

AcceptDialogAndStoreMessage

This action accepts the dialog appeared on the Web page and stores the message under the specified key. 

...

Example:
AcceptDialogAndStoreMessage                  "AlertMessage"

ValidateSyntaxInFile

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

...

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 the 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.

...

Example:
WriteToBuildProperty             "propertyName"                 "propertyValue"

WindowsAuthenticationLogin

This action is required to add authentication details in the window to log into the application.

...

WindowsAuthenticationLogin                      "http://www.abc.com"               "testuser1"        "passwduser1"

NoOps

This is a placeholder action and cannot be executed. Qualitia selects this action for the steps present under the activity when auto-populating test case.

...

When executing test cases with this action, test cases will be failed to notify Qualitia users about replacing such actions.

MinimizeWindow

This action minimizes the window.

This action does not have any parameter. 

Example:

MinimizeWindow

SetPageLoadTimeout

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

...

SetPageLoadTimeout             "20"

StorePageSource

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

...

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.

...

StoreWindowHandleAtIndex              "Key"                   "4"

SwitchWebExecutionPlatform

This action changes the current Web execution platform from Desktop to Mobile. When used, web application test case will run on specified platform.

...

SwitchWebExecutionPlatform                        "Mobile"

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.

...

WaitForNumberOfWindowsToBe       "3"         "10"      "500"       "Key"     "Defect"

SetWindowSize

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

...

SetWindowSize          "1344"             "689"

StoreWindowSize

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

...

StoreWindowSize          "Height"             "Width"

SetWindowPosition

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

...

SetWindowPosition          "123"             "232"

StoreWindowPosition

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

...

StoreWindowPosition          "XCordinateValue"             "YCordinateValue"

SetFullScreen

This action sets the browser in the full screen mode. 

This action does not have any parameter.

Example:

SetFullScreen

ClickAndHold

This action clicks (without releasing) at the current mouse location.

This action does not have any parameter.

Example:

ClickAndHold

DoubleClick

This action performs a double click action at the current mouse location.

This action does not have any parameter. 

Example:

DoubleClick

RightClick

This action performs a right-click action at the current mouse location.

...

Info

Selenium requires a click action to be performed in case this (RightClick) action is used two times in a single test case. In case you do not use any click action between two RightClick actions, the second instance of the RightClick will not be visible.

Example:

RightClick

SelectFrameByIndexWhenAvailable

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.

...

SelectFrameByIndexWhenAvailable       "3"         "10"      "500"       "Key"     "Defect" 

WaitForJavaScriptReturnsValue

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

Example:

WaitForJavaScriptReturnsValue       "return eval('2-1');"    "key"      "10"      "500"       "Key"     "Defect"  

WaitForJavaScriptThrowsNoExceptions

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

...

WaitForJavaScriptThrowsNoExceptions       ""          "10"      "500"       "Key"     "Defect"  

WaitForTitleContains

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.

...

WaitForTitleContains      "Qualitia"          "5"          "500"        "Key"        "Defect"

WaitForTitleNotContains

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.  

...

WaitForTitleNotContains      "Qualitia"          "5"          "500"        "Key"        "Defect"

WaitForTitleToBe

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.

...

WaitForTitleToBe      "Qualitia"          "5"          "500"        "Key"        "Defect"

WaitForTitleNotToBe

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.  

...

WaitForTitleNotToBe      "Qualitia"          "5"          "500"        "Key"        "Defect"

WaitForURLContains

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.  

...

WaitForURLContains      "OAuth%9"          "5"          "500"        "Key"        "Defect"

WaitForURLNotContains

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.  

...

WaitForURLNotContains      "OAuth%9"          "5"          "500"        "Key"        "Defect"

WaitForURLToBe

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.  

...

WaitForURLToBe      "https://google.co.in"          "5"          "500"        "Key"        "Defect"

WaitForURLNotToBe

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.  

...

WaitForURLNotToBe      "https://google.co.in"          "5"          "500"        "Key"        "Defect"

WaitForURLPattern

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.  

...

WaitForURLPattern      "http[s]:\/\/www\.mysite\.com.*"          "5"          "500"        "Key"        "Defect"

WaitForAlertAndSendText

This action waits for the page to prompt an alert. After the alert is prompted, you can send the text specified in the parameter. You may specify the timeout and polling interval, if required.

...

WaitForAlertAndSendText      "Qualitia"          "5"          "500"        "Key"        "Defect"

WaitForAlertAndSpecifyBehavior

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.

...

WaitForAlertAndSpecifyBehavior      "accept"          "5"          "500"        "Key"        "Defect"

MinimizeWindow

This action minimizes the window.

This action does not have any parameter. 

Example:

MinimizeWindow

SetPageLoadTimeout

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

...

SetPageLoadTimeout             "20"

StorePageSource

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

...

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.

...

StoreWindowHandleAtIndex              "Key"                   "4"

SwitchWebExecutionPlatform

This action changes the current Web execution platform from Desktop to Mobile. When used, web application test case will run on specified platform.

...

SwitchWebExecutionPlatform                        "Mobile"

SetWindowSize

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

...

SetWindowSize          "1344"             "689"

StoreWindowSize

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

...

StoreWindowSize          "Height"             "Width"

SetWindowPosition

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

...

SetWindowPosition          "123"             "232"

StoreWindowPosition

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

...

StoreWindowPosition          "XCordinateValue"             "YCordinateValue"

SetFullScreen

This action sets the browser in the full screen mode. 

This action does not have any parameter.

Example:

SetFullScreen

ClickAndHold

This action clicks (without releasing) at the current mouse location.

This action does not have any parameter.

Example:

ClickAndHold

DoubleClick

This action performs a double click action at the current mouse location.

This action does not have any parameter. 

Example:

DoubleClick

RightClick

This action performs a right-click action at the current mouse location.

...

Info

Selenium requires a click action to be performed in case this (RightClick) action is used two times in a single test case. In case you do not use any click action between two RightClick actions, the second instance of the RightClick will not be visible.

Example:

RightClick

SelectFrameByIndexWhenAvailable

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.

...

SelectFrameByIndexWhenAvailable       "3"         "10"      "500"       "Key"     "Defect" 

AnswerForNextDialog (Deprecated)

This action sets the input as the answer for the next prompt. After setting the answer, webdriver by default may cancel the prompt.

...

AnswerForNextDialog           "Hello"

StoreSubString (Deprecated)

This action stores a substring of a string into a variable. The key value can be retrieved using the key name. 

...

Example:
StoreSubString                   "resultSubString"            "This is a test"                "2"                  "4"

StoreRandomAlphanumericString

This action generates any random alphanumeric string for a specific length that you want and stores the random value for the specified key. 

...

StoreRandomAlphanumericString               "Key"                       "10"

StoreRoundNumber

This action stores values specified by the user by rounding them off to the nearest whole number. The rounded off value stored in the key can be retrieved using the key name.

...

  • In this case, 7 will be stored into the key.

StoreRandomNumber

This action picks up any random number from the specified range and stores that number in the specified key. The key value can be retrieved using the key name.

...

StoreRandomNumber        “123”         “890”        “Key”

StoreStringConcat

This action concatenates (combines) two strings specified by the user and stores into the specified key. The key value can be retrieved using the key name.

...

StoreStringConcat                "String1"          "String2"        "Key"

StoreRandomString

This action generates and stores any random string of the specified length into the key. The key value can be retrieved using the key name.

...

StoreRandomString               "Key"                    "23"

StoreStringFromRight

This action stores the specified number of characters from the right side of the given string. The stored key value can be retrieved using the key name.

...

In this case, the last three characters, that is, Doe will be stored under the key name.

StoreStringFromLeft

This action stores the specified number of characters from the left side of the given string. The key value can be retrieved using the key name.

...

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.

...

In this case, the first four characters i.e. Jonn will be stored under the key name.

StoreIntegerSign

This action stores an integer that indicates sign of the number specified in the parameter. The key value can be retrieved using the key name.

...

If you enter a negative integer, in this case, the -1 will be stored under key because the number is lesser than 0.

StoreAbsoluteValue

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

...

In this case, the 3.6 will be stored under key.

StoreMatchesFromRegExPattern

This action fetches all the matches of a regular expression pattern from an InputString and stores the array of all the matches into the specified key. The key value can be retrieved using the key name.

...

StoreMatchesFromRegExPattern                  "Cust1(\d?)"               "CustKey1 CustKey123Cust321"           "Key"

Array.IsArray (Deprected)

This action verifies whether the specified data is in the array form. If the data is not an array, reports a defect in the execution report.

...

Array.IsArray              "ArrayKey"

...

ArrayJoinAndStore

This action joins the substrings from an existing array and stores them into the specified key. By default, these substrings are separated by the caret sign (^). The key value can be retrieved using the key name.

...

Parameter Name

Parameter Description

Mandatory

Data Type

ArrayKeyArray

Enter the key that holds an array data which you want to join.

Yes

String

Key

Enter the key name under which you want to store the joined array.

Yes

String

 

Example:

Array.JoinArrayAndStore  ArrayJoinAndStore                "ArrayKeyJo^hn^001"            "Key"

...

ArrayReverse

This action reverses the existing sequence of data given in an array.

...

Parameter Name

Parameter Description

Mandatory

Data Type

ArrayKeyArray

Enter the key that holds an array data which you want to modify the sequence of.

Yes

String

Key

Enter the key name under which you want to store the element.

Yes

String

 

Example:
Array.Reverse  ArrayReverse                     "ArrayKey"99^1^44^2" "Key"

...

ArraySort

This action sorts the existing array data in an ascending or descending order.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

ArrayKey

Array

Enter the

key that holds an

array

data

Parameter Name

Parameter Description

Mandatory

Data Type

ArrayKey

Enter the key that holds an array data

which you want to sort in an ascending order.

Yes

String

 

Example:
Array.Sort               "ArrayKey"

Array.StoreArrayLength

This action stores the length of an existing array into the specified key. The key value can be retrieved using the key name.

Input Parameters:

Key

Enter the key name under which you want to store the element.

Yes

String

dataType

This is the type of data considered for testing. Supported data types are
STRING: These are combination of alphanumeric and special characters items. 
INTEGER: These are strictly numerical items

Yes

String

direction

Keep blank to sort the array in ascending order. Enter desc to sort the array in descending order.

No

String

 

Example:
ArraySort               "9^8^7^6" "key" "Integer" " "

ArraySort               "MH^8^CW^6" "key" "String" "desc"

StoreArrayLength

This action stores the length of an existing array into the specified key. The key value can be retrieved using the key name.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Array

Enter the array whose length you want to store.

Yes

String

Key

Enter the key name under which you want to store the array length.

Yes

String

Example:

Array.StoreArrayLength       "ArrayKey99^1^999^0"               "Key"

...

ArrayStoreElementByIndex

This action stores the element from the specified index of an array into the specified key. The key value can be retrieved using the key name.

...

Parameter Name

Parameter Description

Mandatory

Data Type

ArrayKeyArray

Enter the key that holds an array data from which you want to store the element.

Yes

String

Index

Enter the index of the element which you want to store.

Yes

String

Key

Enter the key name under which you want to store the element.

Yes

String

Example:
Array.StoreElementByIndex  ArrayStoreElementByIndex                  "ArrayKeyJo^hn^001"          "52"           "Key"

...

ArrayStoreElementIndex

This action stores the index of the specified element from an existing array into the specified key. The key value can be retrieved using the key name.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

ArrayKeyArray

Enter the key that holds an array data from which you want to store the element index.

Yes

String

ElementItem

Enter the element which you want to store.

Yes

String

Occurrence

Enter the number of occurrence from the array which you want to store.

Yes

String

CaseSensitive

Enter whether you want to consider case-sensitivity when comparing content. Value for this parameter can be True or False.

  • Set True for case-sensitive comparison.

  • Set False for case-insensitive comparison

    .

    Yes

    String

    Key

    Enter the key name under which you want to store the index of an element.

    Yes

    String

    Example:

    Array.StoreElementIndex  ArrayStoreElementIndex                    "ArrayKeyMon^Tues^Wed^Thurs"           "SundayThurs"           "1"           "True"         "Key"

    ...

    ArrayVerifyElementExist

    This action verifies whether the specified item exists in an array and reports a defect in case of not finding the specified item.

    ...

    Parameter Name

    Parameter Description

    Mandatory

    Data Type

    ArrayKeyArray

    Enter the key that holds an array data from which you want to verify the element.

    Yes

    String

    ElementItem

    Enter the element which you want to verify.

    Yes

    String

    CaseSensitive

    Enter whether you want to consider case-sensitivity when comparing content. to verify.

    Yes

    String

    Existence

    Value for this parameter can be True or False.

    • Set True for case-sensitive comparison to verify that the given element exists in the array.

    • Set False for case-insensitive comparison to verify that the given element does not exist in the array.

    Yes

    String

    Example:
    Array.VerifyElementExists    ArrayVerifyElementExist                     "ArrayKeyMon^Tues^Wed^Thurs"             "SundayThurs"             "True"

    LeftTrimAndStore

    This action removes or trims the blank spaces existing at the extreme left side of the specified string and stores the value under the specified key. The key value can be retrieved using the key name.

    ...

    In this case, the John and family will be stored under key. The blank space before john will be removed.

    RightTrimAndStore

    This action removes or trims the blank spaces existing at the extreme right side of the specified string and stores the value under the specified key. The key value can be retrieved using the key name.

    ...

    In this case, the John and family will be stored under key. The blank space after john and family will be removed.

    IMAGE.CompareTwoImages

    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.

    ...

    IMAGE.CompareTwoImages    “C:\Users\Qualitia\Cust_Sign.png”        “C:\Users\Qualitia\Cust_Logo.png”

    Date.StoreModified Date

    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.

    ...

    Post execution, Qualitia will store 02/28/2021 in the key.

    Date.ChangedDateFormat

    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.

    ...

    Post execution, Key is stored in the new modified date format to Sunday, February 28, 2021.

    DragAndDropToObject

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

    ...

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

    DragAndDropWithDelay

    This action performs the drag and drop using various actions in Selenium’s Actions class with a delay between every action. Sometimes there is a delay on sites, which prevents any events from being fired by mistake. To perform the drag and drop and action we need to add this delay in our action.

    ...

    DragAndDropWithDelay                   "//div/img[@alt='abx']" "xpath" "abc" "id" “10”

    Excel.StoreCellData

    This action stores the value available in the specified cell. You can then use this data while developing tasks and test cases.

    ...

    EXCEL.StoreCellData               “D:\TrainingStatus.xlsx”           “Sheet1”         “3”      “Col::3”          “Key”

    Excel.WriteToRow

    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.

    Column ID either can be an index number of the column or column header (mentioned at the top of each column, starts from the letter A). For example: to specify 2nd column, use col::2 or col::B.

    Column name: Enter the name of the column from which you want to store the value. This name is provided by the user while adding data.

    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:

    • Enter Previous to add a new row before the row specified above.

    • Enter Next to add a new row after the row specified above.

    • Enter Current to overwrite new values over the existing set of values.

    No

    String

    Example:

    EXCEL.WriteToRow                   “D:\TrainingStatus.xlsx”                “Sheet1”            “3”               “Col::3”         “PASS^PASS^FAIL^WIP”              “Current”

    Excel.WriteToColumn

    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.

    Column ID either can be an index number of the column or column header (mentioned at the top of each column, starts from the letter A). For example: To specify the 2nd column, use col::2 or col::B.

    Column Name: Enter the name of the column from which you want to store the value. This name is provided by the user while adding data.

    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:

    •  

      • Enter Previous to add a new column before the column specified above.

      • Enter Next to add a new column after the column specified above.

      • Enter Current to overwrite new values over the existing set of values.

    No

    String

    Example:

    EXCEL.WriteToColumn               “D:\TrainingStatus.xlsx”           “Sheet1”           “3”          “Col::3”         “USER1^ USER2^ USER3^ USER4”          “Previous”

    Excel.StoreColumnCount

    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.

    • To ignore blank columns, use True.

    • To consider even blank columns, use False.
      Note: The default value is True.

    No

    Boolean

    Key

    Enter the key name under which you want to store the value.

    Yes

    String

    Example:

    Excel.StoreColumnCount           “D:\TrainingStatus.xlsx”          “Sheet1”         “True”        “Key”

    Excel.StoreRowCount

    This action stores the total number of rows present in the specified sheet of Microsoft Excel.

    ...

    Excel.StoreRowCount       “Key”    “D:\TrainingStatus.xlsx”       “Sheet1”    “True”

    Excel.StoreColumnDataOccurrance

    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.

    • Column ID either can be an index number of the column or column header (mentioned at the top of each column, starts from the letter A). For example: to specify 2nd column, use col::2 or col::B

    • Column name: Enter the name of the column from which you want to store the value. This name is provided by the user while adding data.

    Yes

    String

    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

     

    Example:

    Excel.StoreColumnDataOccurrance              “D:\TrainingStatus.xlsx”    "Sheet1”   "5"        “True”        “Key”

    Excel.StoreCellDataFromFile

    This action checks the condition added by the user and stores the matching data from specified Excel cell into the specified key.

    ...

    End of the execution, action stores the Employee ID of Jane i.e. 232 into the specified key ID.

    File.CompareFileContents

    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.

    • Set True for case-sensitive comparison.

    • Set False for case-insensitive comparison.

    Yes

    String

    IgnoreWhitespace

    Enter whether you want to consider whitespaces when comparing file contents. Value for this parameter can be True or False.

    • Set True if you want to consider whitespaces.

    • Set False if you want to ignore whitespaces.

    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

     

    Example:

    File.CompareFileContents                  “C:\Users\admin\Downloads\Cust_Info.txt”               “C:\Users\admin\Downloads\Client_list.txt”        “False”       “True”

    FILE.StoreCharacterCount

    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.

    • Set True if you do not want to consider tabs and spaces as characters.

    • Set False if you want to consider tabs and spaces as characters.

    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”

    FILE.StoreStringByLineNumber

    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”

    FILE.VerifyStringExistInFile

    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.

    • Set True for case-sensitive comparison.

    • Set False for case-insensitive comparison. 

    Yes

    String

     

    Example:

    FILE.VerifyStringExistInFile       “C:\Users\admin\Downloads\Cust_Info”     “Qualitia”    “True”

    File.VerifyFileExist

    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”

    File.VerifyFolderExist

    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”

    IsArraySorted

    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.
    The list of data provided should be carat(^) separated.

    Yes

    Array

    datatype

    This is the type of data considered for testing. Supported data types are
    STRING: These are combination of alphanumeric and special characters items. 
    INTEGER: These are strictly numerical items.

    Yes

    String

    -

    direction

    The way the data are to be sorted, i.e., in either ascending or descending. Supported directions are:
    1=indicates ascending
    2=indicates descending

    Yes

    String

    Example:
    IsArraySorted                  "0^1^4^10"               "Integer"             "1"

    PDF.VerifyStringExistInPDF

    This action searches specified text in the PDF file.

    Prerequisite:

    Before executing this action, ensure you:

    ...

    Download XPDF Tools and

    ...

    .

    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”

    PDF.VerifyStringExistInPDFPage

    This action searches specified text on the specified page of the PDF file.

    Prerequisite:

    Before executing this action, ensure you:

    1. Download XPDF Tools and

    2. 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”

    PDF.ComparePDF

    This action compares two PDFs and validates whether content inside them is identical and stores differences in the temporary text file.

    Prerequisite:

    Before executing this action, ensure you:

    ...

    Download XPDF Tools and

    ...

    Download and install GnuWin

    ...

    .

    ...

    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”

    StoreClipboardData

    This action stores the data present on the clipboard into the specified key. The key value then can be retrieved using the key name.

    ...

    StoreClipboardData                 "key"

    StoreFixNumber

    This action stores the integer part of a specified number into the specified key. The stored key value can be retrieved using the key name.

    ...

    StoreFixNumber           "Key"              "6.4332"

    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:

    • For the WaitFor actions to complete successfully, the specified object must exist.

    • Only for all the Wait actions, you can override the actual execution result with that of your choice using the statusIfConditionNotSatisfied parameter. For example, if you set the statusIfConditionNotSatisfied parameter to Pass, the action execution result will always be Pass, irrespective of whether the actual execution result was Fail or Defect.

    ...

    WaitForNumberOfWindowsToBe       "3"         "10"      "500"       "Key"     "Defect"

    WaitForJavaScriptReturnsValue

    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

    Example:

    WaitForJavaScriptReturnsValue       "return eval('2-1');"    "key"      "10"      "500"       "Key"     "Defect"  

    WaitForJavaScriptThrowsNoExceptions

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

    Info

    Note:

    • For the WaitFor actions to complete successfully, the specified object must exist.

    • Only for all the Wait actions, you can override the actual execution result with that of your choice using the statusIfConditionNotSatisfied parameter. For example, if you set the statusIfConditionNotSatisfied parameter to Pass, the action execution result will always be Pass, irrespective of whether the actual execution result was Fail or Defect.

    ...

    WaitForJavaScriptThrowsNoExceptions       ""          "10"      "500"       "Key"     "Defect"  

    WaitForTitleContains

    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

    ...

    WaitForTitleContains      "Qualitia"          "5"          "500"        "Key"        "Defect"

    WaitForTitleNotContains

    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:

    • For the WaitFor actions to complete successfully, the specified object must exist.

    • Only for all the Wait actions, you can override the actual execution result with that of your choice using the statusIfConditionNotSatisfied parameter. For example, if you set the statusIfConditionNotSatisfied parameter to Pass, the action execution result will always be Pass, irrespective of whether the actual execution result was Fail or Defect.

    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

    ...

    WaitForTitleNotContains      "Qualitia"          "5"          "500"        "Key"        "Defect"

    WaitForTitleToBe

    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:

    • For the WaitFor actions to complete successfully, the specified object must exist.

    • Only for all the Wait actions, you can override the actual execution result with that of your choice using the statusIfConditionNotSatisfied parameter. For example, if you set the statusIfConditionNotSatisfied parameter to Pass, the action execution result will always be Pass, irrespective of whether the actual execution result was Fail or Defect.

    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

    ...

    WaitForTitleToBe      "Qualitia"          "5"          "500"        "Key"        "Defect"

    WaitForTitleNotToBe

    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:

    • For the WaitFor actions to complete successfully, the specified object must exist.

    • Only for all the Wait actions, you can override the actual execution result with that of your choice using the statusIfConditionNotSatisfied parameter. For example, if you set the statusIfConditionNotSatisfied parameter to Pass, the action execution result will always be Pass, irrespective of whether the actual execution result was Fail or Defect.

    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

    ...

    WaitForTitleNotToBe      "Qualitia"          "5"          "500"        "Key"        "Defect"

    WaitForURLContains

    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:

    • For the WaitFor actions to complete successfully, the specified object must exist.

    • Only for all the Wait actions, you can override the actual execution result with that of your choice using the statusIfConditionNotSatisfied parameter. For example, if you set the statusIfConditionNotSatisfied parameter to Pass, the action execution result will always be Pass, irrespective of whether the actual execution result was Fail or Defect.

    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

    ...

    WaitForURLContains      "OAuth%9"          "5"          "500"        "Key"        "Defect"

    WaitForURLNotContains

    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:

    • For the WaitFor actions to complete successfully, the specified object must exist.

    • Only for all the Wait actions, you can override the actual execution result with that of your choice using the statusIfConditionNotSatisfied parameter. For example, if you set the statusIfConditionNotSatisfied parameter to Pass, the action execution result will always be Pass, irrespective of whether the actual execution result was Fail or Defect.

    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

    ...

    WaitForURLNotContains      "OAuth%9"          "5"          "500"        "Key"        "Defect"

    WaitForURLToBe

    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

    Example:

    WaitForURLToBe      "https://google.co.in"          "5"          "500"        "Key"        "Defect"

    WaitForURLNotToBe

    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:

    • For the WaitFor actions to complete successfully, the specified object must exist.

    • Only for all the Wait actions, you can override the actual execution result with that of your choice using the statusIfConditionNotSatisfied parameter. For example, if you set the statusIfConditionNotSatisfied parameter to Pass, the action execution result will always be Pass, irrespective of whether the actual execution result was Fail or Defect.

    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

    Example:

    WaitForURLNotToBe      "https://google.co.in"          "5"          "500"        "Key"        "Defect"

    WaitForURLPattern

    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:

    • For the WaitFor actions to complete successfully, the specified object must exist.

    • Only for all the Wait actions, you can override the actual execution result with that of your choice using the statusIfConditionNotSatisfied parameter. For example, if you set the statusIfConditionNotSatisfied parameter to Pass, the action execution result will always be Pass, irrespective of whether the actual execution result was Fail or Defect.

    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

    ...

    WaitForURLPattern      "http[s]:\/\/www\.mysite\.com.*"          "5"          "500"        "Key"        "Defect"

    WaitForAlertAndSendText

    This action waits for the page to prompt an alert. After the alert is prompted, you can send the text specified in the parameter. You may specify the timeout and polling interval, if required.

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

    Info

    Note:

    • For the WaitFor actions to complete successfully, the specified object must exist.

    • Only for all the Wait actions, you can override the actual execution result with that of your choice using the statusIfConditionNotSatisfied parameter. For example, if you set the statusIfConditionNotSatisfied parameter to Pass, the action execution result will always be Pass, irrespective of whether the actual execution result was Fail or Defect.

    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

    ...

    WaitForAlertAndSendText      "Qualitia"          "5"          "500"        "Key"        "Defect"

    WaitForAlertAndSpecifyBehavior

    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.

    Info

    Note:

    • For the WaitFor actions to complete successfully, the specified object must exist.

    • Only for all the Wait actions, you can override the actual execution result with that of your choice using the statusIfConditionNotSatisfied parameter. For example, if you set the statusIfConditionNotSatisfied parameter to Pass, the action execution result will always be Pass, irrespective of whether the actual execution result was Fail or Defect.

    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

    ...

    WaitForAlertAndSpecifyBehavior      "accept"          "5"          "500"        "Key"        "Defect"

    WaitForPageToLoad (Deprecated)

    This actions waits for the page to load for the specified number of seconds. If the wait time is "" then the wait time value is taken from the "Sync Time" set under the Qualitia Configuration (Execution) window. 

    Info

    Note:

    • For the WaitFor actions to complete successfully, the specified object must exist.

    • Only for all the Wait actions, you can override the actual execution result with that of your choice using the statusIfConditionNotSatisfied parameter. For example, if you set the statusIfConditionNotSatisfied parameter to Pass, the action execution result will always be Pass, irrespective of whether the actual execution result was Fail or Defect.

    ...

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

    WaitforAlertAndStoreAcceptIfexist

    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:

    • For the WaitFor actions to complete successfully, the specified object must exist.

    • Only for all the Wait actions, you can override the actual execution result with that of your choice using the statusIfConditionNotSatisfied parameter. For example, if you set the statusIfConditionNotSatisfied parameter to Pass, the action execution result will always be Pass, irrespective of whether the actual execution result was Fail or Defect.

    ...

    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