ATF, Not setting some field values

iqbalansari
Kilo Contributor

Good morning Friends,

I have created a test having a step of set field values. Inside that I am setting 3 field values for a Story record.   The test ran fine and the results shows that it set the field values, however when I open the record the value is not updated there, here is the test results and screenshot of record after test ran.

I you see the record, It successfully changing the Percent Complete, but not changing the order and description.

Any idea? What I am missing here?

Results

find_real_file.png

Screen shot of the record:

find_real_file.png

12 REPLIES 12

drbz
Mega Expert

Hello,


this is intended behavior. Please check following article:



Automated Test Framework Part 2: Form Submit



"The test framework automatically tracks and deletes any data created by running tests, automatically taking care of rolling back changes after testing"


iqbalansari
Kilo Contributor

Thanks Drbz,



That makes sense but in that case how is one field value is changing but not others. I set three field values :



Percent_Complete :   Keeps the update


Order:                                                 Remove the changes after the successful test


Description:                             Remove the update after successful test



Do you have any idea if there is any reason for the changed behavior ?



Regards


Muhammad


Additionally,


One thing I noticed is the two fields, removing the changes after test are from "Task" table however the one keeping the change is from "Planned_task" table. But shouldn't ATF remove the values irrespective of associated table?


Are you browsing/opening the record in change table to view data? or is this screenshot from ATF test results?



==> you can not see the data in the database records once the ATF test completed. (All updates will be backed out)


==> Please run with entire new data and observe the results. If it still shows same behavior, please let me know



Thanks


PS: Please hit Like/Helpful ...if it helps