- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2024 07:32 AM
Hello all,
I've used ATF Generator to create regression tests for our upcoming upgrade. Right now I've only created ones for our Service Catalog. However, I've noticed a few catalog items that don't have any tests. These items are quite long and complicated so we would like to test them without having to manually do them. The cloud user account is an admin in the system. Does anyone know why they wouldn't be created?
Paul
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2024 02:06 AM
The Automated Test Framework (ATF) in ServiceNow is a powerful tool for creating regression tests, but there can be several reasons why some catalog items might not have tests generated. Here are some possible reasons and solutions:
1. **Complex Catalog Items**: ATF might struggle with very complex catalog items. If the catalog item involves multiple steps, complex logic, or dynamic content, ATF might not be able to generate a test. In this case, you might need to create a custom test.
2. **Permissions**: Even though the cloud user account is an admin, there might be specific permissions or roles required to access certain catalog items. Make sure the account has all necessary roles.
3. **ATF Limitations**: ATF has some limitations. For example, it can't handle client scripts that use the "g_form.getValue" method, and it can't handle catalog client scripts that use the "onChange" function. If your catalog items use these methods, ATF might not be able to generate a test.
4. **Browser Compatibility**: ATF is designed to work with modern web browsers, but there might be compatibility issues with certain browsers or browser versions. Try using a different browser to see if that resolves the issue.
5. **ServiceNow Version**: There might be bugs or issues in certain versions of ServiceNow that prevent ATF from generating tests for certain catalog items. Check the ServiceNow documentation and community forums for any known issues.
6. **Custom Code**: If your catalog items involve custom code, ATF might not be able to generate a test. In this case, you might need to create a custom test.
To resolve these issues:
- For complex catalog items, consider breaking them down into simpler items or creating custom tests.
- Ensure the cloud user account has all necessary roles and permissions.
- Check your catalog items for methods or functions that ATF can't handle, and consider modifying them if possible.
- Try using a different web browser.
- Check for any known issues with your version of ServiceNow.
- For catalog items with custom code, consider creating custom tests.
nowKB.com
For a good and optimistic result, and solving ServiceNow-related issues please visit this website.https://nowkb.com/home
Kindly mark correct and helpful if applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2024 02:06 AM
The Automated Test Framework (ATF) in ServiceNow is a powerful tool for creating regression tests, but there can be several reasons why some catalog items might not have tests generated. Here are some possible reasons and solutions:
1. **Complex Catalog Items**: ATF might struggle with very complex catalog items. If the catalog item involves multiple steps, complex logic, or dynamic content, ATF might not be able to generate a test. In this case, you might need to create a custom test.
2. **Permissions**: Even though the cloud user account is an admin, there might be specific permissions or roles required to access certain catalog items. Make sure the account has all necessary roles.
3. **ATF Limitations**: ATF has some limitations. For example, it can't handle client scripts that use the "g_form.getValue" method, and it can't handle catalog client scripts that use the "onChange" function. If your catalog items use these methods, ATF might not be able to generate a test.
4. **Browser Compatibility**: ATF is designed to work with modern web browsers, but there might be compatibility issues with certain browsers or browser versions. Try using a different browser to see if that resolves the issue.
5. **ServiceNow Version**: There might be bugs or issues in certain versions of ServiceNow that prevent ATF from generating tests for certain catalog items. Check the ServiceNow documentation and community forums for any known issues.
6. **Custom Code**: If your catalog items involve custom code, ATF might not be able to generate a test. In this case, you might need to create a custom test.
To resolve these issues:
- For complex catalog items, consider breaking them down into simpler items or creating custom tests.
- Ensure the cloud user account has all necessary roles and permissions.
- Check your catalog items for methods or functions that ATF can't handle, and consider modifying them if possible.
- Try using a different web browser.
- Check for any known issues with your version of ServiceNow.
- For catalog items with custom code, consider creating custom tests.
nowKB.com
For a good and optimistic result, and solving ServiceNow-related issues please visit this website.https://nowkb.com/home
Kindly mark correct and helpful if applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2025 12:31 AM
Hi @Ahana 01 ,
Glad to see your response with some insightful points. However, may I know the source of your points.
Regards,
Sai Vasanth.
