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: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: [LDTP-Dev] OOLDTP introduction
> CC: [EMAIL PROTECTED]; ldtp-dev@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 - ??" <[EMAIL PROTECTED]>
> > To: <ldtp-dev@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@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@lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
> >
>
> --
> Nagappan A <[EMAIL PROTECTED]>
> 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@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
Windows Live Safety Center 为您的计算机提供免费的安全扫描服务。 它是免费的!
_______________________________________________ LDTP-dev mailing list LDTP-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/ldtp-dev