Skip to main content

assert_value

Assertions

Asserts the current value of a form input or extracted variable.

Parameters

Parameter Type Required Default Description
selector string Yes Element selector using type=value format
expected_value string Yes Expected value
iframe string No CSS selector for iframe context
timeout number No 5000 Maximum wait time in milliseconds

Usage Example

RTILA X PROJECT JSON

    {
  "command": "assert_value",
  "params": {
    "selector": "css=#email",
    "expected_value": "alice@example.com",
    "iframe": "",
    "timeout": 5000
  }
}
  

Related Scenarios

Related Learning Articles

Was this helpful?