Hi,
I am trying to add test case from Python using the following code.
title='Test case from CSV - 5'
typeID = 2
priority=2
estimate=20
case = client.send_post('add_case/2', {'title':title, 'type_id':typeID, 'priority_id':priority, 'estimate':estimate, 'mileston_id':1, 'refs':'Excel',
"custom_preconds": "These are the preconditions for a test case",
'custom_steps_separated':[{'content': "Step 1",'expected': "Expected Result 1"},{'content': "Step 2",'expected': "Expected Result 2"}]})
However, when I execute this, it creates a new test case and adds all the details except the custom_steps_separated.
I have the custom_steps_separated enabled in adminsitration and I am already able to create custom_steps_separated manually or even doing a CSV upload.
Can anyone please point me if I am doing anything wrong here?
Thanks,
Gopal