-
Junior Member
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
-
Banned
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
-
Junior Member
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
-
Forum Rules