From seanbmiller at gmail.com Thu Nov 5 09:02:09 2009 From: seanbmiller at gmail.com (Sean Miller) Date: Thu, 5 Nov 2009 12:02:09 -0500 Subject: [LDTP-Dev] Installing Java Access Bridge Message-ID: <2feb6cbd0911050902xf8b011ctb4a35a9597e42254@mail.gmail.com> I need a little help setting up the Java Access Bridge. I'm trying to follow the instructions from this page: http://live.gnome.org/Java%20Access%20Bridge#head-333ffd762d5846f5b4226e2bc97089c8dcbabfec I've installed the Sun Java SE JDK, and when I go to build the JABG I'm not sure what I should use for "--with-java-home=" Here are the contents of /usr/lib/jvm/ java-1.5.0-gcj-1.5.0.0 jre-1.5.0 jre-1.6.0-openjdk java-1.6.0-openjdk-1.6.0.0 jre-1.5.0-gcj jre-gcj jre jre-1.6.0 jre-openjdk These do not match the instructions (I dont see sun anywhere in there) Have I done something wrong, or is the Sun java install in a different location? Thank you, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091105/fcb1dbb2/attachment.htm From nagappan at gmail.com Thu Nov 5 09:45:57 2009 From: nagappan at gmail.com (Nagappan Alagappan) Date: Thu, 5 Nov 2009 09:45:57 -0800 Subject: [LDTP-Dev] Installing Java Access Bridge In-Reply-To: <2feb6cbd0911050902xf8b011ctb4a35a9597e42254@mail.gmail.com> References: <2feb6cbd0911050902xf8b011ctb4a35a9597e42254@mail.gmail.com> Message-ID: <9d0602eb0911050945m8fcbbc2w3fdf7df213a969e2@mail.gmail.com> Hi Tim, Could you please help Sean ? Thanks Nagappan On Thu, Nov 5, 2009 at 9:02 AM, Sean Miller wrote: > I need a little help setting up the Java Access Bridge. > > I'm trying to follow the instructions from this page: > > http://live.gnome.org/Java%20Access%20Bridge#head-333ffd762d5846f5b4226e2bc97089c8dcbabfec > > I've installed the Sun Java SE JDK, and when I go to build the JABG I'm not > sure what I should use for "--with-java-home=" > > Here are the contents of /usr/lib/jvm/ > java-1.5.0-gcj-1.5.0.0 > jre-1.5.0 > jre-1.6.0-openjdk > java-1.6.0-openjdk-1.6.0.0 > jre-1.5.0-gcj jre-gcj > jre > jre-1.6.0 > jre-openjdk > > These do not match the instructions (I dont see sun anywhere in there) Have > I done something wrong, or is the Sun java install in a different location? > Thank you, > Sean > > > _______________________________________________ > LDTP-dev mailing list > LDTP-dev at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/ldtp-dev > > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091105/fab0f154/attachment.htm From Tim.Miao at Sun.COM Thu Nov 5 20:08:40 2009 From: Tim.Miao at Sun.COM (Tim Miao) Date: Fri, 06 Nov 2009 12:08:40 +0800 Subject: [LDTP-Dev] Installing Java Access Bridge In-Reply-To: <9d0602eb0911050945m8fcbbc2w3fdf7df213a969e2@mail.gmail.com> References: <2feb6cbd0911050902xf8b011ctb4a35a9597e42254@mail.gmail.com> <9d0602eb0911050945m8fcbbc2w3fdf7df213a969e2@mail.gmail.com> Message-ID: <1257480520.2144.5.camel@swim> Hi Sean, Ke Wang is the JAW developer, I think he could help you on this issue. Ke, would you please help looking at this? Thanks, -Tim On Thu, 2009-11-05 at 09:45 -0800, Nagappan Alagappan wrote: > Hi Tim, > > Could you please help Sean ? > > Thanks > Nagappan > > On Thu, Nov 5, 2009 at 9:02 AM, Sean Miller > wrote: > I need a little help setting up the Java Access Bridge. > > I'm trying to follow the instructions from this page: > http://live.gnome.org/Java%20Access% > 20Bridge#head-333ffd762d5846f5b4226e2bc97089c8dcbabfec > > I've installed the Sun Java SE JDK, and when I go to build the > JABG I'm not sure what I should use for "--with-java-home=" > > Here are the contents of /usr/lib/jvm/ > java-1.5.0-gcj-1.5.0.0 > jre-1.5.0 > jre-1.6.0-openjdk > java-1.6.0-openjdk-1.6.0.0 > jre-1.5.0-gcj jre-gcj > jre > jre-1.6.0 > jre-openjdk > > These do not match the instructions (I dont see sun anywhere > in there) Have I done something wrong, or is the Sun java > install in a different location? > Thank you, > Sean > > > _______________________________________________ > LDTP-dev mailing list > LDTP-dev at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/ldtp-dev > > > > > -- > Linux Desktop (GUI Application) Testing Project - > http://ldtp.freedesktop.org > http://nagappanal.blogspot.com From Ke.Wang at Sun.COM Thu Nov 5 20:24:51 2009 From: Ke.Wang at Sun.COM (Ke Wang) Date: Fri, 06 Nov 2009 12:24:51 +0800 Subject: [LDTP-Dev] Installing Java Access Bridge In-Reply-To: <1257480520.2144.5.camel@swim> References: <2feb6cbd0911050902xf8b011ctb4a35a9597e42254@mail.gmail.com> <9d0602eb0911050945m8fcbbc2w3fdf7df213a969e2@mail.gmail.com> <1257480520.2144.5.camel@swim> Message-ID: <4AF3A513.5030408@sun.com> Hi Sean, Can you find a symbolic link named /usr/java ? If it exists, you should use --with-java-home=/usr/java . If it does not exist, you can find the jdk installation under /usr/jdk/, for example, /usr/jdk/jdk1.6.0_15 . Hope this helpful. Regards, Ke Tim Miao wrote: > Hi Sean, > > Ke Wang is the JAW developer, I think he could help you on this issue. > > Ke, would you please help looking at this? > > Thanks, > -Tim > On Thu, 2009-11-05 at 09:45 -0800, Nagappan Alagappan wrote: > >> Hi Tim, >> >> Could you please help Sean ? >> >> Thanks >> Nagappan >> >> On Thu, Nov 5, 2009 at 9:02 AM, Sean Miller >> wrote: >> I need a little help setting up the Java Access Bridge. >> >> I'm trying to follow the instructions from this page: >> http://live.gnome.org/Java%20Access% >> 20Bridge#head-333ffd762d5846f5b4226e2bc97089c8dcbabfec >> >> I've installed the Sun Java SE JDK, and when I go to build the >> JABG I'm not sure what I should use for "--with-java-home=" >> >> Here are the contents of /usr/lib/jvm/ >> java-1.5.0-gcj-1.5.0.0 >> jre-1.5.0 >> jre-1.6.0-openjdk >> java-1.6.0-openjdk-1.6.0.0 >> jre-1.5.0-gcj jre-gcj >> jre >> jre-1.6.0 >> jre-openjdk >> >> These do not match the instructions (I dont see sun anywhere >> in there) Have I done something wrong, or is the Sun java >> install in a different location? >> Thank you, >> Sean >> >> >> _______________________________________________ >> LDTP-dev mailing list >> LDTP-dev at lists.freedesktop.org >> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev >> >> >> >> >> -- >> Linux Desktop (GUI Application) Testing Project - >> http://ldtp.freedesktop.org >> http://nagappanal.blogspot.com >> > > > From seanbmiller at gmail.com Mon Nov 9 10:21:41 2009 From: seanbmiller at gmail.com (Sean Miller) Date: Mon, 9 Nov 2009 13:21:41 -0500 Subject: [LDTP-Dev] Fedora 11 Setup Notes Message-ID: <2feb6cbd0911091021p3a7c5d4che10c214113c81fe5@mail.gmail.com> Below are my notes from trying to get LDTP working with Oracle eBusiness Forms. I'm posting them to this list in case it helps anyone out in the future. At this point I'm troubleshooting my Java setup - as testing the JAB is not showing "Just registered Application" when I start the demo application. From bogus@does.not.exist.com Mon Nov 9 10:12:49 2009 From: bogus@does.not.exist.com () Date: Mon, 09 Nov 2009 18:12:49 -0000 Subject: No subject Message-ID: yum update (optional) yum install at-spi-devel glib glib-devel gob2 gail gail-devel libgail-gnome libgail-gnome-devel python-devel libxml redhat-rpm-config ImageMagick python-imaging python-imaging-devel pystatgrab gcc git libgee libgee-devel ORBit compat-libstdc++-33 compat-libstdc++-296 #Find RPMs for distro: #http://download.opensuse.org/repositories/home:/anagappan/ #Download and install all the ldtp RPMs http://sourceforge.net/projects/ltfx/ Download .gz file tar -zxvf ltfx-*.tar.gz cd ltfx- make ./install git clone git://anongit.freedesktop.org/git/ldtp/ldtp.git cd ldtp ./autogen.sh --prefix=/usr; make make install Enable assistive technologies System > Preferences > Assistive technology Preferences > check "Enable assitive technologies" Install java jre from sun. follow instructions on java site to setup for Firefox. (Setup the gnome java bridge) http://live.gnome.org/Java%20Access%20Bridge Download latest java-access-bridge Get the Sun Java JDK http://www.howtoforge.com/sun_java_se6sdk_netbeans_fedora7 (JDK SE Dev Kit 17) (Setup SUN's Java ?) (http://www.my-guides.net/en/content/view/125/26/1/11/) (http://www.schabell.org/2009/06/fedora-10-adding-new-java-version-6-16.html ) Configure JAB- http://live.gnome.org/Java%20Access%20Bridge#head-76015b94b753f794eb71e944502bd7332751a85a --000feae5154efbf8860477f443d3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Below are my notes from trying to get LDTP working with Oracle eBusiness Fo= rms. I'm posting them to this list in case it helps anyone out in the f= uture. At this point I'm troubleshooting my Java setup - as testing the= JAB is not showing "Just registered Application" when I start th= e demo application.

From clean install (FC11)
yum update (optional)
=A0
yum instal= l at-spi-devel glib glib-devel gob2 gail gail-devel libgail-gnome libgail-g= nome-devel python-devel libxml redhat-rpm-config ImageMagick python-imaging= python-imaging-devel pystatgrab gcc git libgee libgee-devel ORBit compat-l= ibstdc++-33 compat-libstdc++-296

#Find RPMs for distro:
#http://download.opensuse.org/repositories/home:/= anagappan/
#Download and install all the ldtp RPMs


http://sourceforge.net/projects= /ltfx/
Download .gz file
tar -zxvf ltfx-*.tar.gz
cd ltfx-
make
./inst= all


git clone git://anongit.freedesktop.org/git/ldtp/ldtp.git
cd ldtp ./autogen.sh --prefix=3D/usr; make=A0
make install
=A0
Enable ass= istive technologies
System > Preferences > Assistive technology Pr= eferences > check "Enable assitive technologies"


In= stall java jre from sun. follow instructions on java site to setup for Fire= fox.


(Setup the gnome java bridge)
http://live.gnome.org/Java%20Access%20Bridge
= Download latest java-access-bridge

