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
use shadowdom using the selectors:
use shadowdom using the selectors:
use shadowdom using the selectors:
Keyword
Given, When, And, Then
Description
will select the shadowdom and will search for elements within this dom
Declaration
- Code
- Element
- Application
- Test Data
Then use shadowdom using the selectors:
|mainDOM|
mainDOM
CSS SELECTOR
body > macroponent-f51912f4c
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 23, 2024
Table of contents