ATF: Setting the "Exclude from rollback" to "true"

cvelasquez
Tera Contributor

Hi, for ATF, does anyone know how set the "Exclude from rollback" to "true"?

Regards, Carlos

5 REPLIES 5

Akhil Vinay Ma1
Kilo Guru

I haven't seen "Exclude from rollback" functionality in Automated Test Framework. May I know your exact requirement.

cvelasquez
Tera Contributor

Akhil:

Thanks for getting back, I need to retain records created with ATF: I am in the middle of testing integrations that get triggered out of forms , these would send out a REST call to an integration end point. With ATF, records get deleted and they do not trigger the REST calls.

I am looking into the option of modifying the "Autoflushes" properties for the "sys_atf_rest_results" table, and I cannot get it to work either. Any help would greatly appreciated.

Regards, Carlos

Nitesh Balusu
Giga Guru

 If you want to set "Exclude from Rollback" to "true" on Incidents. Navigate to list of view incidents,

1)Select Configure Dictionary from List Context Menu options

2)Select the row which has no column name which is empty 

3) Choose Advanced View -> In the attributes add 'excludeFromRollback=true'

 

find_real_file.png

 

Hi Nitesh,

Do we have any other option to retain records created by ATF. According to KB article Disabling rollback on any table using "excludefromrollback=true" to retain the records created through ATF. This would mean that the system excludes certain tables from being tracked or rolled back. ATF is intended to be a re-runnable test framework and as such is not designed to generate persistent data for manual testing purposes. When this attribute is set, the behavior is not guaranteed because of manually excluded tables, and how it applies in table hierarchies. It will eventually lead to other serious problems where features rely on rollback. Please let me know if there is other ways to retain records.