Assistance Needed with Field State Validation in ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2023 01:44 AM
I'm currently working on a project involving Automated Test Framework (ATF) and am encountering a challenge with field validation on a universal request, specifically in the primary case - type.
The issue arises during the 'Field state validation' step of the process. Interestingly, when I perform the validation manually, it passes without any problems. However, the automated test consistently fails at this step.
One of the main obstacles I'm facing is that I can't find the actual error or reason for the failure. The error messages or logs aren’t providing clear insights. Moreover, when I attempt to review the process through screenshots, they don’t seem to be of much help. The records open, but no fields are displayed, leaving me in the dark about what might be going wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2023 08:32 AM
I believe that the view that is coming up does not have the field that you are trying to validate and so it is unable to validate (my assumption is that the first image is the screen capture from the failed test step).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2023 09:16 AM
Hi @Ravikant3
Looking at the first pic, it seems like the ATF user doesn't have the relevant access to that form. Make sure to add the impersonation step with correct user having the right roles.