Drop down list items are not visible on atf

karimmohamed
Tera Contributor

Hello all I am testing a service catalog there is a dropdown list I want to select item from the list , the problem is in atf no items appear on the list but on manual testing items appear you can see on the attached images 

3 REPLIES 3

kaduapoorva
Tera Contributor

Hi @karimmohamed 

 

Please go through below KB article.

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0715306 

 

Please mark helpful if it solves your issue.

 

Thanks 

shreedevin
Giga Guru
Giga Guru

Steps to Troubleshoot and Resolve:

  1. Add a Wait Step:

    • Add a "Wait" step before the dropdown selection step to give the page enough time to load the dropdown items. For example, wait for a few seconds or until the dropdown is populated.
  2. Use Client Scripts:

    • If the dropdown is populated by a client script, ensure that the script is triggered correctly in the ATF. You might need to simulate the triggering event.
  3. Check User Roles:

    • Confirm that the ATF test user has the same roles and permissions as the user performing the manual test.
  4. Inspect Network Requests:

    • Use browser developer tools to inspect network requests when the dropdown items are loaded during manual testing. Ensure these requests are being made in the ATF context.
  5. Verify Field Dependencies:

    • Ensure that any fields required for the dropdown to load its items are correctly set in the ATF steps.
  6. Debug Logging:

    • Enable debug logging in ATF to get more detailed information about what is happening during the test. Look for any errors or warnings related to the dropdown.
  7. Custom ATF Scripts:

    • If necessary, create custom ATF scripts to handle the dropdown selection, especially if standard steps do not work as expected.

      Thanks and Regards
      Shreedevi Narayana

      Please mark this response as correct or helpful if it assisted you with your question.



Hi @karimmohamed 

 

One question,

Why are you not using form steps? Set Field value?

 

Regards

Shaqeel


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel