Unable to create comments with ATF Set Field Values step
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2017 06:41 AM
Hi.
I'm testing out the automated test framework and ran into this little gem.
I've created a step of my test that attempts to set the value of 'comments' (and comments_and_work_notes) to simulate an added comment to the ticket.
Everytime I run the test I run into this issue however:
FAILURE: Unable to set field 'comments' to value 'Hi.
This is Beth commenting on your ticket.
Please note that this is an automated response.
Good bye.'. Field 'comments' is not editable. See screenshot
The screenshot doesn't say much, it simply shows the incident default form (tabbed) but no indication as to why an additional comment can't be entered.
I run jakarta patch 0 out of the box so there shouldnt be any personal development that hinders me from editing the comments-field.
Has anyone else encountered this?
Thanks in advance.
- Labels:
-
Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2017 06:10 AM
I just ran through this and was able to run it with work notes & comments (two different tests). When I ran it through setting the 'comments and work notes' it failed. Not sure if your form has multiple choices like ours (I am running on our own version of incident form), but make sure you're setting the proper field.
I've found viewing the test while it is taking place to be a better than reading/looking at the screenshots or text.
I would try those two things. Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2017 06:18 AM
Hi Jake.
I've tried 'comments', 'work_notes' and 'comments_and_work_notes'. Neither field works for me.Note that I do this in a later stage of the test however and not in the the first instance of set field value. I found a post yesterday talking about a bug where you can't do it in subsequent set field value activites.
Here is the thread:
Automated test framework : set field value not possible on Work notes field