Saving Records in Automated Test Framework

Jazz1
Kilo Contributor

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

 

7 REPLIES 7

ggg
Giga Guru

I have successfully created a record in a test step and then opened that record in the next step using the doc id.

Jazz1
Kilo Contributor

Are you opening a form, setting field values and Submitting the Form in the Developer instance?

Jazz1
Kilo Contributor

Hi ggg,

 

          This is what I get when I use Record Insert instead of Opening a form,Set Values & Submit.

find_real_file.png

 

Thanks

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.