Hi all,
I am using Python with win32com for connecting to QC. I am able to update the run collection status.
print "Adding test"
newItem = ts_instance.RunFactory.AddItem(None) # newItem == Run Object
newItem.Status = 'Passed'
newItem.Name = 'JJ'
newItem.Post()
#newItem.Refresh()
newItem.CopyDesignSteps() # Copy Design Steps
newItem.Post()
print "Updating"
steps = newItem.StepFactory.NewList("")
step1 = steps[0]
step1.Status = 'Not Completed'
step1.post()
print "Updated"
But my requirement is to update the status of the test case through python script.
If any one of you have code snippet to refer to, it will be of great help.
Regards,
Ruchi.