
- 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
a month ago
Hi @Ahana 01 ,
Glad to see your response with some insightful points. However, may I know the source of your points.
Regards,
Sai Vasanth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2024 03:13 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, especially those with multiple variables and dependencies. You might need to create custom test steps for these items.
2. **Permissions**: Even though the cloud user account is an admin, there might be specific roles or permissions required to access certain catalog items. Ensure that the user account used for ATF has all necessary roles.
3. **Catalog Item Availability**: Check if the catalog items are active and available in the correct catalog. Also, ensure they are not restricted to specific groups or users.
4. **ATF Limitations**: ATF has some limitations. For example, it does not support testing of catalog items with 'Journal Input' variables or 'Macro' type variables. If your catalog items have these types of variables, ATF will not be able to create tests for them.
5. **Custom Scripts**: If your catalog items have custom scripts, ATF might not be able to generate tests. You might need to create custom test steps to handle these scripts.
6. **Browser Compatibility**: ATF supports specific browser versions. If you are using an unsupported browser version, ATF might not work correctly.
To resolve these issues:
- For complex catalog items, consider breaking them down into simpler items or creating custom test steps.
- Ensure the user account used for ATF has all necessary roles and permissions.
- Check the availability and restrictions of your catalog items.
- If your catalog items have unsupported variables or custom scripts, consider creating custom test steps.
- Use a supported browser version for ATF.
For asking ServiceNow-related questions try this :
For a better and more optimistic result, please visit this website. It uses a Chat Generative Pre-Trained Transformer ( GPT ) technology for solving ServiceNow-related issues.
Please visit : https://nowkb.com/home
Our Website :https://nowkb.com/home
Link - https://nowgpt.ai/