Sorry Ankit , Am travelling currently . I would get you some inputs on this latest by Monday.
Regards, Sanketh ( from my phone ) On 08-Nov-2012, at 10:36 AM, Ankit Gupta <[email protected]> wrote: > Hi Sanketh, > > It is able to find the Sprint 1 test set under the folder because it does not > throw error at this step. > > It is just that when it start the scheduler using the startexecution command > it is not able to create the active x object scheduler.. > > Did you try to check the same piece of code at your end. I believe it will > work. > > Thanks and Regards, > Ankit Gupta > > > On Thu, Nov 8, 2012 at 9:59 AM, Sanketh <[email protected]> wrote: > Also instead of using "findtestset" can u give complete path in testset folder > > > > > Regards, > Sanketh ( from my phone ) > > > On 08-Nov-2012, at 9:55 AM, Sanketh <[email protected]> wrote: > >> Can you plz tell me what Boolean does testsetlist returns ? >> >> I suspect it is unable to find "Sprint 1". >> >> >>> >>>> >> Regards, >> Sanketh ( from my phone ) >> >> >> On 08-Nov-2012, at 9:23 AM, Ankit Gupta <[email protected]> wrote: >> >>> No ....its still not working .... >>> >>> I am suspecting whether any patch is missing for QC on machine. >>> >>> Regards, >>> Ankit Gupta >>> >>> On Wed, Nov 7, 2012 at 7:03 PM, Sanketh <[email protected]> wrote: >>> Henceforth u mean to say...It's working now :-) ? >>> >>> >>> Regards, >>> Sanketh ( from my phone ) >>> >>> >>> On 07-Nov-2012, at 8:37 AM, Ankit Gupta <[email protected]> wrote: >>> >>>> Hi Sanket, >>>> >>>> It's throwing error as the index is invalid .ie index start from 1 not 0. >>>> >>>> Set TestSet = TestSetList.item(0) >>>> >>>> >>>> Thanks and Regards, >>>> Ankit Gupta >>>> >>>> >>>> >>>> >>>> On Mon, Nov 5, 2012 at 4:58 PM, Sanketh <[email protected]> wrote: >>>> Try >>>> Set TestSet = TestSetList.item(0) >>>> >>>> The line before where the error pops up. >>>> >>>> >>>> Regards, >>>> Sanketh ( from my phone ) >>>> >>>> >>>> On 05-Nov-2012, at 3:34 PM, Ankit Gupta <[email protected]> wrote: >>>> >>>>> I am using TDAPI to connect to QC through vbscript >>>>> >>>>> below is the code >>>>> >>>>> >>>>> Set QCConnection = CreateObject("TDApiOle80.TDConnection") >>>>> QCConnection.InitConnectionEx qcServer >>>>> >>>>> 'Log on to server >>>>> >>>>> QCConnection.Login qcUser, qcPassword >>>>> QCConnection.Connect qcDomain, qcProject >>>>> >>>>> >>>>> >>>>> ' Fetch test set folders >>>>> Dim >>>>> TestSetTreeManager,TestSetFolderList,TestSetFolderCnt,TestSetFactory,TestSetList,TestSetCnt >>>>> >>>>> Set TestSetTreeManager = QCConnection.TestSetTreeManager >>>>> Set TestSetfolder = TestSetTreeManager.NodeByPath >>>>> ("Root\TestSetToExecute") >>>>> >>>>> Set TestSetList = TestSetfolder.FindTestSets("Sprint 1") >>>>> Set TestSet = TestSetList.item(1) >>>>> Set scheduler = TestSet.startExecution("") '//error coming at this >>>>> line 'Active X cannot create the object >>>>> >>>>> scheduler.RunAllLocally = True >>>>> scheduler.Run >>>>> >>>>> >>>>> >>>>> >>>>> On Mon, Nov 5, 2012 at 9:58 AM, Sanketh <[email protected]> wrote: >>>>> What Object are you using ? QcUtil / TDApiole80.tdconnection >>>>> >>>>> Are you executing this through QTP or standalone vbs ? >>>>> >>>>> Can u paste complete code for better debugging ? >>>>> >>>>> Regards, >>>>> Sanketh ( from my phone ) >>>>> >>>>> >>>>> On 05-Nov-2012, at 9:05 AM, Ankit Gupta <[email protected]> wrote: >>>>> >>>>>> I am getting error 'Active X cannot create object' in the below line >>>>>> while creating the scheduler object >>>>>> >>>>>> >>>>>> Set Scheduler = TestSet.StartExecution ( "" ) >>>>>> >>>>>> >>>>>> When the control comes to this step , I can see test scheduler window >>>>>> which does not show any test executing .I have also tried with changing >>>>>> the parameter to hostname, but still same error persist. >>>>>> >>>>>> Let me know if any patch is missing for Quality center 11 . machine >>>>>> config is 32 bit , Window 7. >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> "QTP - HP Quick Test Professional - Automated Software Testing" >>>>>> group. >>>>>> To post to this group, send email to [email protected] >>>>>> To unsubscribe from this group, send email to >>>>>> [email protected] >>>>>> For more options, visit this group at >>>>>> http://groups.google.com/group/MercuryQTP?hl=en >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> "QTP - HP Quick Test Professional - Automated Software Testing" >>>>> group. >>>>> To post to this group, send email to [email protected] >>>>> To unsubscribe from this group, send email to >>>>> [email protected] >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/MercuryQTP?hl=en >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> "QTP - HP Quick Test Professional - Automated Software Testing" >>>>> group. >>>>> To post to this group, send email to [email protected] >>>>> To unsubscribe from this group, send email to >>>>> [email protected] >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/MercuryQTP?hl=en >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> "QTP - HP Quick Test Professional - Automated Software Testing" >>>> group. >>>> To post to this group, send email to [email protected] >>>> To unsubscribe from this group, send email to >>>> [email protected] >>>> For more options, visit this group at >>>> http://groups.google.com/group/MercuryQTP?hl=en >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> "QTP - HP Quick Test Professional - Automated Software Testing" >>>> group. >>>> To post to this group, send email to [email protected] >>>> To unsubscribe from this group, send email to >>>> [email protected] >>>> For more options, visit this group at >>>> http://groups.google.com/group/MercuryQTP?hl=en >>> >>> -- >>> You received this message because you are subscribed to the Google >>> "QTP - HP Quick Test Professional - Automated Software Testing" >>> group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> For more options, visit this group at >>> http://groups.google.com/group/MercuryQTP?hl=en >>> >>> -- >>> You received this message because you are subscribed to the Google >>> "QTP - HP Quick Test Professional - Automated Software Testing" >>> group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> For more options, visit this group at >>> http://groups.google.com/group/MercuryQTP?hl=en > > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
