Friday, April 23

VBScript - 7 .Set Test results options


Set objResultsOpt=CreateObject("QuickTest.RunResultsOptions")    'Set Result options
objResultsOpt.ResultsLocation = ""
objResultsOpt.TDTestSet = QC_TEST_SET ' Test set name'
objResultsOpt.TDTestInstance = Instance ' Test instance in the test set. Generally it is one unless you have pulled the same test twice in same test set.
appQTP.visible=True
  


Here you are setting  the values for storage of  the results . The above example uses QC  test set and instance. It would work only if you have been connected to QC  and the Script already exist in QC ( both in Plan and test lab) . Refer VBScript - 2 . Connecting to QC/Open QC test

---------------------------------------------

Related Posts Plugin for WordPress, Blogger...