Saving Records in Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2019 09:13 AM
Would like to confirm if the Commit feature in the Personal Developer Instance and in a regular licensed instance of ServiceNow is the same. I was told an ATF test plan does not save records in the Developer Instance. However when I tried to replicate the same on a licensed instance I saw the exact same behavior. The test results clearly tell me that the Save function was used after a "Submit a Form" ATF test step was executed. The subsequent steps in the test that depend on the newly created record never worked because the said record was never committed.
My question is does the ATF only test the functionality behind ONE single form? I don't quite understand the purpose behind migrating the Submit a Form --> Record_Id --> Document ID to the next step if there is no document id that can be accessed.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2019 09:17 AM
I have successfully created a record in a test step and then opened that record in the next step using the doc id.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2019 09:47 AM
Are you opening a form, setting field values and Submitting the Form in the Developer instance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2019 10:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2019 10:46 AM
I am not doing Record Insert.
I Open a New Form >> set values >> submit the form.
then Server >> Record Validation >> I validate that the record i created contains certain values in particular fields.