The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> HP / Mercury TestDirector

Pages: 1
keverett
Newbie


Reged: 09/14/07
Posts: 4
.StartExecution("LOCALHOST") gives error.
      #503221 - 07/25/08 11:08 AM

Hi,

Do I need visual studio installed in order to use the TDAPI?
My msgbox statements correctly display the test, so I know I am connected. I get error "Object doesn't support this property or method: 'theTestSet.StartExecution'. I also tried things like theTestSet.StartExecution(),
theTestSet.StartExecution(""), theTestSet.StartExecution,
theTestSet.StartExecution("localhost"), and other types of declaring the scheduler object.

Thanks in advance.

I have:
Set qc = createobject("TDApiOle80.TDConnection")
qc.InitConnectionEx "http://qcbin"
qc.login "myuser", "mypassword"
qc.Connect "myDomain", "myProject"

Set tstMgr = qc.TreeManager
Set tsttr = tstMgr.NodeByPath("Subject\Automated catalog Regression\catalog testing")
Set tsetFact = tsttr.TestFactory
Set tsetList = tsetFact.NewList("")


'Retrieve the Individual Test Scripts from the Test Plan Folder
For Each tset in tsetList
msgbox tset.Name
If tset.Name="mytest" Then
Set theTestSet = tset
End If
Next
msgbox theTestSet.Name

' Start scheduler and run test with testcycle ID. This ID
' is a combination of test ID and test instance.
TSSched = theTestSet.StartExecution("LOCALHOST")
TSSched.RunAllLocally = True
TSSched.Run

'Logout...


Post Extras: Print Post   Remind Me!   Notify Moderator  
keverett
Newbie


Reged: 09/14/07
Posts: 4
Re: .StartExecution("LOCALHOST") gives error. [Re: keverett]
      #503231 - 07/25/08 11:21 AM

I also have:
Dim TSFact, tsetList, tstMgr, tsttr, tset, tstf, tst, f, l, es
Dim qc
Dim TSSched
Dim theTestSet

Thanks,
Karl


Post Extras: Print Post   Remind Me!   Notify Moderator  
happy02050
Member


Reged: 02/12/10
Posts: 26
Re: .StartExecution("LOCALHOST") gives error. [Re: keverett]
      #694498 - 12/29/11 05:04 AM

Hi,

i am also getting the same error "Object doesn't support this property or method: 'theTestSet.StartExecution'.

Any suggetion on this will be highly appriciated.


Post Extras: Print Post   Remind Me!   Notify Moderator  
AnshooArora
Advanced Member


Reged: 10/27/07
Posts: 612
Loc: New Delhi, India
Re: .StartExecution("LOCALHOST") gives error. [Re: happy02050]
      #710035 - 06/17/12 01:04 PM

See if you can find a solution here: http://www.sqaforums.com/showflat.php?Cat=0&Board=UBB20&Number=659322

--------------------
Regards,

Anshoo Arora
[AdvancedQTP] [LinkedIn] [Relevant Codes]



Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 4 anonymous users are browsing this forum.

Moderator:  AJ, jgottlieb, corklad, bpolitzer 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 5885

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5