Web Action List
Notes
No | Note | Variable / Hex code | Usage |
---|---|---|---|
1 | To use variables created on the editor screen, you must add the "$" sign as a prefix. | testmore | $testmore |
2 | To use variables saved runtime or saved from the element text add the "##" sign as a prefix. | invio | ##invio |
3 | To compare color you must add the “#“ sign as a prefix to the hex code. | ff0000 | #ff0000 |
Element Dependent Actions
Assert Background Color
Verify the background color of the element matches the expected value.
Set the expected hex code value according to design specifications.
❗Do not forget to add prefixes that are mentioned in the Notes!
Assert Clickable
Check whether the element is clickable.
Set the switch button to true or false according to the acceptance criteria of the scenario.
Assert Color of Element
The color value of the specified element is compared with the given color value.
Set the expected hex code value according to design specifications.
❗Do not forget to add prefixes that are mentioned in the Notes!
Assert Contains Text
Confirm the element contains the specified text content.
Enter the text to search for matching.
Assert Element Text With Given Text
Validate the element's text exactly matches the provided text.
Input the complete expected text string for precise comparison.
Assert Element Visibility
Check if the element is currently visible on the page.
Toggle between true or false as required.
Assert Enabled
Verify the element is active for interaction.
Set to true for enabled elements, false for disabled/grayed-out elements.
Assert Focused
Check if the element currently has focus.
Set to true when element should be focused (like an active input field).
Assert QR Code
Validate the content and readability of a QR code element.
Provide the expected data string the QR code should contain.
Assert Text by OCR
Verify text in images or non-selectable elements using OCR.
Enter the expected text that should be recognized in the element.
Assert Text Length
Validate the character length of the element's text content.
Specify exact length, minimum or maximum character count requirements.
Check Regex
Verify if text matches the specified regular expression pattern.
Enter the regex pattern to validate text content.
Check Regex And Given Text
Compare text against both regex pattern and exact string.
Provide both regex pattern and expected text for dual validation.
Clear Text
Clear all text from an input field.
Use before entering new text to ensure clean input.
Click
Perform a standard click action on the element.
Basic click interaction for buttons/links.
Click And Hold
Click and maintain pressure without releasing.
Use for drag interactions or context menus.
Click Underlined Text
Specifically target and click underlined text.
Special handler for underlined text elements.
Click Word in Sentence
Click on the part of the text taken by image processing in the entire screen that matches the provided text.
Enter the word you want to click into the textbox.
Double Click
Perform two rapid clicks on the element.
Trigger double-click event handlers.
Drag And Drop
Drag element to target location.
Define source and destination elements.
Element Exists
Check whether the selected element exists on the screen.
Set the switch button to true or false in the parameter section.
Find Element Again
Refresh element reference in DOM.
Use when elements may be re-rendered.
Get Attribute
Retrieve specified attribute value.
Enter attribute name (e.g., "href", "data-testid").
Get Cell Value
Extract value from specific table cell.
Identify cell by row/column order.
Get Column Count
Count columns in a table/grid structure.
Returns numeric column count.
Get Property
Retrieve JavaScript property value.
Access properties like "value", "checked" etc.
Get Row Count
Count rows in a table/list structure.
Returns numeric row count.
Greater Than (Number)
Verify numeric value exceeds threshold.
Enter minimum expected number.
Is Checked
Check if checkbox/radio is selected.
Set the switch button to true or false in the parameter section.
Is Selected
Verify dropdown option is selected.
Check selected state in select elements.
Move To Element
Hover mouse over element.
Trigger hover states without clicking.
Pull to Refresh
Simulate pull-to-refresh gesture.
Mobile-style refresh action.
Right Click
Perform context menu click.
Trigger right-click event handlers.
Save Text of Element
Store element's text as variable.
Save for later assertions/comparisons.
❗To use variables you saved do not forget to add prefixes that are mentioned in the Notes!
Save Text of Element With RegEx
Extract and store text portion matching regex.
Capture specific text patterns.
Scroll From Origin
Scroll from element by specified pixels.
Define x/y scroll offsets.
Scroll To Element
Ensure element is in viewport.
Auto-scrolls page to element location.
Select Action
Select an option from dropdown/menu elements.
Specify the option by index, value or visible text.
Set Text
Enter text into an input field or editable element.
Input text exactly as it should appear, supports variables.
Swipe Direction With Percentage
Perform swipe gesture with controlled distance.
Define direction (up/down/left/right) and swipe percentage.
Swipe Down
Perform downward swipe gesture.
Full-screen downward swipe.
Swipe Left
Perform leftward swipe gesture.
Full-screen left swipe, common for carousels/tabs.
Swipe Right
Perform rightward swipe gesture.
Full-screen right swipe, opposite of swipe left.
Swipe Up
Perform upward swipe gesture.
Full-screen upward swipe.
Switch to Frame
Shift focus to specified iframe context.
Identify frame by index, name or web element.
Take Screenshot
Capture screenshot of element.
Save as evidence or for visual comparison testing.
Generic Actions
Add Cookie
Add a new cookie to current browser session.
Set name, value, domain, path and expiration parameters.
Alert Action
Handle JavaScript alert/prompt/confirm dialogs.
Accept or dismiss modal dialogs.
Alert Text Assertion
Verify text content in alert dialogs.
Validate alert message.
Assert Contain Text
Check whether the text saved as a variable contains the given or other saved variable text.
Enter variables or text you want to compare into textboxes.
❗Do not forget to add prefixes that are mentioned in the Notes!.
Assert Page Title
Validate browser tab/window title.
Check full title match.
Assert Text
Verify the text saved as a variable matches the given or other saved variable text.
Input variables or text you want to compare.
Assert Text by OCR
Verify screen text using optical recognition.
Works on non-selectable UI elements/images.
Click Element Has Given Text
Click any element containing specified text.
Text-based targeting without element selectors.
Click Nth Item
Click instance number of matching elements.
Index-based interaction (e.g., 3rd button).
Close
Close current browser window/tab.
Doesn't terminate session if other tabs open.
Delete A Cookie
Remove specific cookie by name.
Targeted cookie removal.
Delete All Cookies
Clear all cookies for current domain.
Full cookie cleanup.
Find in the Page
Trigger browser's find-on-page function.
Programmatic Ctrl+F equivalent.
Generate Random Variable
Create randomized test data.
Supports numbers, strings, emails etc.
Get Cookie
Retrieve cookie value by name.
Read authentication tokens/session data.
Get Current URL
Capture full page URL.
Store for navigation verification.
Get Current Window Handle
Get identifier for active browser tab.
For multi-window/tab management.
Get Window Position
Capture browser window coordinates.
Monitor X,Y screen position.
Get Window Size
Retrieve browser window dimensions.
Width/height in pixels.
Navigate Back
Browser history backward.
Programmatic "back button".
Navigate Forward
Browser history forward.
Programmatic "forward button".
Navigate To
Loads a specified URL in the current browser window.
Equivalent to typing directly in the address bar.
Open New Window
Opens a new browser window or tab.
Can launch blank page.
Print the Page
Triggers browser's print dialog.
Generates PDF or physical print output.
Redirect To URL
Forces immediate page redirection.
Simulates 301/302 redirect behavior.
Refresh The Page
Reloads current page completely.
Performs hard refresh (cache bypass).
Release Mouse
Releases mouse button after hold action.
Complements click-and-hold operations.
Reset App
Returns application to initial state.
Clears sessions, cookies and caches.
Run Soap Command
Executes SOAP API request.
- Select the request method.
- Enter the request URL, Headers, and Body.
- Type the Key name from the response into the “Keys” textbox to display its value in the scenario report.
Example:
Keys: users[0].name
Save Runtime Variable
Stores temporary test variable.
Persists values between test steps.
Scroll By Amount
Scrolls by exact pixel values.
Precise viewport positioning.
Send Curl Request
Performs HTTP request via cURL.
Enter the cURL request’s URL, headers, and data.
Example:
Request: curl -X POST https://testmore.com/echo/post/json -H 'Content-Type: application/json' -d '{"login":"my_login","password":"my_password"}'
Textboxes:
URL: https://testmore.com/echo/post/json
Headers: Content-Type: application/json
Data: "login":"my_login","password":"my_password"
Set Window Dimension
Resizes browser window.
Accepts width/height in pixels.
Set Window Position
Moves browser window on screen.
Sets X/Y coordinates.
Set Window Size
Adjusts browser window dimensions.
Mobile/desktop viewport simulation.
Swipe Down
Performs full downward swipe.
For mobile/web touch interfaces.
Swipe Up
Performs full upward swipe.
Common for refresh actions.
Swipe Down Until Find
Repeatedly swipes down until element appears.
Auto-terminates when found.
Swipe Up Until Find
Repeatedly swipes up until element appears.
For scrollable containers.
Switch to Parent Content
Returns to main document from iframe.
Exits nested frame context.
Switch Window
Changes focus between browser tabs/windows.
Uses window handles.
Take ScreenShot
Captures current viewport image.
Saves as an evidence.
Tap by Coordinates
Click exact screen coordinates.
Absolute positioning.
Wait
Pauses test execution.
Millisecond waiting.