Skip to content

Latest commit

 

History

History
40 lines (39 loc) · 7.24 KB

actions.md

File metadata and controls

40 lines (39 loc) · 7.24 KB

Available Actions

Action Description Web Android iOS
openBrowser Starts the driver session and opens the browser
closeBrowser Closes the browser and ends the driver session
openApp Starts the driver session and opens the mobile application
closeApp Closes the mobile app and ends the driver session
installApp Installs the application
activateApp Activates the application
terminateApp Terminates the application
removeApp Removes the application
isAppInstalled Checks if the application is installed
setPage Goes to the specified page
importUser Imports the user from the config into the test storage
setValueToStorage Adds a value to the test storage
switchToWindow Switches to the first other window or to the window with the specified page
closeWindow Closes the active window or the window with the specified page
checkLoadPage Checks that the specified page has loaded and takes a screenshot (if required)
getUrlValue Gets the URL of the current page
click Clicks on an element
setFieldValue Enters a value into an input field
setSelectValue Selects the specified value from the dropdown list
checkElementValue Checks that the element's value matches the expected value
checkInputField Checks the input field for compliance with certain parameters (maximum size, allowed characters, pattern matching)
navigateBack Goes back
isExist Checks for the presence of an element. Returns fail if the element is not found on the page.
isNotExist Checks for the absence of an element. Returns pass if the element is not found on the page.
isEnabled Checks that the element is enabled
isDisabled Checks that the element is disabled
hoverOverElement Moves the cursor over an element
waitTime Waits for the specified time (in milliseconds)
uploadFile Uploads a file in the file upload field
executeSql Executes an SQL query on the database
swipeElement Swipes an element in the specified direction
setLocation Sets the location of the mobile device (latitude and longitude)
checkLocation Checks the current location of the mobile device (latitude and longitude)
checkAlertText Checks the alert text
acceptAlert Accepts an alert
dismissAlert Dismisses an alert