ATF - validating worknotes/Additional comments on RITM

Community Alums
Not applicable

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!!!

5 REPLIES 5

Aaron Munoz
Tera Guru

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.

Soumita3
Tera Expert

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.

Community Alums
Not applicable

Hi,

Thanks for your reply.

Could you please inform me how to bring close field o the form?

Regards,

Ganesh 

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.