Hi all,<br>
<br>
I have followed the instruction from
<a href="http://gnomebangalore.org/ldtp/index.php/How_to_create_Test_Scripts_for_PY-LDTP">http://gnomebangalore.org/ldtp/index.php/How_to_create_Test_Scripts_for_PY-LDTP</a>
in order to create my simple script, but it is not working.<br>
<br>
The error message is printed as follow:<br>
<br>
Traceback (most recent call last):<br>
&nbsp; File &quot;teste.py&quot;, line 9, in ?<br>
&nbsp;&nbsp;&nbsp; selectmenuitem ('gedit', 'mnuFile;mnuOpen')<br>
ldtp.error: Unable to get gui handle ldtp.c 1236<br>
<br>
This happens after I execute the python script.<br>
<br>
**************************************************************<br>
from ldtp import *<br>
from ldtputils import *<br>
import sys, string<br>
<br>
initappmap('/home/mauricio/teste/gedit.map')<br>
<br>
launchapp('gedit')<br>
<br>
selectmenuitem ('gedit', 'mnuFile;mnuOpen')<br>
<br>
click ('gedit', 'btnOpen')<br>
**************************************************************<br>
<br>
Any idea?<br>
<br>
BR,<br>
<br>
Mauricio Lin.<br>