Entity Explorer is ACCELQ's workspace for searching the assets in your Project and tracing how they relate to each other. It helps you answer the questions that arise when you maintain automation at scale, such as where an Action is used, which tests a change affects, and which assets can be safely removed.
With Entity Explorer, you can:
- Find any entity by its full or partial name
- Search annotation text in Action logic, such as "TODO" notes that mark work to finish later
- View every entity a user currently has checked out
- Trace where Actions, Elements, Contexts, Scenarios, Commands, Command Libraries and data resources are used
- Find every Scenario affected by an Action change, including Scenarios that call it through other Actions, then run them or add them to a Test Suite
- Find unused Actions, Elements and Views so the Project stays easy to navigate and maintain
Starting an Exploration
Every exploration starts in the Entity Explorer dialog. Choose what you want to explore in Explore for, provide the input that exploration requires, such as an Action name or a User name, and click Search. Results open in their own tab, so you can keep an Action open in one tab and its references in another.
The explorations in the Explore for list are grouped in the same order as the sections of this article: Find by Name, Text Search, User Activity, Entity References, Command References, Data References and Optimization. The list is searchable. Type part of an exploration's name, such as Data Pool, to narrow the list to matching explorations.
From Global Search: Open Entity Explorer
Global Search in the top bar finds a Scenario, Action or other entity by its name or ID. When your question goes beyond a name lookup, such as which Scenarios take test cases from a particular Data Pool, click the Entity Explorer link that appears below the search field. The Entity Explorer dialog opens, ready for you to choose an exploration.
From an Entity: Show References
While working on an Action, open the ⋯ menu at the top right of the Logic Editor and click Show References. Entity Explorer opens with that Action already selected and displays its results immediately.
Recents: Reopen an Earlier Exploration
The Recents list holds your recent explorations. Reopening an exploration runs it again, so the results reflect the current state of the Project rather than its state at the time of the original search.
Working with Results: Open, Refresh and Explore Again
Each result is a link. Click an ID to open that entity in its own tab. Results are grouped by entity type into collapsible sections, each showing a count. The controls in the results header work as follows:
- Explore New opens the Entity Explorer dialog for a different exploration.
- Expand all and Collapse all open or close every section.
- Refresh runs the exploration again, so the results include any changes made to the Project since it last ran.
- The edit icon next to the selected entity lets you choose a different entity for the same exploration.
Find by Name
Find by Name locates entities when you know all or part of a name.
Search Entities by Name: Find Entities from Part of a Name
Type any part of a name and Entity Explorer lists every matching entity (Test Suite, Scenario, Context, Action) in the Project, grouped by type. For example, typing QBank returns the Action "Login in to QBank", the Context "QBank Dashboard" and the Scenario "QBank Funds Transfer" together, so you can see everything related to that application in one list.
Text Search
Text Search finds text that your team has added to Action logic.
Annotations in Action Logic: Find Notes Left in Actions
Annotations are plain text notes you place in Action logic. They have no effect when the Action runs, which makes them useful for markers such as TODO notes that identify work to finish later. Annotations in Action Logic searches annotation text across every Action in the Project.
For example, if your team annotates unfinished work with TODO, a search for TODO lists every Action that still has pending work, along with the annotation text, so you can address each one.
User Activity
User Activity shows the entities that members of the Project are currently working on.
Checked-Out Entities: See What a User Has Checked Out
Select a user from the list, including yourself, to see every entity that user currently has checked out. This is useful when an Action you need to edit is checked out by a teammate and you want to see what else they have checked out, or before a release, to confirm that none of your own entities remain checked out.
With intelligent dependency analysis, powerful bulk actions, and different views for organizing your work, the Checkout Explorer streamlines the entire check-in process, making it faster, safer, and more collaborative. Further details on the capabilities in this view can be found here.
Entity References
The Entity References explorations show where a test asset is used.
Action References: Find Every Caller of an Action
Action References lists the Scenarios and Actions that call a given Action, along with the step or line where each call occurs. By default, it shows direct calls only. Turn on Include Indirect References to also include Scenarios that call the Action through other Actions. This is described in detail in Testing the Impact of an Action Change, later in this article.
Element References: See What Depends on an Element
Element References lists the Actions that use a given Element (smart locator elements), as well as any Elements that use it as an anchor. Review these references before you change how an Element is identified. For example, before you update the Sign In button in the QBank Login Page Context, Element References shows every Action that clicks it and every Element located relative to it.
Elements of given Type: List Elements by Element Type
Elements of given Type lists every Element of a given type, such as Web Button or Web Input. Use it to review Elements of the same type across Contexts. For example, when your application changes how its form fields are rendered, you can review every Web Input in the Project.
Scenario References: Find the Test Suites That Include a Scenario
Scenario References lists the Static Test Suites that include a given Scenario. Review these Suites before you retire or restructure a Scenario, so you know which Suites will be affected.
Context References: Find Scenarios with Steps in a Context
Context References lists the Scenarios that have at least one step whose origin Context is the given Context. For example, after the QBank Dashboard page is redesigned, Context References for QBank Dashboard shows every Scenario with steps that start on that page, so you know which flows to verify.
Command References
The Command References explorations show where a given command is used in Action logic, either for an individual command or for an entire Command Library.
Command References: Find Actions That Use a Command
Command References lists the Actions with at least one statement that uses a given command. For example, you can find all Actions that use a fixed wait and replace it with a condition-based wait.
Command Library References: Find Actions That Use a Command Library
Command Library References lists the Actions that use any command from a given Command Library.
Data References
Data References shows where shared values and data definitions are used, so you can assess the effect of a change before you make it.
Global Property References: Find Where a Global Property Is Used
Global Property References lists the Actions and Scenario steps that use a given Global Property, across both automated and manual Scenarios. For example, before you change QBankURL for a new environment, you can see every Action and step that reads it.
Data List References: Find Parameters That Use a Data List
Data List References lists the Actions whose input parameters use a given Data List, and the manual Scenarios that use it in their parameter definitions. For example, before you add Business to the AccountType Data List, you can see which Actions and manual Scenarios will offer the new value.
Run Property References: Find Scenarios That Use a Run Property
Run Property References lists the Scenarios that use a given Run Property. A Run Property works like a Global Property inside a Scenario, except that its value is requested each time the test is started.
Data Pool References: Find Scenarios That Use a Data Pool
Data Pool References lists the Scenarios that take test case parameter values from a given Data Pool. For example, before you restructure the QBank Customer Accounts Data Pool, you can see every Scenario whose test cases depend on its records.
Testing the Impact of an Action Change
When you change an Action, every Scenario that runs it needs retesting, not only the Scenarios that call it directly. Action References identifies all of these Scenarios and lets you run them.
For example, suppose you update the Action Login in to QBank to handle a new security prompt. The Scenario QBank Funds Transfer calls it directly. The Scenario Loan Application E2E does not call it directly, but it calls Open Loan Workspace, which calls Invoke browser and login to QBank, which calls Login in to QBank. Both Scenarios run your change, so both need to be retested.
Direct References: Who Calls the Action
Action References opens with direct references in two sections:
- Scenarios lists the Scenarios that call the Action, along with the step where each call occurs.
- Actions lists the Actions that call it, along with the line where each call occurs.
Direct references are the relevant set when you change the Action's inputs, because only direct callers pass values to the Action. Open each caller and update it accordingly.
Include Indirect: Scenarios That Reach the Action Through Other Actions
Turn on Include indirect references in the Scenarios section header to add every Scenario that calls the Action through other Actions, at any depth. The section header then shows the number of direct and indirect Scenarios, for example 2 direct, 4 indirect.
Each indirect Scenario shows a call chain under its name, starting from the Action the Scenario calls directly:
↳ Open Loan Workspace › Invoke browser and login to QBank
Read it left to right: the Scenario calls Open Loan Workspace, which calls Invoke browser and login to QBank, which calls the Action you are exploring. Hover over a name to see its ID, or click it to open that Action.
Running the impacted Scenarios
Select Scenarios with the checkbox on each row, or use the checkbox in the section header to select every Scenario shown. A toolbar appears at the bottom of the screen with Run button.
Asset Optimization
The Optimization explorations find assets that are no longer used. These assets accumulate as applications change and tests are reworked, and they make the Project harder to search. Removing them keeps the Project easier to navigate and maintain.
Unused Actions: Find Actions That Are Not Called
Unused Actions lists the Actions that no Scenario or other Action calls. For example, after you consolidate three login Actions into Login in to QBank, Unused Actions confirms that the earlier Actions are no longer called before you delete them.
Unused Elements: Find Elements That Are Not Used
Unused Elements lists the Elements that no Action uses, across the whole Project or within one Context. For example, after the QBank Dashboard page is redesigned, run Unused Elements for the QBank Dashboard Context to find the Elements that the previous layout used and the new one does not.
Unused Views: Find Views with No Mapped Elements
Unused Views lists the Views that have no mapping to any Smart Locator Element in the Element Repo, across the whole Project or within one Context.
Comments
0 comments
Please sign in to leave a comment.