Prepare for your Next Interview
This is a discussion on Create testset in QC through WR script within the WinRunner forums, part of the Software Testing category; 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 ...
|
|||
|
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 |
| Sponsored Links |
|
|||
|
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 |
|
|||
|
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 |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Start a TestSet via Command Prompt | Geek_Guest | QTP | 0 | 10-22-2007 02:55 PM |
| Oracle Inbuild function to create INSERT script ? | smitai | SQL Server | 2 | 10-06-2007 04:47 AM |
| Script which retrieves the current path of the test script | niranjanbiswal | QTP | 1 | 07-18-2007 04:12 PM |
| Must I create variable when I create scenario? | haiintel | LoadRunner | 2 | 03-27-2007 11:42 PM |