All Tesbo Keyword and Action

This page contains all the Tesbo Supported Keywords

Click :

ActionKeywordDescription
click Step: click on @forgotpassword
Perform click action on the given Element.
e.g @forgotpassword
double click Step: double click on @clickHereLink
Perform double click action on the given Element.
e.g @clickHereLink
right click Step: right click on @ForgotPasswordk
Perform right click action on the given Element. e.g @ForgotPasswordk.
it will open the context menu
pause and click Step: pause and click on @BackButton
Tesbo will wait until element became clickable and then click on the given element
click and hold Step: click and hold on @textLink element
Tesbo will click on the given element and continue to press on that element
scroll and click Step: scroll and click on @FindingBugsLink
Tesbo will scroll to the given element and then click on the given element
Click on first element from List Click on first element from List @NumberList
Tesbo will find all the elements and click on the first element from list

Click From List:

ActionKeywordDescription
Click on first element from List Click on first element from List @NumberList
Tesbo will find all the elements and click on the first element from list
Click on a Last element from the list Step: Click on last element from List @NumberList
Tesbo will find all the elements and click on the last element from list
Click on an element whose text matches with the given string Step: click on "Red" from List @ColorList
Tesbo will find all the elements and get text of element and if element text is match with the given text, it will click on that element
Click on element by index from list Step: click on from List @NumberList
Tesbo will create a element list array with given locators and then click on the given index. As this is array first element start from 0 index

Enter & Clear

ActionKeywordDescription
Enter textStep: Enter 'admin@phptravels.com' in @Email_Box
Tesbo will find the element Email_Box and then enter the text 'admin@phptravels.com'
Clear textStep: Clear @Email_Box textbox
Tesbo will find the element Email_Box and then clear the text of textbox if available
Clear and enterStep: Clear and enter 'Hello@test.com' in @Email_Box
Tesbo will clear the text first from Email_Box and then enter 'Hello@test.com'

Navigation

ActionKeywordDescription
Navigate to backStep: Navigate to back
Tesbo will redirect to the previous page
Navigate to ForwardStep: Navigate to forward
Tesbo will redirected on the Next Page
Refresh PageStep: refresh page
Tesbo will refresh page

Browser Window Action

ActionKeywordDescription
Close Current Browser WindowStep: Close window
Close the current window
Minimize Browser WindowStep: Window minimize
Tesbo will minimize the browser window
Maximize Browser WindowStep: Window Maximize
Tesbo will maximise the browser window
Resize the Browser WindowStep: Window Resize (width,height)
Tesbo will resize te browser Window

Wait

ActionKeywordDescription
Wait Until Element is clickableStep: pause until @element is clickable
Tesbo Will wait untile element became clickable
Wait Until Element is disapperStep: Pause until @element is disappear
Tesbo will wait until given element is going to disappear
Wait Until Element is displayStep: pause until @element is display
Tesbo will wait until given element is going to display
Wait for given secondStep: Pause for 1 sec
Tesbo will wait for the given second

Scroll

ActionKeywordDescription
bottomStep: Scroll to bottom
Scroll to bottom of the page
topStep: Scroll to Top
Scroll to top of the page
coordinateStep: Scroll to coordinate (X,Y)
Scroll to coordinate of the page e.g coordinate (50,500)
elementStep: Scroll to @element
Scroll to given element e.g @AutomationTools
horizontalStep: Scroll to Horizontal
Scroll to horizontal on the page

Alert

ActionKeywordDescription
acceptStep: Switch to alert then accept
First, it will switch to Alert and Accept the condition
closeStep: Switch to alert then close
First, it will switch to Alert and Close the Alert.
enterStep: Switch to alert then enter 'Testing Demo'
First, it will switch to Alert and then enter text in the textbox in the alert
verify textStep: Switch to alert then verify text with 'I am an alert box!'
First, it will switch to alert and then verify text on alert

iFrames

ActionKeywordDescription
elementStep: Switch to frame @SingleIframe
Switch to iFrame using element
idStep: Switch to frame using id 'singleframe'
Switch to iFrame using ID
nameStep: Switch to frame using name 'singleframe'
Switch to iFrame using name
mainStep: Switch to main frame
Switch to Main Frame
parentStep: Switch to parent frame
Switch to Parent Frame

Window

ActionKeywordDescription
mainStep: Switch to main window
Switch to main window
newStep: Switch to new window
Switch to new window
parentStep: Switch to parent window
Switch to parent window

Select From Dropdown

ActionKeywordDescription
using textStep: Select using text 'Enter text you want to select' from @dropdownElement
Select given text from dropdown
using indexStep: Select using index 1 from @dropdownElement
Select text from dropdown using index
using valueStep: Select using value 'enter attribute value of element' from @dropdownElement
Select text using given attribute value of element

