use quickest AOM and close the test using it's *close* method under *Test * class.
i.e qtp.test.close... Regards Shalabh Dixit On Tue, Oct 4, 2011 at 1:51 AM, ann hoang <[email protected]> wrote: > Shalabh, > > I changed my machine and it works ok now. But I have another question > about how to close automatic quicktest window at end of this test. > Currently, when the test is finished and it open new test then it stop. I > would like it automatic close quick test open. Please advise. Many thanks > > Thanks and Regards, > > AnhThu Nguyen > > > --- On *Wed, 9/28/11, Shalabh Dixit <[email protected]>* wrote: > > > From: Shalabh Dixit <[email protected]> > > Subject: Re: Setup and run QT script in scheduler > To: [email protected] > Date: Wednesday, September 28, 2011, 12:05 PM > > ann, > > I ran your code and it works fine here... > You can retry executing it as there is not much in this where error may > occur.. > > > Regards > Shalabh Dixit > > > > On Wed, Sep 28, 2011 at 6:32 PM, ann hoang > <[email protected]<http://us.mc1616.mail.yahoo.com/mc/[email protected]> > > wrote: > > Hi Anish, > > I tried this link but it was popped error when I run .vbs file. Please see > attachment > Please advise.. Many thanks > > My vbs file: > > Set App = CreateObject("QuickTest.Application") > App.Launch > App.Visible = True > App.WindowState = "Maximized" ' Maximize the QuickTest window > App.ActivateView "ExpertView" ' Display the Expert View > App.open "C:\QT_common\Tests\Test", False > > Ann > > > --- On *Wed, 9/21/11, Anish Pillai > <[email protected]<http://us.mc1616.mail.yahoo.com/mc/[email protected]> > >* wrote: > > > From: Anish Pillai > <[email protected]<http://us.mc1616.mail.yahoo.com/mc/[email protected]> > > > Subject: Re: Setup and run QT script in scheduler > To: > [email protected]<http://us.mc1616.mail.yahoo.com/mc/[email protected]> > Date: Wednesday, September 21, 2011, 1:10 PM > > Hi Ann, > > Please check the below link - > > > http://mercuryquicktestprofessional.blogspot.com/2008/05/how-to-run-qtp-scripts-at-scheduled.html > > -- > Regards, > Anish Pillai > My QTP Blog <http://automationrepository.blogspot.com/> > > -- > 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]<http://us.mc1616.mail.yahoo.com/mc/[email protected]> > To unsubscribe from this group, send email to > [email protected]<http://us.mc1616.mail.yahoo.com/mc/compose?to=mercuryqtp%[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]<http://us.mc1616.mail.yahoo.com/mc/[email protected]> > To unsubscribe from this group, send email to > [email protected]<http://us.mc1616.mail.yahoo.com/mc/compose?to=mercuryqtp%[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
