Using GlideRollbackContext API for records created via UI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi,
we have some playwright tests, where we create some records using UI. However, the records created are in scoped apps, hence, our record cleaner, which uses TABLE API to delete the test data/records created during the test run, is not able to delete them (for obvious restrictions on scoped apps). The only way for us is again deleting via UI. But that takes a lot of time to iterate over all the records (login as admin, navigate to respective table list view and then delete via UI action).
What I am looking for, is there a way I can use GlideRollbackContext API to track the records created during the test runs and then rollback (delete) them in batches. Have been looking but haven't yet found any suitable way of doing it. Appreciate your suggestions and pointers.
