Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
How to select the correct UI action button in the ATF test step 'Click a UI Action' when multiple UI actions have same name. - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • How to select the correct UI action button in the ATF test step 'Click a UI Action' when multiple UI actions have same name.
KB0825609

How to select the correct UI action button in the ATF test step 'Click a UI Action' when multiple UI actions have same name.


4020 Views Last updated : Apr 8, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

Multiple UI actions have same name, so identifying the UI action related to form being tested in the ATF test step 'Click a UI Action' is confusing.

For example: Lets say we are creating an ATF test to open a dmn_demand form, populate some values and click save buttion.

In the ATF test step 'Click a UI Action', on clicking the search icon beside 'UI Action' and filtering for name is 'Save', we have multiple 'Save' UI actions.

Resolution

1. Open the form to be be tested in chrome browser manually.

2. Click on 'Customize and control Google Chrome' (three dots) and select 'More Tools' ==> 'Developer Tools'. Console log window is opened.

3.Click on 'Select an element in the page to inspect it' and then place the cursor on the UI action to be tested in ATF. We can find the sys_id of the UI action in the elements tab of browser console.

 

4. In the ATF test step 'Click a UI Action', Click on the search icon beside 'UI Action' and filter for sys_id is  'e24673f193c00300ea933007f67ffb1a'. Then the correct save UI action related to form being tested is visible.

 

 


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • Cookie Preferences
  • © 2025 ServiceNow. All rights reserved.
We use cookies on this site to improve your browsing experience, analyze individualized usage and website traffic, tailor content to your preferences, and make your interactions with our website more meaningful. To learn more about the cookies we use and how you can change your preferences, please read our Cookie Policy and visit our Cookie Preference Manager. By clicking “Accept and Proceed,” closing this banner or continuing to browse this site, you consent to the use of cookies.