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
Mobile Step Definition
- Alert Events
- Application Events
- I Open the ios native Application with “applicationVar_name” configuration
- I Open the android native Application with “applicationVar_name” configuration
- Uninstall App from Mobile Device “
“ - Install given Application in Mobile Device with “applicationVar_name” configuration
- go back to mobile screen
- invoke Application in Mobile Device “applicationVar_name”
- go forward to mobile screen
- close the android application with “applicationVar_name” configurations
- close the opened application in ios mobile
- Browser Events
- Checkbox & Drop-Down Events
- Click & Touch Events
- click on element “element_name” with x value
and y value in mobile screen - swipe “
” mobile screen - double click on coordinates with x value “
” and y value “ ” in mobile screen - click on coordinates with x value “
” and y value “ ” in mobile screen - release the element “element_name” in mobile screen
- hold the element “element_name” in mobile screen
- tap and hold element “element_name” for
seconds in mobile screen - tap on element “element_name” in mobile screen
- double tap on element “element_name” in mobile screen
- Click on mobile button “element_name”
- drag element “element_name” and drop to “element_name” element in mobile screen
- click and hold using “
” xCords and “ ” yCords in mobile screen - swipe “
” mobile screen - move and release using “
” xCords and “ ” yCords in mobile screen - drag mobile element “element_name” into another mobile element “element_name” using image identification
- drag from co-ords “
” x-value & “ ” y-value and drop to “ ” x-value & “ ” y-value in mobile screen - tap on mobile element “element_name” using image identification
- long tap on mobile element “element_name” using image identification
- double tap on mobile element “element_name” using image identification
- swipe the element “element_name” in “
” direction in mobile screen - click if the element “element_name”” exists
- click on element “element_name” with x value
- Input Events
- press key “
” in mobile screen - type text
into non-input location “element_name” in mobile screen - press “
” key on “element_name” element in mobile screen - type text
into input location “element_name” in mobile screen - enter text “
” in mobile input field “element_name” - enter value “element_name” for radioButton in mobile screen
- enter value
for dropdown “element_name” in mobile screen
- press key “
- Other Events
- hide mobile keyboard
- unlock mobile device
- lock mobile device
- change mobile app default timeout to “
” seconds - wait “
” seconds for mobile element - rotate mobile device to “
” position - read otp from the message “element_name” and store as “
” in mobile screen - read text from the field “element_name” and store as “
” in mobile screen - open notification bar in mobile
- generate random text of length “
” and store as “ ” for mobile input field” - generate random number of length “
” and store as “ ” for mobile input field - combine “
” testdata with “ ” testdata and save it as “ ” in mobile” - save value “
” to clipboard in mobile - paste value from clipboard to element “element_name” in mobile
- UI Verification
- verify mobile device is locked
- verify partial text
does not exist into non-input field “element_name” in mobile screen - verify partial text
is displayed into non-input field “element_name” in mobile screen - verify partial text
is displayed on input field “element_name” in mobile screen - verify “element_name” element is not displayed in mobile screen
- verify app “
” is installed on the mobile device - verify “testdata_name” text at “element_name” input location in mobile screen
- verify “element_name” element is displayed in mobile screen
- verify mobile element “”element_name”” is not present on the screen using image identification
- verify “
” text at “element_name” non-input location in mobile screen - verify partial text “
” does not exist on input field “element_name” in mobile screen - verify mobile element “element_name” is present on the screen using image identification
release the element “element_name” in mobile screen
release the element “element_name” in mobile screen
release the element “element_name” in mobile screen
Keyword
Given, When, And, Then
Description
Will release the given element
Declaration
- Code
- Element
- Application
- Test Data
Then release the element "SearchButton" in mobile screen
"
SearchButton
XPATH
//android.widget.ImageView[@content-desc=""Search""]
"
NILL
NILL
Remarks
- The “element_name” that is used through element data file should be in double quotes.
Restriction
- “element_name” should be corresponds to a valid element in the application.
- Last updated on: April 9, 2024
Table of contents