Deselect From Dropdown

ActionKeywordDescription
allStep: Deselect all from @MultiSelectDropdownElement
Deselect all value from dropdown
using textStep: Deselect using text 'Enter text you want to deselect' from @multiSelectDropdownElement
Deselect given text from multi select dropdown
using valueStep: Deselect using value 'enter attribute value of element' from @multiSelectDropdownElement
Deselect text using given attribute value from multi select dropdown
using indexStep: Deselect using index 1 from @multiSelectDropdownElement
Deselect text from multi select dropdown using index

Cookies and Cache

ActionKeywordDescription
clear cacheStep: Clear Cache
To clear browser cache data
clear cookiesStep: clear cookies
To clear browser cookies from System

Print

ActionKeywordDescription
print element textStep: Print @element
To Print element text
print textStep: Print "enter text you want to print"
Print or comment text
print textreporter.printStep("Any String");
Print Steps in report from custom step

Screenshot

ActionKeywordDescription
screenshotStep: Capture screenshot
To Capture page screenshot
element screenshotStep: capture screenshot of @element
Capture screenshot of particular element

Assert Attribute

ActionKeywordDescription
attribute value equal toVerify: Get attribute 'attribute name' of @element is equal to 'attribute value'
Assert element attribute value is not equal to given text
attribute value not equal toVerify: Get attribute 'attribute name' of @element is not equal to 'attribute value'
Assert element attribute value is not equal to given text
attribute value equal to ignore caseVerify: Get attribute 'attribute name' of @element is equal to ignore case 'attribute value'
Assert element attribute value is equal to ignore case of given text
attribute value same as given textVerify: Get attribute 'attribute name' of @element contains is 'attribute value'
Assert element attribute text contains is same as given text

Assert CSS Value

ActionKeywordDescription
CSS value equal toVerify: Get css value 'css name' of @element is equal to 'css value'
Assert element CSS value is equal to given text
CSS value not equal toVerify: Get css value 'css name' of @element is not equal to 'css value'
Assert element CSS value is not equal to given text
CSS value not equal to ignore caseVerify: Get css value 'css name' of @element is equal to ignore case 'css value'
Assert element CSS value is equal to ignore case of given text
CSS value containsVerify: Get css value 'css name' of @element contains is 'css value'
Assert element CSS text contains is same as given text

Assert multiple element

ActionKeywordDescription
multiple element with AND conditionVerify: @element text is not equal to 'verify text' And @element text is equal to 'verify text'
Assert multiple element with AND condition
multiple element with OR conditionVerify: @element text is not equal to 'verify text' OR @element text is equal to 'verify text'
Assert multiple element with OR condition
multiple element is displayedVerify: @element @element @element is displayed
Assert that multiple element is displayed or not

Assert

ActionKeywordDescription
current url containsVerify: current url is contains 'url contain'
Current URL contains is available in given text
Current url equal toVerify: Current url is equal to 'URL'
Current URL is equal to same as given URL
number of elementsVerify: @element has size of 'number of element'
Element has given number of elements
element displayedVerify: @element is displayed
Element is displayed or not
element presentVerify: @element is present
Element is present or not
element visibleVerify: @element is visible
Element is visible or not
element contains is ignore caseVerify: @element text contains is ignore case of 'verify text'
Element text contains is ignore case of given text
element containsVerify: @element text contains is 'verify text'
Element text contains is same as given text
element text end withVerify: @element text is end with 'verify text'
Element text is end with same as given text
element text equalVerify: @element text is equal to 'verify text'
Element text is equal to given text
equal to ignore caseVerify: @element text is equal to ignore case 'verify text'
Element text is equal to ignore case of given text
not equalVerify: @element text is not equal to 'verify text'
Element text is not equal to given text
element text start withVerify: @element text is start with 'verify text'
Element text is start with same as given text
element text is alphanumericVerify: @element text should be alphanumeric
Element text should be alphanumeric
element text is numberVerify: @element text should be number
Element text should be number
get cookies and checkVerify: Get cookies and check 'cookie name' is available
Get cookies and check particular cookie is available or not
page title with ignore caseVerify: Page Title is equal to ignore case 'verify text'
Page title is equal to ignore case of given text
page title with same caseVerify: Page Title is equal to 'verify text'
Page Title is equal to same as given text

Keyboard & Mouse Action

ActionKeywordDescription
mouse hover on elementStep: Mouse hover @element
Mouse hover on given element
press key from keyboardStep: Press 'CTRL' Plus 'key' in @Email_Box
Press CTRL + A, CTRL + C and CTRL + V from keyboard
press enter keyStep: Press enter key
Press enter key from keyboard
press enter key on elementStep: Press enter key on @element
Press enter key from keyboard on given element
press tab keyStep: Press tab key
Press tab key from keyboard