---
title: "Actions"
section: "Discover"
description: "Work with SmartestQA actions: create one by hand with its locators, find and edit actions in the Action List, fix unreachable pages, and rename, duplicate or delete without breaking tests."
url: https://docs.smartestqa.ai/en/discover-actions.html
audience: [customer, admin]
updated: 2026-11-07
keywords: "action create action edit action locator action detail action list filter inline edit unreachable auto-fix rename duplicate delete"
---
# Discover: Actions

An action is one control on one page. This page covers creating actions by hand, working in the Action List, and changing or deleting actions without breaking tests.

## In short

**On this page you can**

- Create an action by hand with its page, type, name and locators.
- Find actions with module, page pills, column filters, tags and last-run status.
- Edit Page Name, Action Name and Navigates To directly in the list.
- Fix unreachable pages by hand or with Auto-fix .
- Rename, duplicate or delete actions without breaking test cases.

**How to use it**

1. Click New Action and fill Page Name , Action Type and Action Name .
2. Add one row per locator with Add Action Detail , then save.
3. Narrow the list with page pills and filters; double-click a cell to edit it.
4. Click the “ n unreachable” chip or Auto-fix to fill missing Navigates To.
5. Before deleting, check the Cases badge and replace the action in those tests.

## Create or edit an action by hand

Use **New Action** when you already know the locator, when the control cannot be scanned (for example it appears only after a long flow), or to add a fallback locator to a recorded action.

