Hi Nagappan,<br><br>I installed LDTP 1.7.1 (below URL) on Ubuntu 8.10 .<br><br><a href="http://download.opensuse.org/repositories/home:/anagappan/xUbuntu_8.10/">http://download.opensuse.org/repositories/home:/anagappan/xUbuntu_8.10/</a><br>

<br>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?<br><br>Thanks<br>Scott<br><br>

~$ python ldtp_smoke_with_gedit.py <br>i is 0<br>GTK Accessibility Module initialized<br>i is 1<br>GTK Accessibility Module initialized<br><br>(gedit:16481): Gtk-CRITICAL **: gtk_button_leave: assertion `GTK_IS_BUTTON (button)&#39; failed<br>

Traceback (most recent call last):<br>  File &quot;ldtp_smoke_with_gedit.py&quot;, line 30, in &lt;module&gt;<br>    smoke_ldtp()<br>  File &quot;ldtp_smoke_with_gedit.py&quot;, line 20, in smoke_ldtp<br>    settextvalue(WNAME, &#39;txt1&#39;, &#39;hello world&#39;)<br>

  File &quot;/var/lib/python-support/python2.5/ldtp.py&quot;, line 858, in settextvalue<br>    raise LdtpExecutionError (_responseStatus [1])<br>ldtplib.ldtplibutils.LdtpExecutionError: u&#39;Window does not exist&#39;<br>

<br><br><br><br><br><br># Below is the content for ldtp_smoke_with_gedit.py <br># This script will simply test the installation of LDTP and all<br># necessary components on a newly installed system.<br># 1) Close all all instances of gedit before calling this script<br>

# 2) This scripts works on Ubuntu 9.0.4.  <br><br>from ldtp import *<br><br># Sometimes, &#39;*gedit*&#39; does not works.<br>WNAME = &#39;*gedit&#39;<br><br>def smoke_ldtp():<br><br>    launchapp(&#39;gedit&#39;)<br>    waittillguiexist(WNAME, guiTimeOut=3)<br>

<br>    # On Ubuntu 9.0.4, the text area is named as &#39;txt1&#39;. <br>    # It could be &#39;txt0&#39; or other value on other platform.<br>    # Please use the inspection tool such as &quot;accerciser&quot;<br>    # to check out.<br>

    settextvalue(WNAME, &#39;txt1&#39;, &#39;hello world&#39;)<br><br>    selectmenuitem(WNAME, &#39;mnuFile;mnuQuit&#39;)<br><br>    waittillguiexist(&#39;dlgQuestion&#39;)<br><br>    click(&#39;dlgQuestion&#39;, &#39;btnClosewithoutSaving&#39;)<br>

<br>for i in xrange(10):<br>    print &quot;i is %d&quot; %i<br>    smoke_ldtp()<br><br><br>