11-17-2012, 02:44 AM
Hi,
I am getting issue with StartExecution method. When I am executing below code and getting active x error. Please help me to resolve this issue asap. Your help is appreciated.
Error :-
StartExecution - Active x component can not create object
Code :-
I am getting issue with StartExecution method. When I am executing below code and getting active x error. Please help me to resolve this issue asap. Your help is appreciated.
Error :-
StartExecution - Active x component can not create object
Code :-
Code:
set tdc = createobject("TDApiOle80.TDConnection")
tdc.InitConnectionEx "ALM url"
tdc.login "username","password"
tdc.Connect "domain name","Project name
runWhere = RUN_LOCAL
TestsetID = "401"
Set objShell = CreateObject("WScript.Shell")
Set TSetFact = tdc.TestSetFactory
Set tsList = TSetFact.Item(TestsetID)
Set theTestSet = tsList.Item(1)
Set Scheduler = theTestSet.StartExecution("") ' ****** Here i am getting an issue.