Quality Center: Set A Step Field In Python
I have a very simple problem here. I want to achieve the following VB script Code in Python:- dim objSfact dim objOrun dim mystep Set objOrun = QCutil.CurrentRun Set objSfact
Solution 1:
In Python ()
represent calls to functions, while []
represent indexing and mapping.
Solution 2:
I have the answer here: Adding testcase results to Quality Center Run from a outside Python Script
Basically, instead of mystep.Field("ST_ACTUAL") = aActual
, I can simply do this mystep.SetField("ST_ACTUAL", "my actual result")
Post a Comment for "Quality Center: Set A Step Field In Python"