Hi all,<br>
<br>
I ha used waittillguiexist() function often and I noticed a strange behaviour after testing this function many times.<br>
<br>
Look the snippet of code:<br>
<br>
if waittillguiexist('dlgLoadfile'):<br>
selectrow('dlgLoadfile', 'tblFiles', 'pdf_files')<br>
...<br>
<br>
This code works, but sometimes it fails and the following message is displayed on my terminal:<br>
<br>
Traceback (most recent call last):<br>
File "./gpdf_1.py", line 18, in ?<br>
selectrow('dlgLoadfile', 'tblFiles', 'pdf_files')<br>
ldtp.error: unknown - not yet implemented ldtp.c 714 command: 234<br>
<br>
So if I change the code as:<br>
<br>
if waittillguiexist('dlgLoadfile'):<br>
wait(1)<br>
selectrow('dlgLoadfile', 'tblFiles', 'pdf_files')<br>
...<br>
<br>
It works without error. I guess even waittillguiexist() waits for the
window, sometimes it is not able to wait enough for the window to
appear.<br>
<br>
Is it normal?<br>
<br>
BR,<br>
<br>
Mauricio Lin.<br>
<br>
<br>