ATF error message

rtrr
Kilo Contributor

Hi,

 

I created a script as image attached and the error message is the value is not right but that is set right shoul appears Admin Test

1 ACCEPTED SOLUTION

That's all captured in update sets.  You can go back into the update set you've been working and see all of the update records for the test and the test steps.  You can either move those to a different update set (by changing the 'Update set' reference field) or create a new update set and make a quick change to any existing record that you want to include in your new update set.  Good luck!

View solution in original post

15 REPLIES 15

Mark Stanger
Giga Sage

Can you take a screenshot of the error?  Also, can you isolate the error to a single step so that I can try to reproduce in my system?

rtrr
Kilo Contributor

error: FAILURE: Unable to set field 'assigned_to' to value 'f5d14a4d0f1a13004bd9534f62050e1e'. Field 'assigned_to' is not present on the form. See screenshot

 

But as on images the value is set in on step tp add a value

The screenshots really aren't clear as to what is on the form or what you're trying to do.  I see 2 screenshots showing your tests that you're trying to run.  One of them makes no sense though.  It opens an incident form and then attempts to set values on the catalog task table.  ATF can only set field values to fields that are actually present on the form view.  Is the 'Assigned to' field included on the form you're running the test against?  Are the tables you're working on consistent across your test?

rtrr
Kilo Contributor

Sorry the second is not the right image. I attached the right

 

The flow I want (I want to create a TC to validate the "states")

1-Set field values/validate

2-Click on Save button and the form will be saved

3-Add value to the field "Assigned to" and save

4-Form will be saved and the "State" must be from "Queued" to as "In Progress"

 

There is that error message on step 3 (error: FAILURE: Unable to set field 'assigned_to' to value 'f5d14a4d0f1a13004bd9534f62050e1e'. Field 'assigned_to' is not present on the form. See screenshot) .

But as the image "final2" I added a value "Aline Souza" to be added on "Assigned to" field.