Geeks Talk

Prepare for your Next Interview




Create testset in QC through WR script

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 ...


Go Back   Geeks Talk > Software Testing > WinRunner

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-12-2008
Junior Member
 
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
p_senthil is on a distinguished road
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
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-12-2008
Banned
 
Join Date: Oct 2007
Location: Hyderabad
Posts: 176
Thanks: 2
Thanked 11 Times in 11 Posts
quality_quantity is on a distinguished road
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
Reply With Quote
  #3 (permalink)  
Old 04-05-2008
Junior Member
 
Join Date: Apr 2008
Location: Chennai
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
ktamilar is on a distinguished road
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
Reply With Quote
Reply

  Geeks Talk > Software Testing > WinRunner


Thread Tools
Display Modes


Similar Threads

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


All times are GMT -4. The time now is 09:19 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved