Results 1 to 3 of 3

Thread: Create testset in QC through WR script

  1. #1
    Junior Member
    Join Date
    Apr 2006
    Answers
    2

    Create testset in QC through WR script

    Hi All,

    I am trying to create a TestsetFolder under sub folders of root in Quality Center. I can able to create a testset folder under root directly, but I am unable to create under subfolders of Root. If anyone aware about this please let me know. I am trying this through winrunner TSL script.

    Please help.

    Thanks,
    Senthil


  2. #2
    Banned
    Join Date
    Oct 2007
    Answers
    173

    Re: Create testset in QC through WR script

    To Find a particular the TestSet from QC :

    Dim txtTestSet as String
    txtTestSet = "TestSet_01"
    Dim tset
    tdc = New TDAPIOLELib.TDConnection
    tdc.InitConnectionEx("http://server/qcbin")
    tdc.Login("usrid", "pwd")
    tdc.Connect("DOMAIN", "Project")
    Dim tstMgr = tdc.TestSetTreeManager
    Dim tsttr = tstMgr.NodeByPath("Root\SubFolder")
    Dim tsetFact = tsttr.TestSetFactory
    Dim tsetList = tsetFact.NewList("")
    For Each tset In tsetList
    If LCase(Trim(tset.Name)) = LCase(Trim(txtTestSet)) Then
    MsgBox("Test Set Found")
    End If
    Next


  3. #3
    Junior Member
    Join Date
    Apr 2008
    Answers
    1

    Thumbs up Re: Create testset in QC through WR script

    Hi ,

    Can I know how to create floders in QC through WR without sub folder?
    Can you try with slash(\) for creating sub folders?
    Ex:
    "Root\\Main_folder\\sub_folder"

    I am not sure it will work but I hope.

    Thanks
    GKT


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact