-
Notifications
You must be signed in to change notification settings - Fork 16
Framework Suite Keywords
Julio Zevallos edited this page May 30, 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 |
(#timeStamp::format) or (#timeStamp::format::interval) or (#timeStamp::format::startBound::endBound) | Input, Overrides, Testdata | Function to generate the current timestamp with given format, or a random timestamp with given format and an interval of "Y" or "M" , specifying current year or month, or a random timestamp with given format and between a startBound and endBound |
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 |
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 |
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 | Executes JavaScript in the context of the currently selected frame or window default |
clickType::scrollIntoView | Overrides | Scrolls into the view for that webelement on the webpage |