automated test framework delete records

Kaleem A
Giga Guru

hi all,

The record delete step in automated test framework , is not actually deleting records, but in the test result log it shows as record has been deleted.

Also, we can see records deleted in deleted records.

any clue why the records are not getting deleted from the table.

Screen Shot 2017-10-24 at 3.35.38 PM.png

1 ACCEPTED SOLUTION

Geoffrey2
ServiceNow Employee
ServiceNow Employee

This is because ATF uses a rollback feature after each Test. Any insert/update/delete that occurs during the Test is reverted to the state it was in before the Test.


So, the record was deleted by the Test, but then restored by the rollback feature.


View solution in original post

2 REPLIES 2

Geoffrey2
ServiceNow Employee
ServiceNow Employee

This is because ATF uses a rollback feature after each Test. Any insert/update/delete that occurs during the Test is reverted to the state it was in before the Test.


So, the record was deleted by the Test, but then restored by the rollback feature.


Thanks for response!