Solitera may collect certain information by automated means, such as cookies and web beacons, when a user visits our website. A “cookie” is a small piece of data that a website can send to your browser, which may then be stored on your system. learn more
Desktop step-Definition
- Alert Events
- Browser Events
- use “application_name” browser for execution
- navigate to URL “application_name”
- click on goback button
- click on refresh button
- click on goforward button
- close browser
- maximize window
- minimize window to size of width “<testdata_name>” and height “<testdata_name>”
- open a new tab and navigate to “application_name”
- close current tab
- switch to tab which was saved using name “<testdata_name>”
- save current tab using name “<testdata_name>”
- switch to browser saved as “<testdata_name>”
- save the current browser as “<testdata_name>”
- set browser page zoom level to “<testdata_name>”%
- delete cookies with name “<testdata_name>”
- switch to previous tab
- switch to next tab
- open a new tab
- Button & Dropdown
- File Handling
- Frame & Scroll Event
- Input Events
- save value “<testdata_name>” to clipboard
- paste value from clipboard to element “element_name”
- enter value “<testdata_name>” for element “element_name”
- enter saved value “<testdata_name>” for element “element_name”
- press “<testdata_name>” key on element “element_name”
- press “<testdata_name>” key on current cursor location
- press “<testdata_name>” key with the combination of “<testdata_name>” on element “element_name”
- Enter random text of length “String Value” and store as “Variable Name”
- type “<testdata_name>” text into current cursor location
- type “<testdata_name>” text for the element “element_name”
- insert “<testdata_name>” text into tag of element “element_name” at end position
- insert “<testdata_name>” text into tag of element “element_name” at starting position
- insert “<testdata_name>” text into tag of element “element_name”
- select all text from input element “element_name”
- generate random text of length “<testdata_name>” and store as “<testdata_name>”
- combine “<testdata_name>” testdata with “<testdata_name>” testdata and save it as “<testdata_name>”
- UI Verification
- wait for “<testdata_name>” seconds
- wait for “<testdata_name>” minutes
- verify checkbox “element_name” is unchecked
- verify checkbox “element_name” is checked
- verify text “<testdata_name>” on page
- verify text “<testdata_name>” is equal to text in element “element_name”
- verify element “element_name” is displayed on the UI
- verify element “element_name” is not displayed on the UI
- verify text “<testdata_name>” is partially present in element “element_name”
- get text from element “element_name” and store as “<testdata_name>”
- verify text “<testdata_name>” on visible display using OCR
- if element “element_name” is not present on UI then click on element “element_name” else do nothing
- verify text in alert box equal to “<testdata_name>”
- click on button “element_name” and verify text in alert box partial matches with “<testdata_name>”
- click on button “element_name” and verify text in alert box equal to “<testdata_name>”
- if element “element_name” is present on UI then click on it else do nothing
- if text “<testdata_name>” does not exists on the UI, then click on element “element_name” else do nothing
- verify attribute property “<testdata_name>” contains value equals to “<testdata_name>” for element “element_name”
- verify css property “<testdata_name>” contains value equals to “<testdata_name>” for element “element_name”
- verify element “element_name” is present and count of the same is “<testdata_name>”
- verify text “<testdata_name>” is equal to text in element “element_name” using OCR for max “<testdata_name>” times
- verify text “<testdata_name>” is equal to text in element “element_name” using OCR
- verify text “<testdata_name>” on visible display using OCR for max “<testdata_name>” times
- verify text “<testdata_name>” is not even partially present in element “element_name”
- verify timer is within “<testdata_name>” seconds
- verify url contains “<testdata_name>”
- verify text in alert box partial matches with “<testdata_name>”
- Mouse Events
- Right click on button “element_name”
- Hover mouse to element “element_name”
- Double click on button “element_name”
- Hold left mouse button on “element_name” element
- Release left mouse button on “element_name” element
- click “<testdata_name>” times on element “element_name” with an interval of “<testdata_name>” milliseconds
- click on element “element_name”
- scroll mouse and make element “element_name” visible
- click on element “element_name” and move focus to previous tab
- drag element “element_name” and drop at xCords “<testdata_name>” and yCords “<testdata_name>” from element
- drag element “element_name” into another element “element_name”
- hover mouse to element “element_name” and perform click
- scroll mouse to page bottom
- scroll mouse to page top
- scroll mouse to page right from element “element_name”
- scroll mouse to page left from element “element_name”
- scroll mouse wheel to “<testdata_name>” direction “<testdata_name>” times on element “element_name”
- drag element “element_name” into another element “element_name” using image identification
- hover mouse to element “element_name” and perform click using image identification
- double click on element “element_name” using image identification
- right click on element “element_name” using image identification
- click on element “element_name” using image identification
- hover mouse to element “element_name” using image identification
- hover on xCords “<testdata_name>” and yCords “<testdata_name>” on element “element_name”
- click on xCords “<testdata_name>” and yCords “<testdata_name>” on element “element_name”
- Other Operations
- generate random email and store as “<testdata_name>”
- start timer
- extract text of element “element_name” and save it as “<testdata_name>” using OCR
- save coordinates of text “<testdata_name>” in element “element_name” at “<testdata_name>” position using OCR where xcoordinate is saved using name “<testdata_name>” and ycoordinate using name “<testdata_name>”
- get past date of “<testdata_name>” hours from now and save as “<testdata_name>” variable in format “<testdata_name>”
- get past date of “<testdata_name>” days from today and save as “<testdata_name>” variable in format “<testdata_name>”
- get future date of “<testdata_name>” hours from now and save as “<testdata_name>” variable in format “<testdata_name>”
- get future date of “<testdata_name>” days from today and save as “<testdata_name>” variable in format “<testdata_name>”
- replace ?changeHere? text with text “<testdata_name>” in element value of name “element_name”
- change default timeout to “<testdata_name>” seconds
- generate random email and store as “<testdata_name>”
- generate random number of length “<testdata_name>” and store as “<testdata_name>”
- generate random text of length “<testdata_name>” and store as “<testdata_name>”
- pause element unhighlight on steps
- pause element highlight on steps
- resume element unhighlight on steps
- resume element highlight on steps
scroll mouse to page left from element “element_name”
scroll mouse to page left from element “element_name”
scroll mouse to page left from element “element_name”
Keyword
Given, When, And, Then
Description
Will scroll Horizontal scrollbar left to specified element
Declaration
- Code
- Element
- Application
- Test Data
When scroll mouse to page left from element "chooseMethodologyDropDown"
"
chooseMethodologyDropDown
XPATH
(//div[@class='mdc-select__anchor'])[2]
"
NILL
NILL
Remarks
- The “String Value” that is used through test data file should be in angular brackets
- We can use any variable name
Restriction
- Element and application file should be in xml format.
- Last updated on: January 16, 2024
Table of contents