Drop down list items are not visible on atf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-08-2024 02:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-08-2024 04:06 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-08-2024 07:56 AM
Steps to Troubleshoot and Resolve:
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.
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.
Check User Roles:
- Confirm that the ATF test user has the same roles and permissions as the user performing the manual test.
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.
Verify Field Dependencies:
- Ensure that any fields required for the dropdown to load its items are correctly set in the ATF steps.
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.
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 NarayanaPlease mark this response as correct or helpful if it assisted you with your question.
- If necessary, create custom ATF scripts to handle the dropdown selection, especially if standard steps do not work as expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-09-2024 01:29 AM
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