Hi,<br>
<br>
Did you enable the gnome accessibility?<br>
<br>
If you did not enable it, you have to do as:<br>
<br>
run &quot;gconftool-2 -s -t boolean /desktop/gnome/interface/accessibility true&quot; at terminal<br>
<br>
or include 'GNOME_ACCESSIBILITY=1' in the user profile file.<br>
<br>
BR,<br>
<br>
Mauricio Lin.<br><br><div><span class="gmail_quote">On 10/22/05, <b class="gmail_sendername">fong</b> &lt;<a href="mailto:ncfong@gmail.com">ncfong@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hello, <br clear="all"><span style="font-family: monospace;"><br>
I get the following error message when I try to run the test script.</span>
For this testing, I have generated the map file successfully and opened
the firefox before executing the python script. The LDTP version is
2.0, Firefox is 1.06 and Suse is 9.3. Is it necessary to upgrade some
of lib packages ? Thanks.<br>
<pre><span style="font-weight: bold;">Error Message:</span><br>Traceback (most recent call last):<br>  File &quot;firefox.py&quot;, line 9, in ?<br>    selectmenuitem('frmnoname','mnuFile;mnuNewTab')<br>ldtp.error: Select Menu Item: Select action failed 
<br>ldtp.c 1256</pre>
<span style="font-family: monospace; font-weight: bold;">firefox.py:<br>
</span>#!/usr/bin/python<span style="font-family: monospace;"><br>
<br>
</span>from ldtp import *<span style="font-family: monospace;"><br>
</span>from ldtputils import *<span style="font-family: monospace;"><br>
</span>import string,sys,os,commands,time,filecmp<span style="font-family: monospace;"><br>
<br>
</span>initappmap('mozilla.map')<span style="font-family: monospace;"><br>
<br>
</span>selectmenuitem('frmnoname','mnuFile;mnuNewTab')<br>
<pre><span style="font-weight: bold;">mozilla.map: (</span><span style="font-weight: bold;"><span style="font-weight: bold;">I </span>extract the main part of it here </span><span style="font-weight: bold;">because it is too large)
<br></span><br>[frmnoname]<br>frmnoname={class=frame,parent=mozilla,child_index=0,label=no name}<br>txtnoname={class=text,parent=frmnoname,child_index=0,label=no name}<br>uknnoname={class=unknown,parent=frmnoname,child_index=1,label=no name}
<br><br>uknnoname1={class=unknown,parent=uknnoname,child_index=0,label=no name}<br>uknnoname2={class=unknown,parent=uknnoname1,child_index=0,label=no name}<br>txtnoname1={class=text,parent=frmnoname,child_index=2,label=no name}
<br><br>txtnoname2={class=text,parent=frmnoname,child_index=3,label=no name}<br>tbarnoname={class=tool_bar,parent=frmnoname,child_index=4,label=no name}<br>tbarnoname1={class=tool_bar,parent=tbarnoname,child_index=0,label=no name}
<br><br>mbrApplication={class=menu_bar,parent=tbarnoname1,child_index=0,label=Application}<br>mnuFile={class=menu,parent=mbrApplication,child_index=0,label=File}<br>mnuNewWindow={class=menu_item,parent=mnuFile,child_index=0,label=New Window}
<br><br>mnuNewTab={class=menu_item,parent=mnuFile,child_index=1,label=New Tab}<br><br><span style="font-family: arial,sans-serif;">Thanks, <br>fong<br></span></pre>


<br>_______________________________________________<br>Ldtp-dev mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Ldtp-dev@lists.freedesktop.org">Ldtp-dev@lists.freedesktop.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.freedesktop.org/mailman/listinfo/ldtp-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/ldtp-dev</a><br><br><br></blockquote></div>
<br>