ATF - validating worknotes/Additional comments on RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2019 12:49 PM
Is there any method to validate the worknotes/additional comments value on RITM form.
Actual requirement is - I am putting some comments on RITM form from instance and opening the same record in service portal. Used Field Values Validation (SP) method to validate the comment but ATF is throwing an error saying that "Step execution failed with error: f.ed is undefined"!!!
Any suggestion!!!
- Labels:
-
Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2019 05:41 PM
It could be because the work notes/additional comments are a journal field. With string fields you can expect the same input value to remain on the form after saving, but for journal field you'll have to validate on the server using the function getJournalEntry(1) to retrieve the latest comment or work note.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2019 11:30 PM
The comment field or the work notes field are "Journal Type" of field as a result ATF test step "Field Values Validation" cannot search for the Journal type of field, where as it can search for the "Close note" field.
So, a probable solution to this can be by bringing in the Close field in the form and then check for your comments.
It this suffice your problem, please let me know.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2019 09:54 AM
Hi,
Thanks for your reply.
Could you please inform me how to bring close field o the form?
Regards,
Ganesh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2019 12:24 AM
Hi,
Yes sure, at first Open the form, the click on the context menu and select 'Configure-> Form layout'.
There you will be able to see the slushbucket with all the fields.
Click on the Close field from the left bucket and move it to the right bucket and click OK.
The Close field will automatically appear on your form.
Please mark the answer as correct if it suffice your query.
Thanks.