Skip to content

Framework Suite Keywords

lkoppula41 edited this page Oct 23, 2019 · 21 revisions
keyword Columns Description
config Action Framework knows this is configuration step and loads your configuration sheet
serviceCall Action Framework will recognize this as a service step of your test case
goto Action Navigate to a page specified in input column
sendKeys Action Defines send a text value action on a ui element
click Action Defines a click operation on a page element for ui step
select Action Defines a select operation on an drop down element for ui step
key Action Defines a keyboard action to be used on a certain element for ui step
POST Input Defines post service call operation
GET Input Defines get service call operation
{{}} Target, Input, Overrides A dynamic value declaration that refers data from test data source or fulfilled at run time
:: Overrides Used for keywords separation
(#randNum||numOfDigits) or (#randNum||lowBound||upperBound) Input, Overrides, Testdata Function to generate a random number based on number of digits passed or a lower and upper bound. For more functions that codeless provides, check out Data Manipulation Functions
export::empId::JSONPATH::id Overrides Indicates variable reference between two different steps. The export keyword says I want to export a value of "id" object from step execution of this service call response JSONPATH and then assign it to a variable called "empId"
body Overrides ...
body::string Overrides ...
path Overrides Reference query path of a service call
bodytemplate Overrides Defines request body key value pair for a service step
bodyfield Overrides Defines a specific field in a request body to be overridden with a key value pair. The key can be a full json path of the field that is being overridden.
JSONPATH Overrides Reference JSONPATH of a service call response
endpoint Overrides keyword that let's you define host, path of a service call
endpoint::host Overrides Defines host value of a service call endpoint
protocol Overrides Defines protocol value of a service call endpoint
NumFormat("format") UI Assertion in Overrides Allows to format a number to how the user sees fit. example: assertEquals::WebElement::getText::{{number}}::NumFormat(%,d). This will format the number with commas where applicable.
waitTime::value Overrides waits for that value of time
waitType::visible Overrides waits until the webelement is visble till the waitTime declared value if there is no waitTime declared it takes the framework default value
waitType::clickable Overrides waits until the webelement is clickable till the waitTime declared value if there is no waitTime declared it takes the framework default value
waitType::waitForPageLoad Overrides waits until the webpage is in ready state till the waitTime declared value if there is no waitTime declared it takes the framework default value
waitType::browserSleep Overrides sleeps the browser till the waitTime declared value if there is no waitTime declared it takes the framework default value
clickType::click Overrides Executes Selenium Default WebElement click() in the context of the currently selected frame or window default
clickType::javascript Overrides This is the default clicktype by the framework
clickType::scrollIntoView Overrides Scrolls into the view for that webelement on the webpage