Supported Actions
SimplifyQA provides a comprehensive set of supported actions to facilitate test automation. Each action is associated with parameters that define its behaviour.
Below is a detailed list of actions, including their descriptions, parameter names, parameter descriptions, parameter types, and group names.
List of Supported Actions
Web Actions
Action Name
Action Description
Parameter Name & Description
Group Name
acceptAlert
Selects 'OK' on the browser alert
Alert Handlers
dismissAlert
Selects 'Cancel' on the browser alert
Alert Handlers
getAlertTextAndStore
Gets text from the browser alert/prompt and store the fetched value in runtime parameter
Runtime parameter - Runtime parameter name to store the text in alert.
Alert Handlers
validateAlertText
Verifies text in browser alert with the expected value. Actual value would be the value fetched from the alert. Expected value can be a local (which should be added in test data) or runtime parameter.
Expected value - Expected value to verify against actual value fetched from the web element.
Alert Handlers
waitForAlert
Waits for the alert to appear in browser. Timeout to wait for alert would be the 'max_timeout' set in user preference or test case settings.
Alert Handlers
enterTextOnAlert
Types text in browser alert
Value to enter - Value to enter in the alert input box
Alert Handlers
clickIfExist
Clicks on an element if the element is present. \n If element is not present, then the timeout would be 'exist_timeout' set in user preference or test case settings.
Assertions
elementIsDisplayed
Verifies if element is displayed. Timeout to wait for the element would be 'exist_timeout' which is set in user preference or test case settings.
Assertions
elementIsNotDisplayed
Verifies if element is not displayed. Timeout to wait for the element would be 'exist_timeout' which is set in user preference or test case settings.
Assertions
elementIsEnabled
Verifies if element is enabled. Timeout to wait for the element would be 'exist_timeout' which is set in user preference or test case settings.
Assertions
elementIsDisabled
Verifies if element is disabled. Timeout to wait for the element would be 'exist_timeout' which is set in user preference or test case settings.
Assertions
elementIsClickable
Verifies if element is clickable. Timeout to wait for the element would be 'exist_timeout' which is set in user preference or test case settings.
Assertions
elementMatchesText
Verifies if the text in the elemnt matches the regex. Regular expression should be passed in the Test Data.
Regex - Expected regex to verify the value against the web element.
Assertions
validateText
Verifes text with expected value. \n Actual value would be the value fetched from the web application. \n Expected value can be a local, global( which should be added in test data) or runtime parameter
Expected value - Expected value to verify against actual value fetched from the web element.
Assertions
validatePartialText
Verifes text with expected value partially. \n Actual value would be the value fetched from the web application. \n Expected value can be a local, global( which should be added in test data) or runtime parameter
Expected value - Expected value to verify against actual value fetched from the web element.
Assertions
elementIsNotChecked
Verifies if checkbox is not checked.
Assertions
elementIsChecked
Verifies if a checkbox is checked.
Assertions
back
Chooses browser back option.
Browser Handlers
minimise
Minimises the browser window
Browser Handlers
maximise
Maximises the browser window
Browser Handlers
refresh
Refreshes the current browser tab.
Browser Handlers
forward
Chooses browser forward option
Browser Handlers
launchApplication
Launches the browser with specified URL
URL - URL of the web application
Browser Handlers
switchToTab
Switchs the control to the specified tab. Tab Index or name should be added in test data.
Tab ID or Name - Index or name of the browser tab
Browser Handlers
switchToParentTab
Switches the control to the parent tab
Browser Handlers
closeTab
Closes the current browser tab
Browser Handlers
getTitleAndStore
Gets the title of the current browser tab and stores the fetched value in runtime parameter.
Runtime parameter - Runtime parameter name to store the browser title
Browser Handlers
getCurrentURL
Gets the URL of the current browser tab and stores the fetched value in runtime parameter.
Runtime parameter - Runtime parameter name to store the URL
Browser Handlers
switchToFrame
Switches to the specified iFrame. iFrame should be added as an object properties.
Browser Handlers
switchToParentFrame
Switched to the parent iFrame
Browser Handlers
clearText
Clears text in an input box in web application.
Clear Text
click
Clicks on an element
Click
clickUsingJS
Clicks on an element using javascript
Click
clickByCoordinates
Clicks on an element byx and y co-ordinates
x - x co-ordinates, y - y co-ordinates
Click
dragAndDrop
Drags the source element and drops to the target element
Drag and Drop
dragAndDropUsingJS
Drags the source element and drops to the target element using javascript
Drag and Drop
selectItemFromDropdown
Selects item from dropdown. Value to select should be added in test data.
Value to select - Value to select from the dropdown
Dropdown
selectItemsFromDropdown
Selects multiple items from dropdown. Values to be selected should be added as test data. \n For Ex: If 3 values to be selected from dropdown, 2 parameters should be added and test data for each of these parameters should be added respectively.
Values to select - Number of values to select from dropdown should be the number of parameters to be added for this action.
Dropdown
getItemsFromDropdownAndStore
Gets all the items from the dropdown and stores the fetched value as comma seperated values in runtime parameter
Runtime parameter - Runtime parameter name to store the values in dropdown
Dropdown
uploadFile
Uploads file in the web application.
File Path - Enter the file path to upload in web application
File Handlers
getElementCSSAndStore
Gets CSS of an element and stores the fetched value in runtime parameter
CSS Name - Enter name to store the CSS of web element. Runtime parameter - Runtime parameter name to store the CSS of web element.
Get and Store
getTextAndStore
Gets text from the browser element and stores in runtime parameter
Runtime parameter - Runtime parameter name to store the text in web element.
Get and Store
getAttributeAndStore
Gets attribute value and store in runtime parameter. Attribute name should be added in test data.
Attribute name - Name of the attribute Runtime parameter - Runtime parameter name to store the attribute value.
Get and Store
moveToElement
Cursor moves to the specified element.
Mouse Events
longPress
Press and hold on specified element.
Mouse Events
leftClick
Performs left click on the mouse on the specified element.
Mouse Events
rightClick
Performs right click on the mouse on the specified element.
Mouse Events
doubleClick
Performs double click on the mouse on the specified element.
Mouse Events
scrollIntoElement
Scrolls to a web element
Scroll
scrollToBottom
Scrolls towards the bottom of the web application.
Scroll
scrollToTop
Scrolls towards the top of the web application.
Scroll
scrollByCoordinates
Scrolls to the specified x and y co-ordinates.
x - x co-ordinates, y - y co-ordinates
Scroll
enterText
Types text in an web element
Value to enter - Value to enter in the input box
Type Text
enterTextUsingJS
Types text using javascript in an web element
Value to enter - Value to enter in the input box
Type Text
waitUntilElementPresent
Waits for the element until the element is present on the screen Maxtimeout to stop waiting would be 'exist_timeout'
Waits
waitUntilElementNotPresent
Waits for the element until the element is not present on the screen Maxtimeout to stop waiting would be 'exist_timeout'
Waits
keyBoardEvents
Actions to simulate interactions with an apploication through the keyboard.
Keys - A sequence of keyboard keys to perform. Keys should be provided as strings and are case-insensitive.
Android Actions
Action Name
Action Description
Parameter Name & Description
Group Name
validatePartialText
Verifies text with expected value partially. \n Actual value would be the value fetched from the android application. \n Expected value can be a local,global( which should be added in test data) or runtime parameter
Expected value - Expected value to verify against actual value fetched from the web element
Assertions
notExist
Assertions
validateText
Verifes text with expected value. \n Actual value would be the value fetched from the web application. \n Expected value can be a local, global( which should be added in test data) or runtime parameter
Expected value - Expected value to verify against actual value fetched from the android element
Assertions
elementIsSelected
Verifies if radio button is selected.
Assertions
elementIsNotSelected
Verifies if radio button is not selected.
Assertions
elementIsClickable
Verifies if element is clickable. Timeout to wait for the element would be 'exist_timeout' which is set in user preference or test case settings.
Assertions
elementIsChecked
Verifies if element is checked.
Assertions
clickIfExist
Clicks on an element if the element is present. \n If element is not present, then the timeout would be 'exist_timeout' set in user preference or test case settings.
Assertions
elementIsNotChecked
Verifies if checkbox is not checked.
Assertions
elementIsDisabled
Verifies if element is disabled. Timeout to wait for the element would be 'exist_timeout' which is set in user preference or test case settings.
Assertions
elementIsEnabled
Verifies if element is enabled. Timeout to wait for the element would be 'exist_timeout' which is set in user preference or test case settings.
Assertions
clearText
Clears text in an input box in android app.
Clear
click
Clicks on an element
Click
Lock
Locks the android device screen
Device Ops
unlock
Unlocks the android device screen
Device Ops
startApp
Starts the application in the same state as in android device.
Device Ops
resetApp
Resets the Android application back to its initial state.
Device Ops
longPress
Performs long press on specified object.
Duration - Duration to perform long press on specified object.
Device Ops
switchApp
Switches to the specified app which is already open
Device Ops
uninstallApp
Uninstalls the specified app from the android device
Device Ops
openNotification
Opens notifications panel in the android device
Device Ops
closeApp
Closes the android app
Device Ops
installApp
Installs app in the android device
App File Path
Device Ops
emulatorEvent() - deprecated
Clicks on back button in the android device
Device Ops
airplaneModeStatus
Verifies the status of the Airplane Mode(enabled/disabled). Returns true if wifi is enabled, otherwise returns false. If true is returned, the step is considered passed; else, it fails.
Device Ops
bluetoothStatus
Verifies the status of the Bluetooth (enabled/disabled). Returns true if wifi is enabled, otherwise returns false. If true is returned, the step is considered passed; else, it fails.
Device Ops
internetStatus
Verifies the status of the Internet (enabled/disabled). Returns true if wifi is enabled, otherwise returns false. If true is returned, the step is considered passed; else, it fails.
Device Ops
toggleWifi
Toggles wifi to a specified mode
Wifi Status - Value to this parameter would be 'TRUE' or 'FALSE' TRUE - turns on wifi FALSE - turns of wifi If TRUE is used but already wifi is ON, it would just return true without performing anything. If FALSE is used but already wifi is OFF, it would just return false without performing anything.
Device Ops
wifiStatus
Verifies the status of the WiFi (enabled/disabled). Returns true if wifi is enabled, otherwise returns false. If true is returned, the step is considered passed; else, it fails.
Device Ops
rotateScreen
Rotates the screen to the specified mode
Orientation
Device Ops
toggleBluetooth
Toggles bluetooth to a specified mode
Bluetooth Status - Value to this parameter would be 'TRUE' or 'FALSE' TRUE - turns on bluetooth FALSE - turns of bluetooth If TRUE is used but already bluetooth is ON, it would just return true without performing anything. If FALSE is used but already bluetooth is OFF, it would just return false without performing anything.
Device Ops
toggleInternet
Toggles internet to a specified mode
Internet Status - Value to this parameter would be 'TRUE' or 'FALSE' TRUE - turns on internet FALSE - turns of internet If TRUE is used but already internet is ON, it would just return true without performing anything. If FALSE is used but already internet is OFF, it would just return false without performing anything.
Device Ops
isLocked
Verifies if the device is locked. Returns true if device is locked else returns false. If true is returned, the step is considered passed; else, it fails.
Device Ops
getTextAndStore
Gets text from the android element and stores in runtime parameter
Runtime parameter - Runtime parameter name to store the text in android element
Get and Store
getAttributeAndStore
Gets attribute value and store in runtime parameter. Attribute name should be added in test data.
Attribute name - Name of the attribute Runtime parameter - Runtime parameter name to store the attribute value
Get and Store
scrollLeft
Scrolls towards left hand side of the android device.
Scroll
scrollRight
Scrolls towards right hand side of the android device.
Scroll
scrollToBottom
Scrolls towards bottom of the android device.
Scroll
scrollToTop
Scrolls towards the top of the android device.
Scroll
scrollTillElementPresentAndClick() - deprecated
Scrolls to the element until the element is present and click
Scroll
scrollTillElementIsPresent
Scrolls to the element until the element is present
Scroll
scrollTillElementIsNotPresent
Scrolls to the element until the element is not present
Scroll
enterText
Types text in an android element
Value to enter - Value to enter in the input box
Type Text
waitUntilElementPresent
Waits for the element until the element is present on the screen Maxtimeout to stop waiting would be 'exist_timeout'
Waits
waitUntilElementNotPresent
Waits for the element until the element is not present on the screen Maxtimeout to stop waiting would be 'exist_timeout'
Waits
iOS Actions
Action Name
Action Description
Parameter Name & Description
Group Name
validatePartialText
Verifes text with expected value partially. \n Actual value would be the value fetched from the android application. \n Expected value can be a local,global( which should be added in test data) or runtime parameter
Expected value - Expected value to verify against actual value fetched from the web element
Assertions
notExist
Assertions
validateText
Verifes text with expected value. \n Actual value would be the value fetched from the web application. \n Expected value can be a local, global( which should be added in test data) or runtime parameter
Expected value - Expected value to verify against actual value fetched from the android element
Assertions
elementIsSelected
Verifies if radio button is selected.
Assertions
elementIsNotSelected
Verifies if radio button is not selected.
Assertions
elementIsClickable
Verifies if element is clickable. Timeout to wait for the element would be 'exist_timeout' which is set in user preference or test case settings.
Assertions
elementIsChecked
Verifies if element is checked.
Assertions
clickIfExist
Clicks on an element if the element is present. \n If element is not present, then the timeout would be 'exist_timeout' set in user preference or test case settings.
Assertions
elementIsNotChecked
Verifies if checkbox is not checked.
Assertions
elementIsDisabled
Verifies if element is disabled. Timeout to wait for the element would be 'exist_timeout' which is set in user preference or test case settings.
Assertions
elementIsEnabled
Verifies if element is enabled. Timeout to wait for the element would be 'exist_timeout' which is set in user preference or test case settings.
Assertions
clearText
Clears text in an input box in android app.
Clear
click
Clicks on an element
Click
Lock
Locks the iOS device screen
Device Ops
unlock
Unlocks the iOS device screen
Device Ops
startApp
Starts the application in iOS device
Device Ops
resetApp
Device Ops
longPress
Performs long press on an iOS element
Device Ops
switchApp
Switches to the specified app which is already open
Device Ops
uninstallApp
Uninstalls the specified app from the iOS device
Device Ops
openNotification
Opens notifications panel in the iOS device
Device Ops
closeApp
Closes the iOS app
Device Ops
installApp
Installs app in the iOS device
Device Ops
emulatorEvent() - deprecated
Clicks on back button in the iOS device
Device Ops
toggleWifi
Toggles wifi to a specified mode
Wifi Status - Value to this parameter would be 'TRUE' or 'FALSE' TRUE - turns on wifi FALSE - turns of wifi If TRUE is used but already wifi is ON, it would just return true without performing anything. If FALSE is used but already wifi is OFF, it would just return false without performing anything.
Device Ops
rotateScreen
Rotates the screen to the specified mode
Device Ops
toggleBluetooth
Toggles bluetooth to a specified mode
Bluetooth Status - Value to this parameter would be 'TRUE' or 'FALSE' TRUE - turns on bluetooth FALSE - turns of bluetooth If TRUE is used but already bluetooth is ON, it would just return true without performing anything. If FALSE is used but already bluetooth is OFF, it would just return false without performing anything.
Device Ops
toggleInternet
Toggles internet to a specified mode
Internet Status - Value to this parameter would be 'TRUE' or 'FALSE' TRUE - turns on internet FALSE - turns of internet If TRUE is used but already internet is ON, it would just return true without performing anything. If FALSE is used but already internet is OFF, it would just return false without performing anything.
Device Ops
getTextAndStore
Gets text from the iOS element and stores in runtime parameter
Runtime parameter - Runtime parameter name to store the text in android element
Get and Store
getAttributeAndStore
Gets attribute value and store in runtime parameter. Attribute name should be added in test data.
Attribute name - Name of the attribute Runtime parameter - Runtime parameter name to store the attribute value.
Get and Store
scrollLeft
Scrolls towards left hand side of the iOS device
Scroll
scrollRight
Scrolls towards right hand side of the iOS device
Scroll
scrollToBottom
Scrolls towards the bottom of the iOS device
Scroll
scrollToTop
Scrolls towards the top of the iOS device
Scroll
scrollTillElementIsPresent
Scrolls to the element until the element is present
Scroll
scrollTillElementIsNotPresent
Scrolls to the element until the element is not present
Scroll
enterText
Types text in an iOS element
Value to enter - Value to enter in the input box
Type Text
waitUntilElementPresent
Waits for the element until the element is present on the screen Maxtimeout to stop waiting would be 'exist_timeout'
Waits
waitUntilElementNotPresent
Waits for the element until the element is not present on the screen Maxtimeout to stop waiting would be 'exist_timeout'
Waits
Database Actions
Action Name
Action Description
Parameter Name & Description
Group Name
update
Performs an update operation on the database.
Query - Database query that needs to be executed.
Data Manipulation
update
Performs an update operation on the database and stores the reponse.
Query - Database query that needs to be executed. Runtime Parameter - Stores the number of modified rows.
Data Manipulation
insertData
Inserts values to the specified table and stores the modified rows.
Table - The name of the table where data is to be inserted. Values - The values or data to be inserted. Runtime Parameter - Stores the number of modified rows.
Data Manipulation
insertData
Inserts values to the specified table.
Table - The name of the table where data is to be inserted. Values - The values or data to be inserted.
Data Manipulation
insertDocument
Inserts a document into the specified collection.
Collection Name - The name of the collection where the document is to be inserted. Document - The document data to be inserted.
Data Manipulation
insertDocument
Inserts a document into the specified collection and database.
Database Name - The name of the database where the documents are to be inserted. Collection Name - The name of the collection where the documents are to be inserted. Document - The document data to be inserted.
Data Manipulation
updateDocuments
Updates documents to the specified collection based on the provided filter and update type criteria.
Collection Name - The name of the collection where the documents are to be updated. Filter - The filter criteria to identify which document to update. Update - The document that needs to be updated in the specified collection. Update Type - Specifies the type of update (i.e., ONE/MANY).
Data Manipulation
updateDocuments
Updates documents in a specified collection according to the given filter and update criteria, then stores the number of documents that were updated.
Collection Name - The name of the collection where the documents are to be updated. Filter - The filter criteria to identify which documents to update. Update - The document that needs to be updated in the specified collection. Update Type - Specifies the type of update (i.e., ONE/MANY). Runtime Parameter - Stores the count of documents updated.
Data Manipulation
Updates documents in a specified collection and database based on the provided filter and update type criteria.
Database Name - The name of the database where the documents are to be updated. Collection Name - The name of the collection where the documents are to be updated. Filter - The filter criteria to identify which documents to update. Update - The document that needs to be updated in the specified collection within the given database. Update Type - Specifies the type of update (i.e., ONE/MANY).
Data Manipulation
Updates documents in a specified collection and database according to the given filter and update criteria, then stores the number of documents that were updated.
Database Name - The name of the database where the documents are to be updated. Collection Name - The name of the collection where the documents are to be updated. Filter - The filter criteria to identify which documents to update. Update - The document that needs to be updated in the specified collection within the given database and filter criteria. Update Type - Specifies the type of update (i.e., ONE/MANY). Runtime Parameter - Stores the count of documents updated.
Data Manipulation
readData
Reads and stores data from the database.
Table - The name of the table from which data is to be read. Runtime Parameter - Stores the result set from the table.
Data Retrieval
readDocuments
Reads documents from the specified collection and stores the list of documents.
Collection Name - The name of the collection where the documents are to be read from. Runtime Parameter - Stores the list of documents read from the specified collection.
Data Retrieval
readDocuments
Reads documents from the specified collection and database, then stores the list of documents.
Database Name - The name of the database where the documents are to be read from. Collection Name - The name of the collection where the documents are to be read from. Runtime Parameter - Stores the list of documents read from the specified collection and database.
Data Retrieval
readDocuments
Reads documents from the specified collection and database according to the filter criteria, then stores the list of documents.
Database Name - The name of the database where the documents are to be read from. Collection Name - The name of the collection where the documents are to be read from. Filter - A filter to apply while reading documents (e.g., conditions to match). Runtime Parameter - Stores the list of documents read from the specified collection and database.
Data Retrieval
connectToDb
Establishes a connection to the specified database.
Database Type - The type of the database (e.g., MySQL, PostgreSQL). Host - The server address where the database is hosted. Port - The port number to connect to the database. User - The username for authentication. Password - The password for authentication. Database Name - The name of the database to connect to.
Database Connection
closeConnection
Closes the connection to the database.
Database Connection
connectToMongoDb
Establishes a connection to a MongoDB instance using the provided connection string.
Connection String - The string required to establish a connection to a MongoDB instance.
Database Connection
executeQuery
Executes a given query on the connected database.
Query - Database query that needs to be executed.
Query Execution
executeQuery
Executes a given query on the connected database and stores the response.
Query - Database query that needs to be executed. Runtime Parameter - Stores the result set of executed query.
Query Execution
General Actions
Action Name
Action Description
Parameter Name & Description
Group Name
additionOfValues
Performs addition of values and stores the final value in runtime parameter parameter n - n number of parameters can be added parameter n-1 - The last parameter would be the expected value
Param n-1 - n-1 number of parameters that needs to summed Param n - nth or last parameter would be the runtime parameter name to store the final value
Arithmetic Operations
substractionOfValues
Performs subtraction of values and stores the final value in runtime parameter parameter n - n number of parameters can be added parameter n-1 - The last parameter would be the expected value
Param n-1 - n-1 number of parameters that needs to subtracted Param n - nth or last parameter would be the runtime parameter name to store the final value
Arithmetic Operations
validateFromJSON
Verifies if the value in the JSON of a specified key with expected value added in test data Actual value would be the value of the specified key in th JSON Expected value would be the value added in test data
JSON - JSON which needs to be verified. Key - Key is teh JSON path for a particular key in the JSON for which value needs to be verified Expected Value - Expected value to verify against actual value fetched from the JSON.
Assertions
verifyAdditionOfValues
Verifies addition of values. parameter n - n number of parameters can be added parameter n-1 - The last parameter would be the expected value
Param n-1 - n-1 number of parameters that needs to be summed Param n - nth or last parameter would be the expected value that needs to be verified with the actual value
Assertions
validateFromXML
Verifies if the value in the XML of a specified key with expected value added in test data Actual value would be the value of the specified key in th XML Expected value would be the value added in test data
XML - XML which needs to be verified Key - Key is the XML path for a particular key in the XML for which value needs to be verified Expected value - Expected value to verify against actual value fetched from the XML
Assertions
comparePartialString
Compares actual value with the expected value partially. If actual value contains expected value then the step passes/returns true
Base string - Base string in which expected value needs to be partially compared Value to validate - Expected value that needs to be verified in base string
Assertions
comparePartialStringByIgnoreChar
Compares actual value with the expected value partially by ignoring the specified string. If actual value contains expected value then the step passes/returns true
Base string - Base string in which expected value needs to be partially compared Value to validate - Expected value that needs to be verified in base string Ignore character - Character that needs to be ignored while comparing base string and expected value
Assertions
comparisonOperator
Operators that compare values and returns true or false.
Assertions
generateCustomDateandTimeString
Gets custom date and time w.r.t., date, time and date-time format and stores the value in runtime parameter
Date - Data for this parameter would be as follows: 'today' - gets today's date 'today+1' - gets tomorrow's date 'today-1' - gets yesterday's date Similarly, 'today+n','today-n' would get the respective date Date format - Date format would be the format in which date needs to be generated Time - Data for this parameter would be as follows: 'now' - gets current time 'now+1' - gets 1 hour from now Similarly, 'now+n','now-n' would get the respective time Meridiem - Meridiem that needs to be concatenated with the generated time as suffix to be added in this parameter Runtime paramter - Runtime parameter name to store the date and time generated
Date Handlers
getISODateandTime
Gets date and time in ISO format and stores the value in runtime parameter
Date - Data for this parameter would be as follows: 'today' - gets today's date 'today+1' - gets tomorrow's date 'today-1' - gets yesterday's date Similarly, 'today+n','today-n' would get the respective date Time - Data for this parameter would be as follows: 'now' - gets current time 'now+1' - gets 1 hour from now Similarly, 'now+n','now-n' would get the respective time Runtime paramter - Runtime parameter name to store the date and time generated
Date Handlers
getDate
Gets date in specified date format and stores the value in runtime parameter
Date - Data for this parameter would be as follows: 'today' - gets today's date 'today+1' - gets tomorrow's date 'today-1' - gets yesterday's date Similarly, 'today+n','today-n' would get the respective date Date format - Date format would be the format in which date needs to be generated. Runtime paramter - Runtime parameter name to store the date generated
Date Handlers
getTime
Gets time in specified time format and stores the value in runtime parameter
Time - Data for this parameter would be as follows: 'now' - gets current time 'now+1' - gets 1 hour from now Similarly, 'now+n','now-n' would get the respective time Time format - Time format would be the format in which time needs to be generated Meridiem - Meridiem is to concatenate 'AM' or 'PM' as suffix with the generated data Runtime paramter - Runtime parameter name to store the time generated
Date Handlers
executeRestAPI
Executes REST API for authorisation type 'Token'
Base URI - Endpoint URI of the REST API Method - HTTP method of the REST API Header - Request header needs to be added in JSON format in a parameter of type JSON Query params - Query params needs to be added in JSON format in a parameter of type JSON Request body - Request body needs to be added in JSON format in a parameter of type JSON. If request body is of XML can be added as a text in test data. Runtime parameter 1 - Runtime parameter 1 is to store the response body in JSON format Runtime parameter 2 - Runtime parameter 2 is to store the response code Runtime parameter 3 - Runtime parameter 3 is to store the response message
Deprecated
executeRestAPI
Executes REST API for authorisation type 'Basic Auth'
Base URI - Endpoint URI of the REST API Method - HTTP method of the REST API Header - Request header needs to be added in JSON format in a parameter of type JSON Query params - Query params needs to be added in JSON format in a parameter of type JSON Request body - Request body needs to be added in JSON format in a parameter of type JSON. If request body is of XML can be added as a text in test data. Username - Username to be specified in a parameter Password - Password to be specified in a parameter Runtime parameter 1 - Runtime parameter 1 is to store the response body in JSON format Runtime parameter 2 - Runtime parameter 2 is to store the response code Runtime parameter 3 - Runtime parameter 3 is to store the response message
Deprecated
executeRestAPI
Executes REST API for request body type 'Form-data'
Base URI - Endpoint URI of the REST API Method - HTTP method of the REST API Header - Request header needs to be added in JSON format in a parameter of type JSON Query params - Query params needs to be added in JSON format in a parameter of type JSON Form data type - Form data type to be specified in a parameter Form data - Form data needs to be added in JSON format in a parameter of type JSON Runtime parameter 1 - Runtime parameter 1 is to store the response body in JSON format Runtime parameter 2 - Runtime parameter 2 is to store the response code Runtime parameter 3 - Runtime parameter 3 is to store the response message
Deprecated
getCellDataFromExcel
Gets value from the specified cell in an excel and stores in runtime parameter
Filepath - Filepath of an excel file. Sheetname - Name of the sheet. Cell reference - Cell reference from which value needs to be fetched. Runtime parameter - Runtime parameter to store the fetched value.
File Handlers
getColumnDataUsingColumnReferenceFromExcel
Gets data from the specified column reference in an excel and stores in runtime parameter in JSON format
Filepath - Filepath of an excel file. Sheetname - Name of the sheet. Column reference - Column reference from which value needs to be fetched. Runtime parameter - Runtime parameter to store the fetched value.
File Handlers
getColumnDataUsingHeaderFromExcel
Gets data from the specified column header in an excel and stores in runtime parameter in JSON format
Filepath - Filepath of an excel file Sheetname - Name of the sheet Header name - Header name from which values needs to be fetched Runtime parameter - Runtime parameter to store the fetched value.
File Handlers
getSheetDataFromExcel
Read entire data from the specified sheet and stores in runtime parameter in JSON format
Filepath - Filepath of an excel file Sheetname - Name of the sheet Runtime parameter - Runtime paarmeter to store the fetched value.
File Handlers
updateCellDataInCSV
Updates data in a specified cell in a CSV file Note: This action updates the data, it would not write to an empty cell
Filepath - Fielpath of a CSV file Row ID - Row ID is the name of the row Column ID - Column ID is the name of the column Value to replace - Value to replace in the specified cell.
File Handlers
getCellDataFromCSV
Gets data from the specified cell from a CSV file and stored in runtime parameter in JSON format
Filepath - Filepath of a CSV file Row ID - Row ID is the name of the row Column ID - Column ID is the name of the column Runtime parameter - Runtime parameter name to store the fetched value.
File Handlers
readFileAndStore
Read data from a text file and store the data in runtime parameter
Filepath - Filepath of a text file from which data needs to be stored Runtime Parameter - Runtime parameter name in which data needs to be stored
File Handlers
writeToFile
Writes data in a text file
Filepath - Filepath of a text file to which data needs to be written Value to enter - Value that needs to be entered in a text file
File Handlers
checkIfFileExist
Verifies if the specified file is present in the local machine
Filepath - Filepath of a file that needs to be verified
File Handlers
downloadFileFromRepo
Downloads file from file repository and stores the link to the file in runtime parameter
Filename - Name of the file that needs to be downloaded from the repository Runtime parameter - Runtime parameter name in which URL of the file would be stored
File Handlers
replaceAndStore
Replaces the specified value in base string and stores the final string in runtime parameter.
Base String - Base String in which value needs to be replaced. Replace String - String which needs to be replaced. Replace Value - Value to be replaced in the base string Runtime Parameter - Runtime parameter name to store the final value.
Get and Store
storeFromJSON
Gets value of the specified key in JSON and store the value in runtime parameter.
JSON - Base JSON in which value needs to be fetched. Key - Key is the JSON path for a particular key in the JSON for which value needs to be fetched. Runtime Parameter - Runtime parameter name to store the value from JSON.
Get and Store
storeToRuntime
Stores the specific value in runtime parameter.
Value - Value to be stored in runtime parameter. Key - Key is a runtime parameter key against which value needs to be stored.
Get and Store
randomAlphanumberic
Generates random alphanumerical string and stores the generated value in runtime parameter
Count - Count of characters that needs to be generated Prefix - Prefix that needs to be concatenated with the generated data Suffix - Suffix that needs to be concatenated with the generated data Runtime parameter - Runtime paarmeter name in which generated data would be stored
Get and Store
randomNumeric
Generates random numerical string and stores the generated value in runtime parameter
Count - Count of characters that needs to be generated Prefix - Prefix that needs to be concatenated with the generated data Suffix - Suffix that needs to be concatenated with the generated data Runtime parameter - Runtime paarmeter name in which generated data would be stored
Get and Store
combineRuntime
Combines runtime parameters by concatenating '!##' and stores the final value in runtime parameter parameter n - n number of parameters can be added parameter n-1 - The last parameter would be the runtime parameter name to store the final value
Param n-1 - n-1 number of parameters can be added Param n - nth or last paarmeter would be the runtime parameter name to store the final value
Get and Store
randomAlphabets
Generates random alphabetical string and stores the generated value in runtime parameter
Count - Count of characters that needs to be generated Prefix - Prefix that needs to be concatenated with the generated data Suffix - Suffix that needs to be concatenated with the generated data Runtime parameter - Runtime paarmeter name in which generated data would be stored
Get and Store
splitAndGetValue
Splits the base string by the specified delimiter and stores the final value in runtime parameter
Base string - Base String in which value needs to be split Delimiter - Delimiter is a character using which the base string needs to be split Index - Index is the array index of the split value that needs to be stored Runtime parameter - Runtime parameter name to store the final split value in the specified array index
Get and Store
storeFromXML
Gets value of the specified key in XML and store the value in runtime parameter
XML - Base XML in which value needs to be fetched Key - Key is the XML path for a particular key in the XML for which value needs to be fetched Runtime parameter - Runtime parameter name to store the value from XML
Get and Store
concatenateAndStore
Concatenates the data of the specified parameters and stores in runtime parameter parameter n - n number of parameters can be added parameter n-1 - The last parameter would be the runtime parameter to store the final value
Param n-1 - n-1 number of parameters can be added that needs to be concatenated Param n - nth or last parameter would be the runtime parameter name to store the final value
Get and Store
Pause
Pauses the execution for the specified time
Timeout - Timeout to be added in milliseconds
Waits
minimumWait
Pauses the execution for 1000 millisecond
Waits
mediumWait
Pauses the execution for 3000 millisecond
Waits
maximumWait
Pauses the execution for 5000 millisecond
Waits
Conclusion
SimplifyQA’s keyword-driven framework supports a variety of actions to streamline test case execution. Understanding these actions, along with their parameters and types, enables testers to build robust automation scripts efficiently.
Last updated