[LDTP-Dev] OOLDTP introduction

LaviXuGuofuX lavixu at hotmail.com
Fri Jul 28 03:10:27 PDT 2006


Hi, 
 
I have some questions on it:
1. Any performancing problem when import the 'window' classes should have ?
2. I think the prepro code style should be following:
=================== SNIP =====================
    from window import * 
    class Gedit(Window):         name = '*gedit' 
        btncopy = Window.PushButton('btncopy', name)        btncut = Window.PushButton('btncut', name)
        def class mnuEdit():            name = '*mnuEdit'                        mnuChangeCase = Window.MenuItem('mnuChangeCase', name)            mnuAllLowerCase = Window.MenuItem('mnuAllLowerCase', name)
=================== SNIP =====================
So, then we can call like this     Gedit.mnuEdit.mnuChangeCase.pick()  also same as:    Gedit('*gedit').mnuEdit('*mnuEdit').mnuChangeCase('mnuChangeCase').pick()
3. There are more then 150 APIs in ldtp.py, Is that a well way to maintain that wraps all of those APIs?I mean in realy situation they just do a jumping to directly invoke the original function.
Thanks



> Date: Fri, 28 Jul 2006 15:44:38 +0530> From: anagappan at novell.com> To: thanika_1999 at yahoo.com> Subject: Re: [LDTP-Dev] OOLDTP introduction> CC: Hao.Yu at palmsource.com; ldtp-dev at lists.freedesktop.org> > Hi Thanika,> Welcome back !!!> > Ya I could notice one important issue with this approach !> > Its same as, 'create application map before executing the scripts'.> Maybe we can fine tune it :)> > Thanks> Nagappan> > Thanikachalam S wrote:> > Excellent. The changes w.r.to the current format looks> > syntactical, but a > > worthy alternative.> >> > Nags, do you see any issue with this approach?> >> > - Thanika> >> > ----- Original Message ----- > > From: "Hao Yu - ??" <Hao.Yu at palmsource.com>> > To: <ldtp-dev at lists.freedesktop.org>> > Sent: Friday, July 28, 2006 12:57 PM> > Subject: [LDTP-Dev] OOLDTP introduction> >> >> > Hi, all> >> > Here I created a demo for show you how OOLDTP works,> > please see here for > > details:> > http://ldtp.freedesktop.org/wiki/Object_2dOriented_20LDTP> >> > Thanks!> >> >> >> > --------------------------------------------------------------------------------> >> >> >   > >> _______________________________________________> >> LDTP-dev mailing list> >> LDTP-dev at lists.freedesktop.org> >>> >>     > > http://lists.freedesktop.org/mailman/listinfo/ldtp-dev> >   > >> >> > __________________________________________________> > Do You Yahoo!?> > Tired of spam?  Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > _______________________________________________> > LDTP-dev mailing list> > LDTP-dev at lists.freedesktop.org> > http://lists.freedesktop.org/mailman/listinfo/ldtp-dev> >   > > -- > Nagappan A <anagappan at novell.com>> Novell Software Development (I) Pvt. Ltd.> Linux Desktop Testing Project - http://ldtp.freedesktop.org> http://nagappanal.blogspot.com/> > Novell, Inc.> SUSE® Linux Enterprise 10> Your Linux is ready™> http://www.novell.com/linux> > _______________________________________________> LDTP-dev mailing list> LDTP-dev at lists.freedesktop.org> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
_________________________________________________________________
率先尝试 Windows Live Mail。
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20060728/3511d27d/attachment-0001.html


More information about the LDTP-dev mailing list