Importing Tests with Test Steps into Test Management 2.0

greg_wheeler
Kilo Contributor

Has anyone had success importing Tests with Test Steps into Test Management 2.0?  

3 REPLIES 3

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Alberto - thanks for the quick response. I have seen this.  I am looking to import tests and test steps from a software vendor provided spreadsheet.  I understand that it will need to be modified a little.

 

Greg

waltercio
Tera Contributor

Hi Greg and Alberto.. I know that it's an old thread.. but I am now facing a similiar problem to import data into Test management 2.0 from a third party too.. basically I extracted all the data to a json file.. and I am creating my own tool to create the tests + test version + test steps for each test. do you have any luck? 

 

Alberto,

Is there a template json so I can use in the REst API call to create both at the same time? (test+testversion+teststeps)? cause I am able to create the test by using the follwing but I don't know how to create the testversion+teststeps all together at the same time

 

POST https://xxx.service-now.com/api/now/v1/table/sn_test_management_test

payload:

{
"latest_result": "",
"short_description": "Test-QX-1111",
"number": "TEST_QX_001_QA"
}