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

4 comments:

  1. awesome blog, do you have twitter or facebook? i will bookmark this page thanks. peace maria

    ReplyDelete
  2. I really like your blog and i really appreciate the excellent quality content you are posting here for free for your online readers. thanks peace klara.

    ReplyDelete
  3. Thanks Maria. Thanks for bookmarking this page. Thats really good honor for me :)

    ReplyDelete
  4. Thanks Klara. Glad you liked the content. Hope to blog more when get to know and have some time. Do keep visiting once in while

    ReplyDelete

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

Related Posts Plugin for WordPress, Blogger...