How-to
Navigation (goto)
Navigation (goto)
Opens an address in the worker tab. Value is a path from the root of the run starting domain or a full https URL on a verified team host. A relative path does not use the current tab host: after a COMMON that opened a team subdomain, pick an object-repository page with the full URL for that screen; leave Value empty on the step.
Step model
action_name | goto |
| Group | Navigation |
| Target | Unused |
| Value | Optional (url) |
| expected_value | Unused |
| TEST_ACCOUNT | Forbidden |
| Do not confuse with | waitForURL, toHaveURL |
Target/Value facts match the source-of-truth catalog and Autotest step.
Prerequisites
- A CASE or COMMON autotest in the project.
- For a full URL, the host must be a verified team domain (or its subdomain).
Steps
- Open the autotest and add a step.
- Set the action to
goto. - Leave Target empty.
- In Value enter a path (
/login) or a full URL (https://example.com/login). Or pick an object-repository page: Value is then cleared and the path comes from the catalog. - Value source must be
INLINEonly (when Value is filled). - Optionally set
timeout_ms. - Save the step. Optionally run Check syntax.
The step is stored on the autotest. Next - neighbouring steps or autotest run creation.
Examples
Path on the run domain
Fields in the UI:
| Field | Value |
|---|---|
action_name | goto |
| Target | empty |
| Value | /ru/account/sign-in |
| value_source_type | INLINE |
Step JSON fragment (copy-paste):
json
{
"action_name": "goto",
"value_text": "/ru/account/sign-in",
"value_source_type": "INLINE"
}Full URL instead of a target=_blank click
Fields in the UI:
| Field | Value |
|---|---|
action_name | goto |
| Target | empty |
| Value | https://docs.example.com/help |
| value_source_type | INLINE |
Step JSON fragment (copy-paste):
json
{
"action_name": "goto",
"value_text": "https://docs.example.com/help",
"value_source_type": "INLINE"
}Common mistakes
- Do not use
TEST_ACCOUNTas the value source for goto. - Do not click a new-tab link - open the URL with goto.
- The worker will not open a host outside verified team domains.
- A relative path after
COMMONchanged host opens the screen on the starting domain. For a team subdomain, use a full catalog-page URL. - Breakdown: How to author autotest steps without false failures.
Screenshots
Screenshots of the step form for goto will be added here in a later pass.
Did this page help?