Get the Sun Java JDK
http://www.= howtoforge.com/sun_java_se6sdk_netbeans_fedora7
(JDK SE Dev Kit 17)
(Setup SUN's Java ?)
(http://www.my-guides.net/en/con= tent/view/125/26/1/11/)
(http://www.schabell.org/2009/0= 6/fedora-10-adding-new-java-version-6-16.html)


Configure JAB-
http://live.gnome.org= /Java%20Access%20Bridge#head-76015b94b753f794eb71e944502bd7332751a85a --000feae5154efbf8860477f443d3-- From wangqi.s at gmail.com Sat Nov 14 19:13:50 2009 From: wangqi.s at gmail.com (Wang Qi, Scott) Date: Sun, 15 Nov 2009 11:13:50 +0800 Subject: [LDTP-Dev] Callback example raises exception. Message-ID: <88a4ac910911141913i15246295mbc97ce39e25815b9@mail.gmail.com> Hi, I tried the callback example at http://ldtp.freedesktop.org/user-doc/index.html on Ubunt 9.04 with LDTP 1.7.1. It seems as soon as the first callback function 'cb' is triggered. It raise a exception. >>> onwindowcreate('Replace', cb) 1 >>> onwindowcreate('dlgFind', cbwithvarargs, 'test', 'var', 'args') 1 >>> click('*gedit', 'btnReplace') 1 >>> Unhandled exception in thread started by Traceback (most recent call last): File "/var/lib/python-support/python2.6/ldtp.py", line 351, in invokecallback callback = _callbackFunctions.get (_responseData [1])[0] TypeError: 'NoneType' object is unsubscriptable But the callback with arguments works just fine. Is this a bug? Another observation is that it seems the default gedit installed with Ubuntu 9.04 only allow a single dialog to be pop-up in front of main window. click('*gedit', 'btnReplace') # This will pop up the Replace dialog. click('*gedit', 'btnFind') # But this one only highlight the Find button. Therefore, this example may not work any more as intended originally. Thanks Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091115/64221768/attachment.html From wangqi.s at gmail.com Sat Nov 14 19:17:24 2009 From: wangqi.s at gmail.com (Wang Qi, Scott) Date: Sun, 15 Nov 2009 11:17:24 +0800 Subject: [LDTP-Dev] Callback example raises exception. In-Reply-To: <88a4ac910911141913i15246295mbc97ce39e25815b9@mail.gmail.com> References: <88a4ac910911141913i15246295mbc97ce39e25815b9@mail.gmail.com> Message-ID: <88a4ac910911141917p12a917ep956667a7474535ca@mail.gmail.com> In addition to the pop-up dialog description below, it seems that it is allowed to display 'Find' dialog and 'Open' dialog simultaneously. So the behavior of pop-up windows depends on the type of pop up dialog. Thanks Scott On Sun, Nov 15, 2009 at 11:13 AM, Wang Qi, Scott wrote: > Hi, > > I tried the callback example at > http://ldtp.freedesktop.org/user-doc/index.html on Ubunt 9.04 with LDTP > 1.7.1. > > It seems as soon as the first callback function 'cb' is triggered. It raise > a exception. > > >>> onwindowcreate('Replace', cb) > 1 > >>> onwindowcreate('dlgFind', cbwithvarargs, 'test', 'var', 'args') > 1 > >>> click('*gedit', 'btnReplace') > 1 > >>> Unhandled exception in thread started by 0xa4f087c> > Traceback (most recent call last): > File "/var/lib/python-support/python2.6/ldtp.py", line 351, in > invokecallback > callback = _callbackFunctions.get (_responseData [1])[0] > TypeError: 'NoneType' object is unsubscriptable > > But the callback with arguments works just fine. Is this a bug? > > Another observation is that it seems the default gedit installed with > Ubuntu 9.04 only allow a single dialog to be pop-up in front of main window. > > > click('*gedit', 'btnReplace') # This will pop up the Replace dialog. > click('*gedit', 'btnFind') # But this one only highlight the Find button. > > Therefore, this example may not work any more as intended originally. > > Thanks > Scott > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091115/f9757cb1/attachment.htm From nagappan at gmail.com Sat Nov 14 20:41:34 2009 From: nagappan at gmail.com (Nagappan Alagappan) Date: Sat, 14 Nov 2009 20:41:34 -0800 Subject: [LDTP-Dev] Callback example raises exception. In-Reply-To: <88a4ac910911141913i15246295mbc97ce39e25815b9@mail.gmail.com> References: <88a4ac910911141913i15246295mbc97ce39e25815b9@mail.gmail.com> Message-ID: <9d0602eb0911142041m5454b98cj9835626ae820f2c4@mail.gmail.com> Hi Scott, Its a bug :) Have fixed it in git. The issue was the window name was not in LDTP format. I think this has to be documented. Will fix these issues in LDTPv2. Thanks Nagappan On Sat, Nov 14, 2009 at 7:13 PM, Wang Qi, Scott wrote: > Hi, > > I tried the callback example at > http://ldtp.freedesktop.org/user-doc/index.html on Ubunt 9.04 with LDTP > 1.7.1. > > It seems as soon as the first callback function 'cb' is triggered. It raise > a exception. > > >>> onwindowcreate('Replace', cb) > 1 > >>> onwindowcreate('dlgFind', cbwithvarargs, 'test', 'var', 'args') > 1 > >>> click('*gedit', 'btnReplace') > 1 > >>> Unhandled exception in thread started by 0xa4f087c> > Traceback (most recent call last): > File "/var/lib/python-support/python2.6/ldtp.py", line 351, in > invokecallback > callback = _callbackFunctions.get (_responseData [1])[0] > TypeError: 'NoneType' object is unsubscriptable > > But the callback with arguments works just fine. Is this a bug? > > Another observation is that it seems the default gedit installed with > Ubuntu 9.04 only allow a single dialog to be pop-up in front of main window. > > > click('*gedit', 'btnReplace') # This will pop up the Replace dialog. > click('*gedit', 'btnFind') # But this one only highlight the Find button. > > Therefore, this example may not work any more as intended originally. > > Thanks > Scott > > > _______________________________________________ > LDTP-dev mailing list > LDTP-dev at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/ldtp-dev > > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091114/ba5cd32e/attachment.htm From wangqi.s at gmail.com Sat Nov 14 23:58:24 2009 From: wangqi.s at gmail.com (Wang Qi, Scott) Date: Sun, 15 Nov 2009 15:58:24 +0800 Subject: [LDTP-Dev] Callback example raises exception. In-Reply-To: <9d0602eb0911142041m5454b98cj9835626ae820f2c4@mail.gmail.com> References: <88a4ac910911141913i15246295mbc97ce39e25815b9@mail.gmail.com> <9d0602eb0911142041m5454b98cj9835626ae820f2c4@mail.gmail.com> Message-ID: <88a4ac910911142358v102688d2scab238c32a5ea9a5@mail.gmail.com> Hi Nagappan, Thanks for the quick reply. What about this observation? Another observation is that it seems the default gedit installed with Ubuntu 9.04 only allow a single dialog to be pop-up in front of main window. click('*gedit', 'btnReplace') # This will pop up the Replace dialog. click('*gedit', 'btnFind') # But this one only highlight the Find button. Therefore, this example may not work any more as intended originally. Thanks Scott On Sun, Nov 15, 2009 at 12:41 PM, Nagappan Alagappan wrote: > Hi Scott, > > Its a bug :) Have fixed it in git. The issue was the window name was not in > LDTP format. I think this has to be documented. Will fix these issues in > LDTPv2. > > Thanks > Nagappan > > On Sat, Nov 14, 2009 at 7:13 PM, Wang Qi, Scott wrote: > >> Hi, >> >> I tried the callback example at >> http://ldtp.freedesktop.org/user-doc/index.html on Ubunt 9.04 with LDTP >> 1.7.1. >> >> It seems as soon as the first callback function 'cb' is triggered. It >> raise a exception. >> >> >>> onwindowcreate('Replace', cb) >> 1 >> >>> onwindowcreate('dlgFind', cbwithvarargs, 'test', 'var', 'args') >> 1 >> >>> click('*gedit', 'btnReplace') >> 1 >> >>> Unhandled exception in thread started by > 0xa4f087c> >> Traceback (most recent call last): >> File "/var/lib/python-support/python2.6/ldtp.py", line 351, in >> invokecallback >> callback = _callbackFunctions.get (_responseData [1])[0] >> TypeError: 'NoneType' object is unsubscriptable >> >> But the callback with arguments works just fine. Is this a bug? >> >> Another observation is that it seems the default gedit installed with >> Ubuntu 9.04 only allow a single dialog to be pop-up in front of main window. >> >> >> click('*gedit', 'btnReplace') # This will pop up the Replace dialog. >> click('*gedit', 'btnFind') # But this one only highlight the Find button. >> >> Therefore, this example may not work any more as intended originally. >> >> Thanks >> Scott >> >> >> _______________________________________________ >> LDTP-dev mailing list >> LDTP-dev at lists.freedesktop.org >> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev >> >> > > > -- > Linux Desktop (GUI Application) Testing Project - > http://ldtp.freedesktop.org > http://nagappanal.blogspot.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091115/edb08f93/attachment.html From wangqi.s at gmail.com Sun Nov 15 02:12:20 2009 From: wangqi.s at gmail.com (Wang Qi, Scott) Date: Sun, 15 Nov 2009 18:12:20 +0800 Subject: [LDTP-Dev] removecallback usage? Message-ID: <88a4ac910911150212s735348fbvb08bd76608bc71c7@mail.gmail.com> Hi Nagappan, I want to make use of onwindowcreate() and removecallback() to accomplish a usage as such: 1) I register a callback using onwindowcreate() just before I invoke a menu operation for my application under test (AUT). 2) Then, I invoke the menu 2.1) If the pop-up does occur, the call back is triggered. 3) After the menu operations, I remove the callback using removecallback (). As the pop-up has a quite generic name, the action in the callback is only meant to be valid for this particular menu. 4) Perform other operations... 5) At last, the whole test case finishes. But in my code, at step 3) I get this exceptions as below. Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/mago/cmd/runner.py", line 95, in run self._run(loggerclass, setup_once) File "/usr/local/lib/python2.6/dist-packages/mago/cmd/runner.py", line 122, in _run self.suite.setup() File "/home/qwang12/tl/src/QA/AutoTest/TestCode/guiauto/ldtpsrc/trinitylake_testsuites.py", line 78, in setup super(BldkDefaultConfTestSuite, self).setup() File "/home/qwang12/tl/src/QA/AutoTest/TestCode/guiauto/ldtpsrc/trinitylake_testsuites.py", line 26, in setup self.application.open() File "/home/qwang12/tl/src/QA/AutoTest/TestCode/guiauto/ldtpsrc/trinitylake.py", line 172, in open ldtp.removecallback(self.UNEXPECTED_STALL_PROJECT_DLG_TITLE) File "/var/lib/python-support/python2.6/ldtp.py", line 2019, in removecallback _callbackFunctions [windowTitle][1].exit () AttributeError: 'int' object has no attribute 'exit' I read the code in removecallback(), i save the below highlighted comments: if _callbackFunctions.has_key (windowTitle): *# Exit last thread registered with same window title* _callbackFunctions [windowTitle][1].exit () # delete the previous instance My question is that why to "Exit last thread" in removecallback ()? Thanks Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091115/c5a35f23/attachment.html From nagappan at gmail.com Sun Nov 15 10:03:19 2009 From: nagappan at gmail.com (Nagappan Alagappan) Date: Sun, 15 Nov 2009 10:03:19 -0800 Subject: [LDTP-Dev] Callback example raises exception. In-Reply-To: <88a4ac910911142358v102688d2scab238c32a5ea9a5@mail.gmail.com> References: <88a4ac910911141913i15246295mbc97ce39e25815b9@mail.gmail.com> <9d0602eb0911142041m5454b98cj9835626ae820f2c4@mail.gmail.com> <88a4ac910911142358v102688d2scab238c32a5ea9a5@mail.gmail.com> Message-ID: <9d0602eb0911151003l4ddb133dya8c3a20d136e9376@mail.gmail.com> Hi Scott, Yes you are correct, the latest gedit can just have either dlgFind or dlgReplace open at any point of time. Will fix the doc :) Thanks Nagappan On Sat, Nov 14, 2009 at 11:58 PM, Wang Qi, Scott wrote: > Hi Nagappan, > > Thanks for the quick reply. > > What about this observation? > > Another observation is that it seems the default gedit installed with > Ubuntu 9.04 only allow a single dialog to be pop-up in front of main > window. > > click('*gedit', 'btnReplace') # This will pop up the Replace dialog. > click('*gedit', 'btnFind') # But this one only highlight the Find button. > > Therefore, this example may not work any more as intended originally. > > Thanks > Scott > > On Sun, Nov 15, 2009 at 12:41 PM, Nagappan Alagappan wrote: > >> Hi Scott, >> >> Its a bug :) Have fixed it in git. The issue was the window name was not >> in LDTP format. I think this has to be documented. Will fix these issues in >> LDTPv2. >> >> Thanks >> Nagappan >> >> On Sat, Nov 14, 2009 at 7:13 PM, Wang Qi, Scott wrote: >> >>> Hi, >>> >>> I tried the callback example at >>> http://ldtp.freedesktop.org/user-doc/index.html on Ubunt 9.04 with LDTP >>> 1.7.1. >>> >>> It seems as soon as the first callback function 'cb' is triggered. It >>> raise a exception. >>> >>> >>> onwindowcreate('Replace', cb) >>> 1 >>> >>> onwindowcreate('dlgFind', cbwithvarargs, 'test', 'var', 'args') >>> 1 >>> >>> click('*gedit', 'btnReplace') >>> 1 >>> >>> Unhandled exception in thread started by >> 0xa4f087c> >>> Traceback (most recent call last): >>> File "/var/lib/python-support/python2.6/ldtp.py", line 351, in >>> invokecallback >>> callback = _callbackFunctions.get (_responseData [1])[0] >>> TypeError: 'NoneType' object is unsubscriptable >>> >>> But the callback with arguments works just fine. Is this a bug? >>> >>> Another observation is that it seems the default gedit installed with >>> Ubuntu 9.04 only allow a single dialog to be pop-up in front of main window. >>> >>> >>> click('*gedit', 'btnReplace') # This will pop up the Replace dialog. >>> click('*gedit', 'btnFind') # But this one only highlight the Find button. >>> >>> Therefore, this example may not work any more as intended originally. >>> >>> Thanks >>> Scott >>> >>> >>> _______________________________________________ >>> LDTP-dev mailing list >>> LDTP-dev at lists.freedesktop.org >>> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev >>> >>> >> >> >> -- >> Linux Desktop (GUI Application) Testing Project - >> http://ldtp.freedesktop.org >> http://nagappanal.blogspot.com >> > > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091115/5d4829b8/attachment.html From wangqi.s at gmail.com Mon Nov 16 00:01:42 2009 From: wangqi.s at gmail.com (Wang Qi, Scott) Date: Mon, 16 Nov 2009 16:01:42 +0800 Subject: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? Message-ID: <88a4ac910911160001k47ceaeebh8161d4966e25590c@mail.gmail.com> Hi Nagappan, I installed LDTP 1.7.1 (below URL) on Ubuntu 8.10 . http://download.opensuse.org/repositories/home:/anagappan/xUbuntu_8.10/ I tried to run the below scripts on U8.10 after installation. I always found a exception after runing the smoke_ldtp() after the first round. Is the LDTP 1.7.1 tested intensively on U8.10? Thanks Scott ~$ python ldtp_smoke_with_gedit.py i is 0 GTK Accessibility Module initialized i is 1 GTK Accessibility Module initialized (gedit:16481): Gtk-CRITICAL **: gtk_button_leave: assertion `GTK_IS_BUTTON (button)' failed Traceback (most recent call last): File "ldtp_smoke_with_gedit.py", line 30, in smoke_ldtp() File "ldtp_smoke_with_gedit.py", line 20, in smoke_ldtp settextvalue(WNAME, 'txt1', 'hello world') File "/var/lib/python-support/python2.5/ldtp.py", line 858, in settextvalue raise LdtpExecutionError (_responseStatus [1]) ldtplib.ldtplibutils.LdtpExecutionError: u'Window does not exist' # Below is the content for ldtp_smoke_with_gedit.py # This script will simply test the installation of LDTP and all # necessary components on a newly installed system. # 1) Close all all instances of gedit before calling this script # 2) This scripts works on Ubuntu 9.0.4. from ldtp import * # Sometimes, '*gedit*' does not works. WNAME = '*gedit' def smoke_ldtp(): launchapp('gedit') waittillguiexist(WNAME, guiTimeOut=3) # On Ubuntu 9.0.4, the text area is named as 'txt1'. # It could be 'txt0' or other value on other platform. # Please use the inspection tool such as "accerciser" # to check out. settextvalue(WNAME, 'txt1', 'hello world') selectmenuitem(WNAME, 'mnuFile;mnuQuit') waittillguiexist('dlgQuestion') click('dlgQuestion', 'btnClosewithoutSaving') for i in xrange(10): print "i is %d" %i smoke_ldtp() -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091116/184e6ea1/attachment.html From wangqi.s at gmail.com Mon Nov 16 03:30:13 2009 From: wangqi.s at gmail.com (Wang Qi, Scott) Date: Mon, 16 Nov 2009 19:30:13 +0800 Subject: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? In-Reply-To: <88a4ac910911160001k47ceaeebh8161d4966e25590c@mail.gmail.com> References: <88a4ac910911160001k47ceaeebh8161d4966e25590c@mail.gmail.com> Message-ID: <88a4ac910911160330j4bcb000fm42751a5b8c9e3613@mail.gmail.com> Hi, Nagappan, I spent more time on my issue. My workflow is as follows. 1) application is lauched and waittillguiexist() 2) perform tests 3) application is closed and waittillguinotexist() to wait for the app to quit completely. Then mago tests is repeated for the above 3 steps. On FC10 X64 and U8.10 IA32, LDTP will always trow a exception after step 3. It seems that when the application quit, somehow the LDTP backend also go unstable. But this case never occurs on Ubuntu 9.04. Do you happen to came across this kind of issue before? Thank you for the time! Scott Btw, I just realized that I made a mistake in the following code example. I should wait for a while to allow the gedit to quit completely. On Mon, Nov 16, 2009 at 4:01 PM, Wang Qi, Scott wrote: > Hi Nagappan, > > I installed LDTP 1.7.1 (below URL) on Ubuntu 8.10 . > > http://download.opensuse.org/repositories/home:/anagappan/xUbuntu_8.10/ > > I tried to run the below scripts on U8.10 after installation. I always > found a exception after runing the smoke_ldtp() after the first round. Is > the LDTP 1.7.1 tested intensively on U8.10? > > Thanks > Scott > > ~$ python ldtp_smoke_with_gedit.py > i is 0 > GTK Accessibility Module initialized > i is 1 > GTK Accessibility Module initialized > > (gedit:16481): Gtk-CRITICAL **: gtk_button_leave: assertion `GTK_IS_BUTTON > (button)' failed > Traceback (most recent call last): > File "ldtp_smoke_with_gedit.py", line 30, in > smoke_ldtp() > File "ldtp_smoke_with_gedit.py", line 20, in smoke_ldtp > settextvalue(WNAME, 'txt1', 'hello world') > File "/var/lib/python-support/python2.5/ldtp.py", line 858, in > settextvalue > raise LdtpExecutionError (_responseStatus [1]) > ldtplib.ldtplibutils.LdtpExecutionError: u'Window does not exist' > > > > > > > # Below is the content for ldtp_smoke_with_gedit.py > # This script will simply test the installation of LDTP and all > # necessary components on a newly installed system. > # 1) Close all all instances of gedit before calling this script > # 2) This scripts works on Ubuntu 9.0.4. > > from ldtp import * > > # Sometimes, '*gedit*' does not works. > WNAME = '*gedit' > > def smoke_ldtp(): > > launchapp('gedit') > waittillguiexist(WNAME, guiTimeOut=3) > > # On Ubuntu 9.0.4, the text area is named as 'txt1'. > # It could be 'txt0' or other value on other platform. > # Please use the inspection tool such as "accerciser" > # to check out. > settextvalue(WNAME, 'txt1', 'hello world') > > selectmenuitem(WNAME, 'mnuFile;mnuQuit') > > waittillguiexist('dlgQuestion') > > click('dlgQuestion', 'btnClosewithoutSaving') > #waittillguinotexist(WNAME, guiTimeOut=5) # waittillguinotexist() will cause a time-out exception on FC10-X64 or Ubutun 8.10. > > for i in xrange(10): > print "i is %d" %i > smoke_ldtp() > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091116/6ccb53f6/attachment.html From nagappan at gmail.com Mon Nov 16 08:15:26 2009 From: nagappan at gmail.com (Nagappan Alagappan) Date: Mon, 16 Nov 2009 08:15:26 -0800 Subject: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? In-Reply-To: <88a4ac910911160330j4bcb000fm42751a5b8c9e3613@mail.gmail.com> References: <88a4ac910911160001k47ceaeebh8161d4966e25590c@mail.gmail.com> <88a4ac910911160330j4bcb000fm42751a5b8c9e3613@mail.gmail.com> Message-ID: <9d0602eb0911160815w1057305audf9470d1b4c23c74@mail.gmail.com> Hi Scott, In VMware, we run our test regularly on Ubuntu 8.04 and 9.04, near about 1500 tests on weekly basis using LDTP, we haven't faced any such issue. On Ubuntu 8.10, we have noticed this https://bugzilla.gnome.org/show_bug.cgi?id=561631 But it seems your bug is different. On 9.04, we use LDTPv2. I don't have an answer for this now :) Need to run the test on Ubuntu 8.10. Thanks Nagappan On Mon, Nov 16, 2009 at 3:30 AM, Wang Qi, Scott wrote: > Hi, Nagappan, > > I spent more time on my issue. My workflow is as follows. > > 1) application is lauched and waittillguiexist() > 2) perform tests > 3) application is closed and waittillguinotexist() to wait for the app to > quit completely. > > Then mago tests is repeated for the above 3 steps. > > On FC10 X64 and U8.10 IA32, LDTP will always trow a exception after step 3. > It seems that when the application quit, somehow the LDTP backend also go > unstable. But this case never occurs on Ubuntu 9.04. Do you happen to came > across this kind of issue before? > > > > Thank you for the time! > Scott > > Btw, I just realized that I made a mistake in the following code example. I > should wait for a while to allow the gedit to quit completely. > > On Mon, Nov 16, 2009 at 4:01 PM, Wang Qi, Scott wrote: > >> Hi Nagappan, >> >> I installed LDTP 1.7.1 (below URL) on Ubuntu 8.10 . >> >> http://download.opensuse.org/repositories/home:/anagappan/xUbuntu_8.10/ >> >> I tried to run the below scripts on U8.10 after installation. I always >> found a exception after runing the smoke_ldtp() after the first round. Is >> the LDTP 1.7.1 tested intensively on U8.10? >> >> Thanks >> Scott >> >> ~$ python ldtp_smoke_with_gedit.py >> i is 0 >> GTK Accessibility Module initialized >> i is 1 >> GTK Accessibility Module initialized >> >> (gedit:16481): Gtk-CRITICAL **: gtk_button_leave: assertion `GTK_IS_BUTTON >> (button)' failed >> Traceback (most recent call last): >> File "ldtp_smoke_with_gedit.py", line 30, in >> smoke_ldtp() >> File "ldtp_smoke_with_gedit.py", line 20, in smoke_ldtp >> settextvalue(WNAME, 'txt1', 'hello world') >> File "/var/lib/python-support/python2.5/ldtp.py", line 858, in >> settextvalue >> raise LdtpExecutionError (_responseStatus [1]) >> ldtplib.ldtplibutils.LdtpExecutionError: u'Window does not exist' >> >> >> >> >> >> >> # Below is the content for ldtp_smoke_with_gedit.py >> # This script will simply test the installation of LDTP and all >> # necessary components on a newly installed system. >> # 1) Close all all instances of gedit before calling this script >> # 2) This scripts works on Ubuntu 9.0.4. >> >> from ldtp import * >> >> # Sometimes, '*gedit*' does not works. >> WNAME = '*gedit' >> >> def smoke_ldtp(): >> >> launchapp('gedit') >> waittillguiexist(WNAME, guiTimeOut=3) >> >> # On Ubuntu 9.0.4, the text area is named as 'txt1'. >> # It could be 'txt0' or other value on other platform. >> # Please use the inspection tool such as "accerciser" >> # to check out. >> settextvalue(WNAME, 'txt1', 'hello world') >> >> selectmenuitem(WNAME, 'mnuFile;mnuQuit') >> >> waittillguiexist('dlgQuestion') >> >> click('dlgQuestion', 'btnClosewithoutSaving') >> > #waittillguinotexist(WNAME, guiTimeOut=5) # waittillguinotexist() > will cause a time-out exception on FC10-X64 or Ubutun 8.10. > >> >> for i in xrange(10): >> print "i is %d" %i >> smoke_ldtp() >> >> >> > > _______________________________________________ > LDTP-dev mailing list > LDTP-dev at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/ldtp-dev > > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091116/b980fefa/attachment.html From wangqi.s at gmail.com Mon Nov 16 17:00:42 2009 From: wangqi.s at gmail.com (Wang Qi, Scott) Date: Tue, 17 Nov 2009 09:00:42 +0800 Subject: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? In-Reply-To: <9d0602eb0911160815w1057305audf9470d1b4c23c74@mail.gmail.com> References: <88a4ac910911160001k47ceaeebh8161d4966e25590c@mail.gmail.com> <88a4ac910911160330j4bcb000fm42751a5b8c9e3613@mail.gmail.com> <9d0602eb0911160815w1057305audf9470d1b4c23c74@mail.gmail.com> Message-ID: <88a4ac910911161700i302f6873y3fb5d9ac3e9b207d@mail.gmail.com> Hi, Nagappan, I read the annoucement http://lists.freedesktop.org/archives/ldtp-dev/2009-October/000902.html When will LDTPv2 offically released :)? Any detailed feature list for it available now? Thanks Scott On Tue, Nov 17, 2009 at 12:15 AM, Nagappan Alagappan wrote: > Hi Scott, > > In VMware, we run our test regularly on Ubuntu 8.04 and 9.04, near about > 1500 tests on weekly basis using LDTP, we haven't faced any such issue. On > Ubuntu 8.10, we have noticed this > https://bugzilla.gnome.org/show_bug.cgi?id=561631 But it seems your bug is > different. On 9.04, we use LDTPv2. > > I don't have an answer for this now :) Need to run the test on Ubuntu 8.10. > > Thanks > Nagappan > > On Mon, Nov 16, 2009 at 3:30 AM, Wang Qi, Scott wrote: > >> Hi, Nagappan, >> >> I spent more time on my issue. My workflow is as follows. >> >> 1) application is lauched and waittillguiexist() >> 2) perform tests >> 3) application is closed and waittillguinotexist() to wait for the app to >> quit completely. >> >> Then mago tests is repeated for the above 3 steps. >> >> On FC10 X64 and U8.10 IA32, LDTP will always trow a exception after step >> 3. It seems that when the application quit, somehow the LDTP backend also go >> unstable. But this case never occurs on Ubuntu 9.04. Do you happen to came >> across this kind of issue before? >> >> >> >> Thank you for the time! >> Scott >> >> Btw, I just realized that I made a mistake in the following code example. >> I should wait for a while to allow the gedit to quit completely. >> >> On Mon, Nov 16, 2009 at 4:01 PM, Wang Qi, Scott wrote: >> >>> Hi Nagappan, >>> >>> I installed LDTP 1.7.1 (below URL) on Ubuntu 8.10 . >>> >>> http://download.opensuse.org/repositories/home:/anagappan/xUbuntu_8.10/ >>> >>> I tried to run the below scripts on U8.10 after installation. I always >>> found a exception after runing the smoke_ldtp() after the first round. Is >>> the LDTP 1.7.1 tested intensively on U8.10? >>> >>> Thanks >>> Scott >>> >>> ~$ python ldtp_smoke_with_gedit.py >>> i is 0 >>> GTK Accessibility Module initialized >>> i is 1 >>> GTK Accessibility Module initialized >>> >>> (gedit:16481): Gtk-CRITICAL **: gtk_button_leave: assertion >>> `GTK_IS_BUTTON (button)' failed >>> Traceback (most recent call last): >>> File "ldtp_smoke_with_gedit.py", line 30, in >>> smoke_ldtp() >>> File "ldtp_smoke_with_gedit.py", line 20, in smoke_ldtp >>> settextvalue(WNAME, 'txt1', 'hello world') >>> File "/var/lib/python-support/python2.5/ldtp.py", line 858, in >>> settextvalue >>> raise LdtpExecutionError (_responseStatus [1]) >>> ldtplib.ldtplibutils.LdtpExecutionError: u'Window does not exist' >>> >>> >>> >>> >>> >>> >>> # Below is the content for ldtp_smoke_with_gedit.py >>> # This script will simply test the installation of LDTP and all >>> # necessary components on a newly installed system. >>> # 1) Close all all instances of gedit before calling this script >>> # 2) This scripts works on Ubuntu 9.0.4. >>> >>> from ldtp import * >>> >>> # Sometimes, '*gedit*' does not works. >>> WNAME = '*gedit' >>> >>> def smoke_ldtp(): >>> >>> launchapp('gedit') >>> waittillguiexist(WNAME, guiTimeOut=3) >>> >>> # On Ubuntu 9.0.4, the text area is named as 'txt1'. >>> # It could be 'txt0' or other value on other platform. >>> # Please use the inspection tool such as "accerciser" >>> # to check out. >>> settextvalue(WNAME, 'txt1', 'hello world') >>> >>> selectmenuitem(WNAME, 'mnuFile;mnuQuit') >>> >>> waittillguiexist('dlgQuestion') >>> >>> click('dlgQuestion', 'btnClosewithoutSaving') >>> >> #waittillguinotexist(WNAME, guiTimeOut=5) # waittillguinotexist() >> will cause a time-out exception on FC10-X64 or Ubutun 8.10. >> >>> >>> for i in xrange(10): >>> print "i is %d" %i >>> smoke_ldtp() >>> >>> >>> >> >> _______________________________________________ >> LDTP-dev mailing list >> LDTP-dev at lists.freedesktop.org >> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev >> >> > > > -- > Linux Desktop (GUI Application) Testing Project - > http://ldtp.freedesktop.org > http://nagappanal.blogspot.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091117/910754ca/attachment.html From nagappan at gmail.com Mon Nov 16 18:02:54 2009 From: nagappan at gmail.com (Nagappan Alagappan) Date: Mon, 16 Nov 2009 18:02:54 -0800 Subject: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? In-Reply-To: <88a4ac910911161700i302f6873y3fb5d9ac3e9b207d@mail.gmail.com> References: <88a4ac910911160001k47ceaeebh8161d4966e25590c@mail.gmail.com> <88a4ac910911160330j4bcb000fm42751a5b8c9e3613@mail.gmail.com> <9d0602eb0911160815w1057305audf9470d1b4c23c74@mail.gmail.com> <88a4ac910911161700i302f6873y3fb5d9ac3e9b207d@mail.gmail.com> Message-ID: <9d0602eb0911161802ke93c9f2pe3fb2bdbb89697c4@mail.gmail.com> Hi Scott, After VMware Workstation 7.0 got released, I feel that I could spend little bit more time on LDTPv2. Will start fixing the missing API in this list http://lists.freedesktop.org/archives/ldtp-dev/2009-October/000912.html and once things are ready, let us go with the release. LDTPv2 release should be by December '09 ! Thanks Nagappan On Mon, Nov 16, 2009 at 5:00 PM, Wang Qi, Scott wrote: > Hi, Nagappan, > > I read the annoucement > http://lists.freedesktop.org/archives/ldtp-dev/2009-October/000902.html > > When will LDTPv2 offically released :)? Any detailed feature list for it > available now? > > Thanks > Scott > > > On Tue, Nov 17, 2009 at 12:15 AM, Nagappan Alagappan wrote: > >> Hi Scott, >> >> In VMware, we run our test regularly on Ubuntu 8.04 and 9.04, near about >> 1500 tests on weekly basis using LDTP, we haven't faced any such issue. On >> Ubuntu 8.10, we have noticed this >> https://bugzilla.gnome.org/show_bug.cgi?id=561631 But it seems your bug >> is different. On 9.04, we use LDTPv2. >> >> I don't have an answer for this now :) Need to run the test on Ubuntu >> 8.10. >> >> Thanks >> Nagappan >> >> On Mon, Nov 16, 2009 at 3:30 AM, Wang Qi, Scott wrote: >> >>> Hi, Nagappan, >>> >>> I spent more time on my issue. My workflow is as follows. >>> >>> 1) application is lauched and waittillguiexist() >>> 2) perform tests >>> 3) application is closed and waittillguinotexist() to wait for the app to >>> quit completely. >>> >>> Then mago tests is repeated for the above 3 steps. >>> >>> On FC10 X64 and U8.10 IA32, LDTP will always trow a exception after step >>> 3. It seems that when the application quit, somehow the LDTP backend also go >>> unstable. But this case never occurs on Ubuntu 9.04. Do you happen to came >>> across this kind of issue before? >>> >>> >>> >>> Thank you for the time! >>> Scott >>> >>> Btw, I just realized that I made a mistake in the following code example. >>> I should wait for a while to allow the gedit to quit completely. >>> >>> On Mon, Nov 16, 2009 at 4:01 PM, Wang Qi, Scott wrote: >>> >>>> Hi Nagappan, >>>> >>>> I installed LDTP 1.7.1 (below URL) on Ubuntu 8.10 . >>>> >>>> http://download.opensuse.org/repositories/home:/anagappan/xUbuntu_8.10/ >>>> >>>> I tried to run the below scripts on U8.10 after installation. I always >>>> found a exception after runing the smoke_ldtp() after the first round. Is >>>> the LDTP 1.7.1 tested intensively on U8.10? >>>> >>>> Thanks >>>> Scott >>>> >>>> ~$ python ldtp_smoke_with_gedit.py >>>> i is 0 >>>> GTK Accessibility Module initialized >>>> i is 1 >>>> GTK Accessibility Module initialized >>>> >>>> (gedit:16481): Gtk-CRITICAL **: gtk_button_leave: assertion >>>> `GTK_IS_BUTTON (button)' failed >>>> Traceback (most recent call last): >>>> File "ldtp_smoke_with_gedit.py", line 30, in >>>> smoke_ldtp() >>>> File "ldtp_smoke_with_gedit.py", line 20, in smoke_ldtp >>>> settextvalue(WNAME, 'txt1', 'hello world') >>>> File "/var/lib/python-support/python2.5/ldtp.py", line 858, in >>>> settextvalue >>>> raise LdtpExecutionError (_responseStatus [1]) >>>> ldtplib.ldtplibutils.LdtpExecutionError: u'Window does not exist' >>>> >>>> >>>> >>>> >>>> >>>> >>>> # Below is the content for ldtp_smoke_with_gedit.py >>>> # This script will simply test the installation of LDTP and all >>>> # necessary components on a newly installed system. >>>> # 1) Close all all instances of gedit before calling this script >>>> # 2) This scripts works on Ubuntu 9.0.4. >>>> >>>> from ldtp import * >>>> >>>> # Sometimes, '*gedit*' does not works. >>>> WNAME = '*gedit' >>>> >>>> def smoke_ldtp(): >>>> >>>> launchapp('gedit') >>>> waittillguiexist(WNAME, guiTimeOut=3) >>>> >>>> # On Ubuntu 9.0.4, the text area is named as 'txt1'. >>>> # It could be 'txt0' or other value on other platform. >>>> # Please use the inspection tool such as "accerciser" >>>> # to check out. >>>> settextvalue(WNAME, 'txt1', 'hello world') >>>> >>>> selectmenuitem(WNAME, 'mnuFile;mnuQuit') >>>> >>>> waittillguiexist('dlgQuestion') >>>> >>>> click('dlgQuestion', 'btnClosewithoutSaving') >>>> >>> #waittillguinotexist(WNAME, guiTimeOut=5) # waittillguinotexist() >>> will cause a time-out exception on FC10-X64 or Ubutun 8.10. >>> >>>> >>>> for i in xrange(10): >>>> print "i is %d" %i >>>> smoke_ldtp() >>>> >>>> >>>> >>> >>> _______________________________________________ >>> LDTP-dev mailing list >>> LDTP-dev at lists.freedesktop.org >>> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev >>> >>> >> >> >> -- >> Linux Desktop (GUI Application) Testing Project - >> http://ldtp.freedesktop.org >> http://nagappanal.blogspot.com >> > > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091116/14e7cadf/attachment.html From wei.z.zhang at intel.com Mon Nov 16 21:25:13 2009 From: wei.z.zhang at intel.com (Zhang, Wei Z) Date: Tue, 17 Nov 2009 13:25:13 +0800 Subject: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? In-Reply-To: <9d0602eb0911161802ke93c9f2pe3fb2bdbb89697c4@mail.gmail.com> References: <88a4ac910911160001k47ceaeebh8161d4966e25590c@mail.gmail.com> <88a4ac910911160330j4bcb000fm42751a5b8c9e3613@mail.gmail.com> <9d0602eb0911160815w1057305audf9470d1b4c23c74@mail.gmail.com> <88a4ac910911161700i302f6873y3fb5d9ac3e9b207d@mail.gmail.com> <9d0602eb0911161802ke93c9f2pe3fb2bdbb89697c4@mail.gmail.com> Message-ID: Hi, Nagappan: I've still used LDTPv1 and I found the performance on getobjectproperty/getobjectinfo... is related with level of the object. when I tried to get all labels of one window's object by getobjectproperty, I found it becomes slower with the object's level increasing. Take gedit for example, It used about 1m30s to list all object's label on my desktop PC. My test is quite easy: for o in getobjectlist('frm*gedit*') print getobjectproperty('frm*gedit*', o, 'label') So, If there will be enhancement on it with LDTPv2? Hopefully it could be some workaround on LDTPv1 :) From: ldtp-dev-bounces at lists.freedesktop.org [mailto:ldtp-dev-bounces at lists.freedesktop.org] On Behalf Of Nagappan Alagappan Sent: Tuesday, November 17, 2009 10:03 AM To: Wang Qi, Scott Cc: ldtp-dev at lists.freedesktop.org Subject: Re: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? Hi Scott, After VMware Workstation 7.0 got released, I feel that I could spend little bit more time on LDTPv2. Will start fixing the missing API in this list http://lists.freedesktop.org/archives/ldtp-dev/2009-October/000912.html and once things are ready, let us go with the release. LDTPv2 release should be by December '09 ! Thanks Nagappan On Mon, Nov 16, 2009 at 5:00 PM, Wang Qi, Scott > wrote: Hi, Nagappan, I read the annoucement http://lists.freedesktop.org/archives/ldtp-dev/2009-October/000902.html When will LDTPv2 offically released :)? Any detailed feature list for it available now? Thanks Scott On Tue, Nov 17, 2009 at 12:15 AM, Nagappan Alagappan > wrote: Hi Scott, In VMware, we run our test regularly on Ubuntu 8.04 and 9.04, near about 1500 tests on weekly basis using LDTP, we haven't faced any such issue. On Ubuntu 8.10, we have noticed this https://bugzilla.gnome.org/show_bug.cgi?id=561631 But it seems your bug is different. On 9.04, we use LDTPv2. I don't have an answer for this now :) Need to run the test on Ubuntu 8.10. Thanks Nagappan On Mon, Nov 16, 2009 at 3:30 AM, Wang Qi, Scott > wrote: Hi, Nagappan, I spent more time on my issue. My workflow is as follows. 1) application is lauched and waittillguiexist() 2) perform tests 3) application is closed and waittillguinotexist() to wait for the app to quit completely. Then mago tests is repeated for the above 3 steps. On FC10 X64 and U8.10 IA32, LDTP will always trow a exception after step 3. It seems that when the application quit, somehow the LDTP backend also go unstable. But this case never occurs on Ubuntu 9.04. Do you happen to came across this kind of issue before? Thank you for the time! Scott Btw, I just realized that I made a mistake in the following code example. I should wait for a while to allow the gedit to quit completely. On Mon, Nov 16, 2009 at 4:01 PM, Wang Qi, Scott > wrote: Hi Nagappan, I installed LDTP 1.7.1 (below URL) on Ubuntu 8.10 . http://download.opensuse.org/repositories/home:/anagappan/xUbuntu_8.10/ I tried to run the below scripts on U8.10 after installation. I always found a exception after runing the smoke_ldtp() after the first round. Is the LDTP 1.7.1 tested intensively on U8.10? Thanks Scott ~$ python ldtp_smoke_with_gedit.py i is 0 GTK Accessibility Module initialized i is 1 GTK Accessibility Module initialized (gedit:16481): Gtk-CRITICAL **: gtk_button_leave: assertion `GTK_IS_BUTTON (button)' failed Traceback (most recent call last): File "ldtp_smoke_with_gedit.py", line 30, in smoke_ldtp() File "ldtp_smoke_with_gedit.py", line 20, in smoke_ldtp settextvalue(WNAME, 'txt1', 'hello world') File "/var/lib/python-support/python2.5/ldtp.py", line 858, in settextvalue raise LdtpExecutionError (_responseStatus [1]) ldtplib.ldtplibutils.LdtpExecutionError: u'Window does not exist' # Below is the content for ldtp_smoke_with_gedit.py # This script will simply test the installation of LDTP and all # necessary components on a newly installed system. # 1) Close all all instances of gedit before calling this script # 2) This scripts works on Ubuntu 9.0.4. from ldtp import * # Sometimes, '*gedit*' does not works. WNAME = '*gedit' def smoke_ldtp(): launchapp('gedit') waittillguiexist(WNAME, guiTimeOut=3) # On Ubuntu 9.0.4, the text area is named as 'txt1'. # It could be 'txt0' or other value on other platform. # Please use the inspection tool such as "accerciser" # to check out. settextvalue(WNAME, 'txt1', 'hello world') selectmenuitem(WNAME, 'mnuFile;mnuQuit') waittillguiexist('dlgQuestion') click('dlgQuestion', 'btnClosewithoutSaving') #waittillguinotexist(WNAME, guiTimeOut=5) # waittillguinotexist() will cause a time-out exception on FC10-X64 or Ubutun 8.10. for i in xrange(10): print "i is %d" %i smoke_ldtp() _______________________________________________ LDTP-dev mailing list LDTP-dev at lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/ldtp-dev -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091117/91a7bd7c/attachment.html From nagappan at gmail.com Mon Nov 16 22:00:20 2009 From: nagappan at gmail.com (Nagappan Alagappan) Date: Mon, 16 Nov 2009 22:00:20 -0800 Subject: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? In-Reply-To: References: <88a4ac910911160001k47ceaeebh8161d4966e25590c@mail.gmail.com> <88a4ac910911160330j4bcb000fm42751a5b8c9e3613@mail.gmail.com> <9d0602eb0911160815w1057305audf9470d1b4c23c74@mail.gmail.com> <88a4ac910911161700i302f6873y3fb5d9ac3e9b207d@mail.gmail.com> <9d0602eb0911161802ke93c9f2pe3fb2bdbb89697c4@mail.gmail.com> Message-ID: <9d0602eb0911162200ua65a2fdha10cd1e4600a2d1b@mail.gmail.com> Hi Wei, On my Ubuntu 9.10 VM with 800 MB memory, I get this performance, for this test: from ldtp import * o = getobjectlist('*-gedit') for i in o: try: print getobjectproperty('*-gedit', i, 'label') except: pass real 0m41.384s user 0m0.128s sys 0m0.408s I prefer to do test on some action / verification and see how it performs :) BTW, on LDTPv2, the performance seems to be too slow :D real 4m29.893s user 0m0.116s sys 0m1.196s Thanks Nagappan On Mon, Nov 16, 2009 at 9:25 PM, Zhang, Wei Z wrote: > Hi, Nagappan: > > I?ve still used LDTPv1 and I found the performance on > getobjectproperty/getobjectinfo? is related with level of the object. when I > tried to get all labels of one window?s object by getobjectproperty, I found > it becomes slower with the object?s level increasing. > > Take gedit for example, It used about 1m30s to list all object?s label on > my desktop PC. > > My test is quite easy: > > for o in getobjectlist(?frm*gedit*?) > > print getobjectproperty(?frm*gedit*?, o, ?label?) > > > > So, If there will be enhancement on it with LDTPv2? Hopefully it > could be some workaround on LDTPv1 :) > > > > > > *From:* ldtp-dev-bounces at lists.freedesktop.org [mailto: > ldtp-dev-bounces at lists.freedesktop.org] *On Behalf Of *Nagappan Alagappan > *Sent:* Tuesday, November 17, 2009 10:03 AM > *To:* Wang Qi, Scott > *Cc:* ldtp-dev at lists.freedesktop.org > *Subject:* Re: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? > > > > Hi Scott, > > After VMware Workstation 7.0 got released, I feel that I could spend little > bit more time on LDTPv2. Will start fixing the missing API in this list > http://lists.freedesktop.org/archives/ldtp-dev/2009-October/000912.htmland once things are ready, let us go with the release. LDTPv2 release should > be by December '09 ! > > Thanks > Nagappan > > On Mon, Nov 16, 2009 at 5:00 PM, Wang Qi, Scott > wrote: > > Hi, Nagappan, > > I read the annoucement > http://lists.freedesktop.org/archives/ldtp-dev/2009-October/000902.html > > When will LDTPv2 offically released :)? Any detailed feature list for it > available now? > > Thanks > Scott > > > > On Tue, Nov 17, 2009 at 12:15 AM, Nagappan Alagappan > wrote: > > Hi Scott, > > In VMware, we run our test regularly on Ubuntu 8.04 and 9.04, near about > 1500 tests on weekly basis using LDTP, we haven't faced any such issue. On > Ubuntu 8.10, we have noticed this > https://bugzilla.gnome.org/show_bug.cgi?id=561631 But it seems your bug is > different. On 9.04, we use LDTPv2. > > I don't have an answer for this now :) Need to run the test on Ubuntu 8.10. > > Thanks > Nagappan > > On Mon, Nov 16, 2009 at 3:30 AM, Wang Qi, Scott > wrote: > > Hi, Nagappan, > > I spent more time on my issue. My workflow is as follows. > > 1) application is lauched and waittillguiexist() > 2) perform tests > 3) application is closed and waittillguinotexist() to wait for the app to > quit completely. > > Then mago tests is repeated for the above 3 steps. > > On FC10 X64 and U8.10 IA32, LDTP will always trow a exception after step 3. > It seems that when the application quit, somehow the LDTP backend also go > unstable. But this case never occurs on Ubuntu 9.04. Do you happen to came > across this kind of issue before? > > > > Thank you for the time! > Scott > > Btw, I just realized that I made a mistake in the following code example. I > should wait for a while to allow the gedit to quit completely. > > On Mon, Nov 16, 2009 at 4:01 PM, Wang Qi, Scott > wrote: > > Hi Nagappan, > > I installed LDTP 1.7.1 (below URL) on Ubuntu 8.10 . > > http://download.opensuse.org/repositories/home:/anagappan/xUbuntu_8.10/ > > I tried to run the below scripts on U8.10 after installation. I always > found a exception after runing the smoke_ldtp() after the first round. Is > the LDTP 1.7.1 tested intensively on U8.10? > > Thanks > Scott > > ~$ python ldtp_smoke_with_gedit.py > i is 0 > GTK Accessibility Module initialized > i is 1 > GTK Accessibility Module initialized > > (gedit:16481): Gtk-CRITICAL **: gtk_button_leave: assertion `GTK_IS_BUTTON > (button)' failed > Traceback (most recent call last): > File "ldtp_smoke_with_gedit.py", line 30, in > smoke_ldtp() > File "ldtp_smoke_with_gedit.py", line 20, in smoke_ldtp > settextvalue(WNAME, 'txt1', 'hello world') > File "/var/lib/python-support/python2.5/ldtp.py", line 858, in > settextvalue > raise LdtpExecutionError (_responseStatus [1]) > ldtplib.ldtplibutils.LdtpExecutionError: u'Window does not exist' > > > > > > > # Below is the content for ldtp_smoke_with_gedit.py > # This script will simply test the installation of LDTP and all > # necessary components on a newly installed system. > # 1) Close all all instances of gedit before calling this script > # 2) This scripts works on Ubuntu 9.0.4. > > from ldtp import * > > # Sometimes, '*gedit*' does not works. > WNAME = '*gedit' > > def smoke_ldtp(): > > launchapp('gedit') > waittillguiexist(WNAME, guiTimeOut=3) > > # On Ubuntu 9.0.4, the text area is named as 'txt1'. > # It could be 'txt0' or other value on other platform. > # Please use the inspection tool such as "accerciser" > # to check out. > settextvalue(WNAME, 'txt1', 'hello world') > > selectmenuitem(WNAME, 'mnuFile;mnuQuit') > > waittillguiexist('dlgQuestion') > > click('dlgQuestion', 'btnClosewithoutSaving') > > #waittillguinotexist(WNAME, guiTimeOut=5) # waittillguinotexist() > will cause a time-out exception on FC10-X64 or Ubutun 8.10. > > > for i in xrange(10): > print "i is %d" %i > smoke_ldtp() > > > > _______________________________________________ > LDTP-dev mailing list > LDTP-dev at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/ldtp-dev > > > > > -- > Linux Desktop (GUI Application) Testing Project - > http://ldtp.freedesktop.org > http://nagappanal.blogspot.com > > > > > > > -- > Linux Desktop (GUI Application) Testing Project - > http://ldtp.freedesktop.org > http://nagappanal.blogspot.com > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091116/c6fad118/attachment.htm From nagappan at gmail.com Mon Nov 16 22:11:40 2009 From: nagappan at gmail.com (Nagappan Alagappan) Date: Mon, 16 Nov 2009 22:11:40 -0800 Subject: [LDTP-Dev] removecallback usage? In-Reply-To: <88a4ac910911150212s735348fbvb08bd76608bc71c7@mail.gmail.com> References: <88a4ac910911150212s735348fbvb08bd76608bc71c7@mail.gmail.com> Message-ID: <9d0602eb0911162211s1012da2eo7b2718e38ea22d80@mail.gmail.com> Hi Scott, Have fixed this issue in git. Thanks for reporting this issue. Thanks Nagappan On Sun, Nov 15, 2009 at 2:12 AM, Wang Qi, Scott wrote: > Hi Nagappan, > > I want to make use of onwindowcreate() and removecallback() to accomplish > a usage as such: > > 1) I register a callback using onwindowcreate() just before I invoke a menu > operation for my application under test (AUT). > 2) Then, I invoke the menu > 2.1) If the pop-up does occur, the call back is triggered. > 3) After the menu operations, I remove the callback using removecallback > (). As the pop-up has a quite generic name, the action in the callback is > only meant to be valid for this particular menu. > 4) Perform other operations... > 5) At last, the whole test case finishes. > > But in my code, at step 3) I get this exceptions as below. > > Traceback (most recent call last): > File "/usr/local/lib/python2.6/dist-packages/mago/cmd/runner.py", line > 95, in run > self._run(loggerclass, setup_once) > File "/usr/local/lib/python2.6/dist-packages/mago/cmd/runner.py", line > 122, in _run > self.suite.setup() > File > "/home/qwang12/tl/src/QA/AutoTest/TestCode/guiauto/ldtpsrc/trinitylake_testsuites.py", > line 78, in setup > super(BldkDefaultConfTestSuite, self).setup() > File > "/home/qwang12/tl/src/QA/AutoTest/TestCode/guiauto/ldtpsrc/trinitylake_testsuites.py", > line 26, in setup > self.application.open() > File > "/home/qwang12/tl/src/QA/AutoTest/TestCode/guiauto/ldtpsrc/trinitylake.py", > line 172, in open > ldtp.removecallback(self.UNEXPECTED_STALL_PROJECT_DLG_TITLE) > File "/var/lib/python-support/python2.6/ldtp.py", line 2019, in > removecallback > _callbackFunctions [windowTitle][1].exit () > AttributeError: 'int' object has no attribute 'exit' > > I read the code in removecallback(), i save the below highlighted comments: > > if _callbackFunctions.has_key (windowTitle): > *# Exit last thread registered with same window title* > _callbackFunctions [windowTitle][1].exit () > # delete the previous instance > > My question is that why to "Exit last thread" in removecallback ()? > > Thanks > Scott > > > > _______________________________________________ > LDTP-dev mailing list > LDTP-dev at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/ldtp-dev > > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091116/c0989254/attachment.html From wei.z.zhang at intel.com Mon Nov 16 22:30:37 2009 From: wei.z.zhang at intel.com (Zhang, Wei Z) Date: Tue, 17 Nov 2009 14:30:37 +0800 Subject: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? In-Reply-To: <9d0602eb0911162200ua65a2fdha10cd1e4600a2d1b@mail.gmail.com> References: <88a4ac910911160001k47ceaeebh8161d4966e25590c@mail.gmail.com> <88a4ac910911160330j4bcb000fm42751a5b8c9e3613@mail.gmail.com> <9d0602eb0911160815w1057305audf9470d1b4c23c74@mail.gmail.com> <88a4ac910911161700i302f6873y3fb5d9ac3e9b207d@mail.gmail.com> <9d0602eb0911161802ke93c9f2pe3fb2bdbb89697c4@mail.gmail.com> <9d0602eb0911162200ua65a2fdha10cd1e4600a2d1b@mail.gmail.com> Message-ID: Nagappan: It's very strange that your VM is faster than my PC(2G memory and IntelCoreDuo 2.66GHz)... :D . It might be some difference on number of gedit's objects, there're 399 objects in my gedit. For LDTPv1, Does it runtime search in one hierarchy structure when it received request of getobjectproperty? For the whole AT system, which part consume the time mostly? And I'm very curious of the performance in LDTPv2 too.. Actually I've tried one dump tree for LDTPv1, but it'll cost much time to get all objects' info that disturbed me a lot :) From: Nagappan Alagappan [mailto:nagappan at gmail.com] Sent: Tuesday, November 17, 2009 2:00 PM To: Zhang, Wei Z Cc: Wang Qi, Scott; ldtp-dev at lists.freedesktop.org Subject: Re: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? Hi Wei, On my Ubuntu 9.10 VM with 800 MB memory, I get this performance, for this test: from ldtp import * o = getobjectlist('*-gedit') for i in o: try: print getobjectproperty('*-gedit', i, 'label') except: pass real 0m41.384s user 0m0.128s sys 0m0.408s I prefer to do test on some action / verification and see how it performs :) BTW, on LDTPv2, the performance seems to be too slow :D real 4m29.893s user 0m0.116s sys 0m1.196s Thanks Nagappan On Mon, Nov 16, 2009 at 9:25 PM, Zhang, Wei Z > wrote: Hi, Nagappan: I've still used LDTPv1 and I found the performance on getobjectproperty/getobjectinfo... is related with level of the object. when I tried to get all labels of one window's object by getobjectproperty, I found it becomes slower with the object's level increasing. Take gedit for example, It used about 1m30s to list all object's label on my desktop PC. My test is quite easy: for o in getobjectlist('frm*gedit*') print getobjectproperty('frm*gedit*', o, 'label') So, If there will be enhancement on it with LDTPv2? Hopefully it could be some workaround on LDTPv1 :) From: ldtp-dev-bounces at lists.freedesktop.org [mailto:ldtp-dev-bounces at lists.freedesktop.org] On Behalf Of Nagappan Alagappan Sent: Tuesday, November 17, 2009 10:03 AM To: Wang Qi, Scott Cc: ldtp-dev at lists.freedesktop.org Subject: Re: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? Hi Scott, After VMware Workstation 7.0 got released, I feel that I could spend little bit more time on LDTPv2. Will start fixing the missing API in this list http://lists.freedesktop.org/archives/ldtp-dev/2009-October/000912.html and once things are ready, let us go with the release. LDTPv2 release should be by December '09 ! Thanks Nagappan On Mon, Nov 16, 2009 at 5:00 PM, Wang Qi, Scott > wrote: Hi, Nagappan, I read the annoucement http://lists.freedesktop.org/archives/ldtp-dev/2009-October/000902.html When will LDTPv2 offically released :)? Any detailed feature list for it available now? Thanks Scott On Tue, Nov 17, 2009 at 12:15 AM, Nagappan Alagappan > wrote: Hi Scott, In VMware, we run our test regularly on Ubuntu 8.04 and 9.04, near about 1500 tests on weekly basis using LDTP, we haven't faced any such issue. On Ubuntu 8.10, we have noticed this https://bugzilla.gnome.org/show_bug.cgi?id=561631 But it seems your bug is different. On 9.04, we use LDTPv2. I don't have an answer for this now :) Need to run the test on Ubuntu 8.10. Thanks Nagappan On Mon, Nov 16, 2009 at 3:30 AM, Wang Qi, Scott > wrote: Hi, Nagappan, I spent more time on my issue. My workflow is as follows. 1) application is lauched and waittillguiexist() 2) perform tests 3) application is closed and waittillguinotexist() to wait for the app to quit completely. Then mago tests is repeated for the above 3 steps. On FC10 X64 and U8.10 IA32, LDTP will always trow a exception after step 3. It seems that when the application quit, somehow the LDTP backend also go unstable. But this case never occurs on Ubuntu 9.04. Do you happen to came across this kind of issue before? Thank you for the time! Scott Btw, I just realized that I made a mistake in the following code example. I should wait for a while to allow the gedit to quit completely. On Mon, Nov 16, 2009 at 4:01 PM, Wang Qi, Scott > wrote: Hi Nagappan, I installed LDTP 1.7.1 (below URL) on Ubuntu 8.10 . http://download.opensuse.org/repositories/home:/anagappan/xUbuntu_8.10/ I tried to run the below scripts on U8.10 after installation. I always found a exception after runing the smoke_ldtp() after the first round. Is the LDTP 1.7.1 tested intensively on U8.10? Thanks Scott ~$ python ldtp_smoke_with_gedit.py i is 0 GTK Accessibility Module initialized i is 1 GTK Accessibility Module initialized (gedit:16481): Gtk-CRITICAL **: gtk_button_leave: assertion `GTK_IS_BUTTON (button)' failed Traceback (most recent call last): File "ldtp_smoke_with_gedit.py", line 30, in smoke_ldtp() File "ldtp_smoke_with_gedit.py", line 20, in smoke_ldtp settextvalue(WNAME, 'txt1', 'hello world') File "/var/lib/python-support/python2.5/ldtp.py", line 858, in settextvalue raise LdtpExecutionError (_responseStatus [1]) ldtplib.ldtplibutils.LdtpExecutionError: u'Window does not exist' # Below is the content for ldtp_smoke_with_gedit.py # This script will simply test the installation of LDTP and all # necessary components on a newly installed system. # 1) Close all all instances of gedit before calling this script # 2) This scripts works on Ubuntu 9.0.4. from ldtp import * # Sometimes, '*gedit*' does not works. WNAME = '*gedit' def smoke_ldtp(): launchapp('gedit') waittillguiexist(WNAME, guiTimeOut=3) # On Ubuntu 9.0.4, the text area is named as 'txt1'. # It could be 'txt0' or other value on other platform. # Please use the inspection tool such as "accerciser" # to check out. settextvalue(WNAME, 'txt1', 'hello world') selectmenuitem(WNAME, 'mnuFile;mnuQuit') waittillguiexist('dlgQuestion') click('dlgQuestion', 'btnClosewithoutSaving') #waittillguinotexist(WNAME, guiTimeOut=5) # waittillguinotexist() will cause a time-out exception on FC10-X64 or Ubutun 8.10. for i in xrange(10): print "i is %d" %i smoke_ldtp() _______________________________________________ LDTP-dev mailing list LDTP-dev at lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/ldtp-dev -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091117/7719756b/attachment.htm From wangqi.s at gmail.com Mon Nov 16 23:44:27 2009 From: wangqi.s at gmail.com (Wang Qi, Scott) Date: Tue, 17 Nov 2009 15:44:27 +0800 Subject: [LDTP-Dev] removecallback usage? In-Reply-To: <9d0602eb0911162211s1012da2eo7b2718e38ea22d80@mail.gmail.com> References: <88a4ac910911150212s735348fbvb08bd76608bc71c7@mail.gmail.com> <9d0602eb0911162211s1012da2eo7b2718e38ea22d80@mail.gmail.com> Message-ID: <88a4ac910911162344n2582a5dofcf2d50114185ca@mail.gmail.com> Hi Nagappan, Thanks for the quick fix and the time :) On Tue, Nov 17, 2009 at 2:11 PM, Nagappan Alagappan wrote: > Hi Scott, > > Have fixed this issue in git. Thanks for reporting this issue. > > Thanks > Nagappan > > On Sun, Nov 15, 2009 at 2:12 AM, Wang Qi, Scott wrote: > >> Hi Nagappan, >> >> I want to make use of onwindowcreate() and removecallback() to accomplish >> a usage as such: >> >> 1) I register a callback using onwindowcreate() just before I invoke a >> menu operation for my application under test (AUT). >> 2) Then, I invoke the menu >> 2.1) If the pop-up does occur, the call back is triggered. >> 3) After the menu operations, I remove the callback using removecallback >> (). As the pop-up has a quite generic name, the action in the callback is >> only meant to be valid for this particular menu. >> 4) Perform other operations... >> 5) At last, the whole test case finishes. >> >> But in my code, at step 3) I get this exceptions as below. >> >> Traceback (most recent call last): >> File "/usr/local/lib/python2.6/dist-packages/mago/cmd/runner.py", line >> 95, in run >> self._run(loggerclass, setup_once) >> File "/usr/local/lib/python2.6/dist-packages/mago/cmd/runner.py", line >> 122, in _run >> self.suite.setup() >> File >> "/home/qwang12/tl/src/QA/AutoTest/TestCode/guiauto/ldtpsrc/trinitylake_testsuites.py", >> line 78, in setup >> super(BldkDefaultConfTestSuite, self).setup() >> File >> "/home/qwang12/tl/src/QA/AutoTest/TestCode/guiauto/ldtpsrc/trinitylake_testsuites.py", >> line 26, in setup >> self.application.open() >> File >> "/home/qwang12/tl/src/QA/AutoTest/TestCode/guiauto/ldtpsrc/trinitylake.py", >> line 172, in open >> ldtp.removecallback(self.UNEXPECTED_STALL_PROJECT_DLG_TITLE) >> File "/var/lib/python-support/python2.6/ldtp.py", line 2019, in >> removecallback >> _callbackFunctions [windowTitle][1].exit () >> AttributeError: 'int' object has no attribute 'exit' >> >> I read the code in removecallback(), i save the below highlighted >> comments: >> >> if _callbackFunctions.has_key (windowTitle): >> *# Exit last thread registered with same window title* >> _callbackFunctions [windowTitle][1].exit () >> # delete the previous instance >> >> My question is that why to "Exit last thread" in removecallback ()? >> >> Thanks >> Scott >> >> >> >> _______________________________________________ >> LDTP-dev mailing list >> LDTP-dev at lists.freedesktop.org >> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev >> >> > > > -- > Linux Desktop (GUI Application) Testing Project - > http://ldtp.freedesktop.org > http://nagappanal.blogspot.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091117/52f06e81/attachment.html From nagappan at gmail.com Tue Nov 17 05:15:45 2009 From: nagappan at gmail.com (Nagappan Alagappan) Date: Tue, 17 Nov 2009 05:15:45 -0800 Subject: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? In-Reply-To: References: <88a4ac910911160001k47ceaeebh8161d4966e25590c@mail.gmail.com> <88a4ac910911160330j4bcb000fm42751a5b8c9e3613@mail.gmail.com> <9d0602eb0911160815w1057305audf9470d1b4c23c74@mail.gmail.com> <88a4ac910911161700i302f6873y3fb5d9ac3e9b207d@mail.gmail.com> <9d0602eb0911161802ke93c9f2pe3fb2bdbb89697c4@mail.gmail.com> <9d0602eb0911162200ua65a2fdha10cd1e4600a2d1b@mail.gmail.com> Message-ID: <9d0602eb0911170515nf05f91x9422ddb49bdb5152@mail.gmail.com> Hi Wei, On Mon, Nov 16, 2009 at 10:30 PM, Zhang, Wei Z wrote: > Nagappan: > > It?s very strange that your VM is faster than my PC(2G memory and > IntelCoreDuo 2.66GHz)? :D . It might be some difference on number of > gedit?s objects, there?re 399 objects in my gedit. > Guess you are trying with LDTP 1.7.1 release ? If older release, request to switch to newer one. I generally verify things with git head. On Ubuntu 9.10, just the default gedit shows 377 object. > For LDTPv1, Does it runtime search in one hierarchy structure when it > received request of getobjectproperty? For the whole AT system, which part > consume the time mostly? > > And I?m very curious of the performance in LDTPv2 too.. > In LDTPv2 object property are queried at run-time and so the performance is too slow. I'm working on appmap branch in LDTPv2 which seems to be much better real 0m39.709s user 0m0.124s sys 0m0.972s Regular head version just gets the info from accessibility stack each time, we request the object info, the appmap branch, just pokes the window once (same as LDTPv1) and then just use that info, unless the object info currently misses on performing some action / verification. In that case, the complete hierarchy will be poked once again and all the info will be maintained locally. Actually I?ve tried one dump tree for LDTPv1, but it?ll cost much time to > get all objects? info that disturbed me a lot :) > Ya, I understand this. I remember James Tatum reported the same issue earlier, when he was writing an UI. Let me check, how we can improve the performance on this. Thanks Nagappan > > > *From:* Nagappan Alagappan [mailto:nagappan at gmail.com] > *Sent:* Tuesday, November 17, 2009 2:00 PM > *To:* Zhang, Wei Z > *Cc:* Wang Qi, Scott; ldtp-dev at lists.freedesktop.org > > *Subject:* Re: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? > > > > Hi Wei, > > On my Ubuntu 9.10 VM with 800 MB memory, I get this performance, for this > test: > > from ldtp import * > > o = getobjectlist('*-gedit') > for i in o: > try: > print getobjectproperty('*-gedit', i, 'label') > except: > pass > > real 0m41.384s > user 0m0.128s > sys 0m0.408s > > I prefer to do test on some action / verification and see how it performs > :) > > BTW, on LDTPv2, the performance seems to be too slow :D > > real 4m29.893s > user 0m0.116s > sys 0m1.196s > > Thanks > Nagappan > > On Mon, Nov 16, 2009 at 9:25 PM, Zhang, Wei Z > wrote: > > Hi, Nagappan: > > I?ve still used LDTPv1 and I found the performance on > getobjectproperty/getobjectinfo? is related with level of the object. when I > tried to get all labels of one window?s object by getobjectproperty, I found > it becomes slower with the object?s level increasing. > > Take gedit for example, It used about 1m30s to list all object?s label on > my desktop PC. > > My test is quite easy: > > for o in getobjectlist(?frm*gedit*?) > > print getobjectproperty(?frm*gedit*?, o, ?label?) > > > > So, If there will be enhancement on it with LDTPv2? Hopefully it > could be some workaround on LDTPv1 :) > > > > > > *From:* ldtp-dev-bounces at lists.freedesktop.org [mailto: > ldtp-dev-bounces at lists.freedesktop.org] *On Behalf Of *Nagappan Alagappan > *Sent:* Tuesday, November 17, 2009 10:03 AM > *To:* Wang Qi, Scott > *Cc:* ldtp-dev at lists.freedesktop.org > *Subject:* Re: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? > > > > Hi Scott, > > After VMware Workstation 7.0 got released, I feel that I could spend little > bit more time on LDTPv2. Will start fixing the missing API in this list > http://lists.freedesktop.org/archives/ldtp-dev/2009-October/000912.htmland once things are ready, let us go with the release. LDTPv2 release should > be by December '09 ! > > Thanks > Nagappan > > On Mon, Nov 16, 2009 at 5:00 PM, Wang Qi, Scott > wrote: > > Hi, Nagappan, > > I read the annoucement > http://lists.freedesktop.org/archives/ldtp-dev/2009-October/000902.html > > When will LDTPv2 offically released :)? Any detailed feature list for it > available now? > > Thanks > Scott > > > > On Tue, Nov 17, 2009 at 12:15 AM, Nagappan Alagappan > wrote: > > Hi Scott, > > In VMware, we run our test regularly on Ubuntu 8.04 and 9.04, near about > 1500 tests on weekly basis using LDTP, we haven't faced any such issue. On > Ubuntu 8.10, we have noticed this > https://bugzilla.gnome.org/show_bug.cgi?id=561631 But it seems your bug is > different. On 9.04, we use LDTPv2. > > I don't have an answer for this now :) Need to run the test on Ubuntu 8.10. > > Thanks > Nagappan > > On Mon, Nov 16, 2009 at 3:30 AM, Wang Qi, Scott > wrote: > > Hi, Nagappan, > > I spent more time on my issue. My workflow is as follows. > > 1) application is lauched and waittillguiexist() > 2) perform tests > 3) application is closed and waittillguinotexist() to wait for the app to > quit completely. > > Then mago tests is repeated for the above 3 steps. > > On FC10 X64 and U8.10 IA32, LDTP will always trow a exception after step 3. > It seems that when the application quit, somehow the LDTP backend also go > unstable. But this case never occurs on Ubuntu 9.04. Do you happen to came > across this kind of issue before? > > > > Thank you for the time! > Scott > > Btw, I just realized that I made a mistake in the following code example. I > should wait for a while to allow the gedit to quit completely. > > On Mon, Nov 16, 2009 at 4:01 PM, Wang Qi, Scott > wrote: > > Hi Nagappan, > > I installed LDTP 1.7.1 (below URL) on Ubuntu 8.10 . > > http://download.opensuse.org/repositories/home:/anagappan/xUbuntu_8.10/ > > I tried to run the below scripts on U8.10 after installation. I always > found a exception after runing the smoke_ldtp() after the first round. Is > the LDTP 1.7.1 tested intensively on U8.10? > > Thanks > Scott > > ~$ python ldtp_smoke_with_gedit.py > i is 0 > GTK Accessibility Module initialized > i is 1 > GTK Accessibility Module initialized > > (gedit:16481): Gtk-CRITICAL **: gtk_button_leave: assertion `GTK_IS_BUTTON > (button)' failed > Traceback (most recent call last): > File "ldtp_smoke_with_gedit.py", line 30, in > smoke_ldtp() > File "ldtp_smoke_with_gedit.py", line 20, in smoke_ldtp > settextvalue(WNAME, 'txt1', 'hello world') > File "/var/lib/python-support/python2.5/ldtp.py", line 858, in > settextvalue > raise LdtpExecutionError (_responseStatus [1]) > ldtplib.ldtplibutils.LdtpExecutionError: u'Window does not exist' > > > > > > > # Below is the content for ldtp_smoke_with_gedit.py > # This script will simply test the installation of LDTP and all > # necessary components on a newly installed system. > # 1) Close all all instances of gedit before calling this script > # 2) This scripts works on Ubuntu 9.0.4. > > from ldtp import * > > # Sometimes, '*gedit*' does not works. > WNAME = '*gedit' > > def smoke_ldtp(): > > launchapp('gedit') > waittillguiexist(WNAME, guiTimeOut=3) > > # On Ubuntu 9.0.4, the text area is named as 'txt1'. > # It could be 'txt0' or other value on other platform. > # Please use the inspection tool such as "accerciser" > # to check out. > settextvalue(WNAME, 'txt1', 'hello world') > > selectmenuitem(WNAME, 'mnuFile;mnuQuit') > > waittillguiexist('dlgQuestion') > > click('dlgQuestion', 'btnClosewithoutSaving') > > #waittillguinotexist(WNAME, guiTimeOut=5) # waittillguinotexist() > will cause a time-out exception on FC10-X64 or Ubutun 8.10. > > > for i in xrange(10): > print "i is %d" %i > smoke_ldtp() > > > > _______________________________________________ > LDTP-dev mailing list > LDTP-dev at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/ldtp-dev > > > > > -- > Linux Desktop (GUI Application) Testing Project - > http://ldtp.freedesktop.org > http://nagappanal.blogspot.com > > > > > > > -- > Linux Desktop (GUI Application) Testing Project - > http://ldtp.freedesktop.org > http://nagappanal.blogspot.com > > > > > -- > Linux Desktop (GUI Application) Testing Project - > http://ldtp.freedesktop.org > http://nagappanal.blogspot.com > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091117/10b5d72c/attachment.html From wei.z.zhang at intel.com Tue Nov 17 18:32:53 2009 From: wei.z.zhang at intel.com (Zhang, Wei Z) Date: Wed, 18 Nov 2009 10:32:53 +0800 Subject: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? In-Reply-To: <9d0602eb0911170515nf05f91x9422ddb49bdb5152@mail.gmail.com> References: <88a4ac910911160001k47ceaeebh8161d4966e25590c@mail.gmail.com> <88a4ac910911160330j4bcb000fm42751a5b8c9e3613@mail.gmail.com> <9d0602eb0911160815w1057305audf9470d1b4c23c74@mail.gmail.com> <88a4ac910911161700i302f6873y3fb5d9ac3e9b207d@mail.gmail.com> <9d0602eb0911161802ke93c9f2pe3fb2bdbb89697c4@mail.gmail.com> <9d0602eb0911162200ua65a2fdha10cd1e4600a2d1b@mail.gmail.com> <9d0602eb0911170515nf05f91x9422ddb49bdb5152@mail.gmail.com> Message-ID: Thanks for your information, Nagappan. :P From: Nagappan Alagappan [mailto:nagappan at gmail.com] Sent: Tuesday, November 17, 2009 9:16 PM To: Zhang, Wei Z Cc: Wang Qi, Scott; ldtp-dev at lists.freedesktop.org Subject: Re: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? Hi Wei, On Mon, Nov 16, 2009 at 10:30 PM, Zhang, Wei Z > wrote: Nagappan: It's very strange that your VM is faster than my PC(2G memory and IntelCoreDuo 2.66GHz)... :D . It might be some difference on number of gedit's objects, there're 399 objects in my gedit. Guess you are trying with LDTP 1.7.1 release ? If older release, request to switch to newer one. I generally verify things with git head. On Ubuntu 9.10, just the default gedit shows 377 object. For LDTPv1, Does it runtime search in one hierarchy structure when it received request of getobjectproperty? For the whole AT system, which part consume the time mostly? And I'm very curious of the performance in LDTPv2 too.. In LDTPv2 object property are queried at run-time and so the performance is too slow. I'm working on appmap branch in LDTPv2 which seems to be much better real 0m39.709s user 0m0.124s sys 0m0.972s Regular head version just gets the info from accessibility stack each time, we request the object info, the appmap branch, just pokes the window once (same as LDTPv1) and then just use that info, unless the object info currently misses on performing some action / verification. In that case, the complete hierarchy will be poked once again and all the info will be maintained locally. Actually I've tried one dump tree for LDTPv1, but it'll cost much time to get all objects' info that disturbed me a lot :) Ya, I understand this. I remember James Tatum reported the same issue earlier, when he was writing an UI. Let me check, how we can improve the performance on this. Thanks Nagappan From: Nagappan Alagappan [mailto:nagappan at gmail.com] Sent: Tuesday, November 17, 2009 2:00 PM To: Zhang, Wei Z Cc: Wang Qi, Scott; ldtp-dev at lists.freedesktop.org Subject: Re: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? Hi Wei, On my Ubuntu 9.10 VM with 800 MB memory, I get this performance, for this test: from ldtp import * o = getobjectlist('*-gedit') for i in o: try: print getobjectproperty('*-gedit', i, 'label') except: pass real 0m41.384s user 0m0.128s sys 0m0.408s I prefer to do test on some action / verification and see how it performs :) BTW, on LDTPv2, the performance seems to be too slow :D real 4m29.893s user 0m0.116s sys 0m1.196s Thanks Nagappan On Mon, Nov 16, 2009 at 9:25 PM, Zhang, Wei Z > wrote: Hi, Nagappan: I've still used LDTPv1 and I found the performance on getobjectproperty/getobjectinfo... is related with level of the object. when I tried to get all labels of one window's object by getobjectproperty, I found it becomes slower with the object's level increasing. Take gedit for example, It used about 1m30s to list all object's label on my desktop PC. My test is quite easy: for o in getobjectlist('frm*gedit*') print getobjectproperty('frm*gedit*', o, 'label') So, If there will be enhancement on it with LDTPv2? Hopefully it could be some workaround on LDTPv1 :) From: ldtp-dev-bounces at lists.freedesktop.org [mailto:ldtp-dev-bounces at lists.freedesktop.org] On Behalf Of Nagappan Alagappan Sent: Tuesday, November 17, 2009 10:03 AM To: Wang Qi, Scott Cc: ldtp-dev at lists.freedesktop.org Subject: Re: [LDTP-Dev] LDTP 1.7.1 on Ubuntu 8.10? Hi Scott, After VMware Workstation 7.0 got released, I feel that I could spend little bit more time on LDTPv2. Will start fixing the missing API in this list http://lists.freedesktop.org/archives/ldtp-dev/2009-October/000912.html and once things are ready, let us go with the release. LDTPv2 release should be by December '09 ! Thanks Nagappan On Mon, Nov 16, 2009 at 5:00 PM, Wang Qi, Scott > wrote: Hi, Nagappan, I read the annoucement http://lists.freedesktop.org/archives/ldtp-dev/2009-October/000902.html When will LDTPv2 offically released :)? Any detailed feature list for it available now? Thanks Scott On Tue, Nov 17, 2009 at 12:15 AM, Nagappan Alagappan > wrote: Hi Scott, In VMware, we run our test regularly on Ubuntu 8.04 and 9.04, near about 1500 tests on weekly basis using LDTP, we haven't faced any such issue. On Ubuntu 8.10, we have noticed this https://bugzilla.gnome.org/show_bug.cgi?id=561631 But it seems your bug is different. On 9.04, we use LDTPv2. I don't have an answer for this now :) Need to run the test on Ubuntu 8.10. Thanks Nagappan On Mon, Nov 16, 2009 at 3:30 AM, Wang Qi, Scott > wrote: Hi, Nagappan, I spent more time on my issue. My workflow is as follows. 1) application is lauched and waittillguiexist() 2) perform tests 3) application is closed and waittillguinotexist() to wait for the app to quit completely. Then mago tests is repeated for the above 3 steps. On FC10 X64 and U8.10 IA32, LDTP will always trow a exception after step 3. It seems that when the application quit, somehow the LDTP backend also go unstable. But this case never occurs on Ubuntu 9.04. Do you happen to came across this kind of issue before? Thank you for the time! Scott Btw, I just realized that I made a mistake in the following code example. I should wait for a while to allow the gedit to quit completely. On Mon, Nov 16, 2009 at 4:01 PM, Wang Qi, Scott > wrote: Hi Nagappan, I installed LDTP 1.7.1 (below URL) on Ubuntu 8.10 . http://download.opensuse.org/repositories/home:/anagappan/xUbuntu_8.10/ I tried to run the below scripts on U8.10 after installation. I always found a exception after runing the smoke_ldtp() after the first round. Is the LDTP 1.7.1 tested intensively on U8.10? Thanks Scott ~$ python ldtp_smoke_with_gedit.py i is 0 GTK Accessibility Module initialized i is 1 GTK Accessibility Module initialized (gedit:16481): Gtk-CRITICAL **: gtk_button_leave: assertion `GTK_IS_BUTTON (button)' failed Traceback (most recent call last): File "ldtp_smoke_with_gedit.py", line 30, in smoke_ldtp() File "ldtp_smoke_with_gedit.py", line 20, in smoke_ldtp settextvalue(WNAME, 'txt1', 'hello world') File "/var/lib/python-support/python2.5/ldtp.py", line 858, in settextvalue raise LdtpExecutionError (_responseStatus [1]) ldtplib.ldtplibutils.LdtpExecutionError: u'Window does not exist' # Below is the content for ldtp_smoke_with_gedit.py # This script will simply test the installation of LDTP and all # necessary components on a newly installed system. # 1) Close all all instances of gedit before calling this script # 2) This scripts works on Ubuntu 9.0.4. from ldtp import * # Sometimes, '*gedit*' does not works. WNAME = '*gedit' def smoke_ldtp(): launchapp('gedit') waittillguiexist(WNAME, guiTimeOut=3) # On Ubuntu 9.0.4, the text area is named as 'txt1'. # It could be 'txt0' or other value on other platform. # Please use the inspection tool such as "accerciser" # to check out. settextvalue(WNAME, 'txt1', 'hello world') selectmenuitem(WNAME, 'mnuFile;mnuQuit') waittillguiexist('dlgQuestion') click('dlgQuestion', 'btnClosewithoutSaving') #waittillguinotexist(WNAME, guiTimeOut=5) # waittillguinotexist() will cause a time-out exception on FC10-X64 or Ubutun 8.10. for i in xrange(10): print "i is %d" %i smoke_ldtp() _______________________________________________ LDTP-dev mailing list LDTP-dev at lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/ldtp-dev -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091118/f8e9352e/attachment-0001.html