Help Centre › Building Processes
This article describes the RPA Browser functionality to test if elements exist and values are correct.
For a full list of available functions, please read BROWSER functions.
Description
The BROWSER Test if elements exist and values are correct function allows you to test if elements exist and values are correct.
Setting it up
To use the BROWSER Test if elements exist and values are correct function, follow these instructions:
{{popups:rpas/add:action=browser-element-values}}
Once on a process map:
- Navigate to the process where you would like to add the BROWSER Test if elements exist and values are correct function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the BROWSER Test if elements exist and values are correct option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Variable | Yes | Text | - | Variable to store the result |
| Element / Operator / Value triples | Yes | Table | - | Element selectors, comparison operators, and expected values |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Boolean | True if all element values match expectations |
Errors
| Error | Description |
|---|---|
| Browser not open | No browser session is active |
Tips
- Tests multiple elements and their values in a single action