| Field | Required | Notes |
| --- | --- | --- |
| Page Name | Yes | Type a new name or pick an existing page from the suggestions. |
| Action Type | Yes | Only types for your [project type](https://docs.smartestqa.ai/en/quick-start-project.html#project-type) are listed. Defaults: Type (web), [MobileTap](https://docs.smartestqa.ai/en/automate-steps-mobile.html#touch) (mobile), [DesktopClick](https://docs.smartestqa.ai/en/automate-steps-desktop.html#mouse) (desktop). |
| Action Name | Yes | Verb first: `Click Save`, `Type Search`. |
| Navigates To | No | The page this action leads to, for example `pipeline` or `homepage_modal`. |
| Action Detail | For a usable action, yes | Click **Add Action Detail** for each locator. **Key** is the locator type, **Value** the locator. |
| Tags | No | Available after the first save. |

![The Create Action dialog.](https://docs.smartestqa.ai/media/shots/DSC-SHOT-03.png)

Web action types: [Click](https://docs.smartestqa.ai/en/automate-steps-browser.html#click), [Hover](https://docs.smartestqa.ai/en/automate-steps-browser.html#hover), [Type](https://docs.smartestqa.ai/en/automate-steps-browser.html#type), Clear & Type, [Select](https://docs.smartestqa.ai/en/automate-steps-browser.html#select), [Navigate](https://docs.smartestqa.ai/en/automate-steps-browser.html#navigate), [Get](https://docs.smartestqa.ai/en/automate-steps-browser.html#get), [Visibility Check](https://docs.smartestqa.ai/en/automate-steps-browser.html#visibility-check), Double Click, Right Click, [Wait (seconds)](https://docs.smartestqa.ai/en/automate-steps-browser.html#wait-seconds). [Mobile](https://docs.smartestqa.ai/en/automate-steps-mobile.html) and [desktop](https://docs.smartestqa.ai/en/automate-steps-desktop.html) projects have their own lists.

Example · action “Type Email” on page login

```text
Key    Value
id     email
css    form#login input[type=email]
xpath  //form[@id='login']//input[@name='email']
```

Values that start with `input` or `{{` are [treated as values](https://docs.smartestqa.ai/en/automate-steps-variables.html#syntax), not locators. In a MOBILE project each detail row also has an Android/iOS platform field; it is stored for reference and does not change how the test runs.

The dialog does not close when you click outside it, and pressing `Enter` anywhere saves. Missing fields show “Please fill in the Page Name field.”, “Please fill in the Action Name field.” or “Please select an Action Type.”

## Work with the Action List

### Find actions

- **Module** and **page pills** narrow the list. Each pill shows that page’s action count; the active pill shows the current result total.
- **Column filters** on Page Name, Action Name and Navigates To match any part of the text, ignoring case. They apply 1.5 seconds after you stop typing.
- **Action Type** has a multi-select list with **Clear all**.
- **Filter By Tags** (last column) takes Include and Exclude tags and **Filter By Status (Last Run)**: Success, Failed (also matches errors), Running.
- The default order is newest first. Show 10, 25, 50 or 100 rows per page.

### Edit in place

Double-click a Page Name, Action Name or Navigates To cell (or focus it and press `Enter` or `F2`). `Enter` saves, `Esc` cancels. An empty value is ignored, so you cannot clear a field here; open the action with **Edit** instead. Hover a row for **Edit**, **Duplicate** and **Delete**.

### Unreachable pages and Auto-fix

A page is **unreachable** when no action has it as Navigates To. The chip “*n* unreachable” appears when two or more visible pages are unreachable; a single one is assumed to be your start page and is ignored. Click the chip to list them. Clicking a name copies it, so you can paste it into a Navigates To cell.

**Auto-fix** looks at [test cases](https://docs.smartestqa.ai/en/automate-test-cases.html) for actions that ran successfully, have an empty Navigates To and are followed by a step on a different page, and sets Navigates To to that page. It reports “*n* actions updated with navigatesTo.” or “No missing navigatesTo found.”

Video: [Clean up the Action List](https://docs.smartestqa.ai/media/videos/DSC-05.mp4) (2:00)

Filters, inline editing, unreachable pages, Auto-fix and the Cases badge.

Video transcript: The Action List holds every action Discover recorded: the building blocks of your test steps. The page pills filter the list to one page of your application. Each column has its own filter: page name, action name, where it navigates to, and type. A row shows the action, its type, its locator, and in Cases how many test cases use it. The unreachable chip counts pages that no recorded action leads to. Auto-fix proposes the missing links. Edit, Duplicate and Delete are at the end of each row.

## Change, copy and delete safely

### Renaming a page or an action

- **Test cases keep working.** Steps point at actions by ID, not by name.
- **Module membership and App Map records follow the page name.** A renamed page leaves its module ([reassign it](https://docs.smartestqa.ai/en/discover-app-map.html#modules)) and shows **Not on map** until you run [Update map](https://docs.smartestqa.ai/en/discover-app-map.html#update-map).
- **Notes scoped to the old name** no longer match a page, so they are [treated as tags and sent with every request](https://docs.smartestqa.ai/en/discover-notes.html#notes-to-ai). Re-scope them.

### Duplicating

**Duplicate** opens Create Action pre-filled. When you save, SmartestQA checks whether an action with the same project, type, page, name (both ignoring case) and main locator already exists; if it does, it returns that action instead of creating a copy. To get a real copy, change the name, the page or the locator before saving.

### Deleting

- [Admins, Super Admins](https://docs.smartestqa.ai/en/company-settings-roles.html) and the person who created the action can delete it. Others get “You do not have permission to delete this action.”
- An action with no links asks for a simple confirmation.
- An action used by test cases or [data sources](https://docs.smartestqa.ai/en/data-source-variables.html#connected-actions) shows those links first, with a warning: **Delete Anyway** deletes the action **and every test step that uses it**, plus its data source mappings, [suite parameters](https://docs.smartestqa.ai/en/schedule-settings.html#pipeline-parameters) and tags. There is no undo.
- Safer: check the [Cases badge](https://docs.smartestqa.ai/en/discover-numbers.html#cases-badge), [replace the action in those tests](https://docs.smartestqa.ai/en/automate-editor.html#replace-action), then delete.

> **Important: Delete Anyway changes test cases**
>
> Tests that used the action lose that step and may now pass for the wrong reason. Never use Delete Anyway on an action with a high Cases count.

There is no bulk delete, bulk edit, import or export of actions. An [AI assistant connected through MCP](https://docs.smartestqa.ai/en/mcp-connect.html) can create and update actions for you (see [MCP](https://docs.smartestqa.ai/en/discover-faq.html#mcp)).

## If something goes wrong

- [Every recorded action shows XPath in amber](https://docs.smartestqa.ai/en/discover-troubleshooting.html#fix-fragile-everywhere)
- [Duplicate did not create a copy](https://docs.smartestqa.ai/en/discover-troubleshooting.html#fix-duplicate-no-copy)
- [I can’t delete an action](https://docs.smartestqa.ai/en/discover-troubleshooting.html#fix-cannot-delete)
- [I can’t clear Navigates To by double-clicking](https://docs.smartestqa.ai/en/discover-troubleshooting.html#fix-inline-clear)
- [The “n unreachable” chip won’t go away](https://docs.smartestqa.ai/en/discover-troubleshooting.html#fix-unreachable)
