No I used to create one vbs for all the QTP scripts. windows scheduler used to call the single vbs.
On Sun, Jun 23, 2013 at 10:40 PM, <[email protected]> wrote: > yes windows schedule. So you cant run multiple scripts. I have to create > new task for each and every script? > > > On Sunday, June 23, 2013 11:35:48 PM UTC-4, Ganesh muralidharan wrote: > >> Are you referring to Windows scheduler? You can configure windows >> scheduler to run one script at a time. >> >> >> On Sun, Jun 23, 2013 at 10:31 PM, <[email protected]> wrote: >> >>> Hi >>> Can we run multiple scripts using System schedule? >>> or only one script per schedule? >>> and have to create separate schedule for each script? >>> below script i am using it >>> >>> Set qtApp = CreateObject("QuickTest.**Application") >>> qtApp.Launch >>> qtApp.Visible = True >>> qtApp.Open "C:\Users\Wajahat.awan\**Desktop\Automation\Private DHC\Gmc >>> DHC" 'this is the location of test scripts >>> Set qtTest = qtApp.Test >>> qtTest.Run >>> qtTest.Close >>> qtApp.Quit >>> Set qtApp =Nothing >>> >>> >>> Set objResultsOptions = CreateObject("QuickTest.**RunResultsOptions") >>> objResultsOptions.**ResultsLocation = strPathname & getTimestamp() >>> 'Suppose you have a function that returns you the timestamp >>> >>> qtTest.Save >>> qtTest.Run objResultsOptions >>> >>> -- >>> -- >>> 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 >>> MercuryQTP+...@**googlegroups.com >>> >>> For more options, visit this group at >>> http://groups.google.com/**group/MercuryQTP?hl=en<http://groups.google.com/group/MercuryQTP?hl=en> >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "QTP - HP Quick Test Professional - Automated Software Testing" >>> group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to mercuryqtp+...@**googlegroups.com. >>> >>> For more options, visit >>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>> . >>> >>> >>> >> >> >> >> -- >> Regards, >> >> >> Ganesh Muralidharan >> 'God Never Forgets' >> > -- > -- > 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 Groups > "QTP - HP Quick Test Professional - Automated Software Testing" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Regards, Ganesh Muralidharan 'God Never Forgets' -- -- 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 Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
