<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Hi, <BR>
<BR>
I have some questions on it:<BR>
1. Any performancing problem when import the 'window' classes should have ?<BR>
<BR>2. I think the prepro code style should be following:<BR>
=================== SNIP =====================<BR>
from window import * <BR>
class Gedit(Window): <BR> name = '*gedit' <BR>
btncopy = Window.PushButton('btncopy', name)<BR> btncut = Window.PushButton('btncut', name)<BR>
def class mnuEdit():<BR> name = '*mnuEdit'<BR> <BR> mnuChangeCase = Window.MenuItem('mnuChangeCase', name)<BR> mnuAllLowerCase = Window.MenuItem('mnuAllLowerCase', name)<BR>
=================== SNIP =====================<BR>
So, then we can call like this <BR> Gedit.mnuEdit.mnuChangeCase.pick()<BR> also same as:<BR> Gedit('*gedit').mnuEdit('*mnuEdit').mnuChangeCase('mnuChangeCase').pick()<BR>
3. There are more then 150 APIs in ldtp.py, Is that a well way to maintain that wraps all of those APIs?<BR>I mean in realy situation they just do a jumping to directly invoke the original function.<BR>
<BR>Thanks<BR><BR>
<HR id=stopSpelling>
<BR>
> Date: Fri, 28 Jul 2006 15:44:38 +0530<BR>> From: anagappan@novell.com<BR>> To: thanika_1999@yahoo.com<BR>> Subject: Re: [LDTP-Dev] OOLDTP introduction<BR>> CC: Hao.Yu@palmsource.com; ldtp-dev@lists.freedesktop.org<BR>> <BR>> Hi Thanika,<BR>> Welcome back !!!<BR>> <BR>> Ya I could notice one important issue with this approach !<BR>> <BR>> Its same as, 'create application map before executing the scripts'.<BR>> Maybe we can fine tune it :)<BR>> <BR>> Thanks<BR>> Nagappan<BR>> <BR>> Thanikachalam S wrote:<BR>> > Excellent. The changes w.r.to the current format looks<BR>> > syntactical, but a <BR>> > worthy alternative.<BR>> ><BR>> > Nags, do you see any issue with this approach?<BR>> ><BR>> > - Thanika<BR>> ><BR>> > ----- Original Message ----- <BR>> > From: "Hao Yu - ??" <Hao.Yu@palmsource.com><BR>> > To: <ldtp-dev@lists.freedesktop.org><BR>> > Sent: Friday, July 28, 2006 12:57 PM<BR>> > Subject: [LDTP-Dev] OOLDTP introduction<BR>> ><BR>> ><BR>> > Hi, all<BR>> ><BR>> > Here I created a demo for show you how OOLDTP works,<BR>> > please see here for <BR>> > details:<BR>> > http://ldtp.freedesktop.org/wiki/Object_2dOriented_20LDTP<BR>> ><BR>> > Thanks!<BR>> ><BR>> ><BR>> ><BR>> > --------------------------------------------------------------------------------<BR>> ><BR>> ><BR>> > <BR>> >> _______________________________________________<BR>> >> LDTP-dev mailing list<BR>> >> LDTP-dev@lists.freedesktop.org<BR>> >><BR>> >> <BR>> > http://lists.freedesktop.org/mailman/listinfo/ldtp-dev<BR>> > <BR>> ><BR>> ><BR>> > __________________________________________________<BR>> > Do You Yahoo!?<BR>> > Tired of spam? Yahoo! Mail has the best spam protection around <BR>> > http://mail.yahoo.com <BR>> > _______________________________________________<BR>> > LDTP-dev mailing list<BR>> > LDTP-dev@lists.freedesktop.org<BR>> > http://lists.freedesktop.org/mailman/listinfo/ldtp-dev<BR>> > <BR>> <BR>> -- <BR>> Nagappan A <anagappan@novell.com><BR>> Novell Software Development (I) Pvt. Ltd.<BR>> Linux Desktop Testing Project - http://ldtp.freedesktop.org<BR>> http://nagappanal.blogspot.com/<BR>> <BR>> Novell, Inc.<BR>> SUSE® Linux Enterprise 10<BR>> Your Linux is ready™<BR>> http://www.novell.com/linux<BR>> <BR>> _______________________________________________<BR>> LDTP-dev mailing list<BR>> LDTP-dev@lists.freedesktop.org<BR>> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev<BR><BR><br /><hr />Windows Live Safety Center 为您的计算机提供免费的安全扫描服务。 <a href='http://safety.live.com/site/ZH-CN/default.htm' target='_new'>它是免费的!</a></body>
</html>