<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><span>Hi Onorato,</span><br><br><hr id="zwchr"><div><b>From:&nbsp;</b>"Onorato Vaticone" &lt;<span class="Object" id="OBJ_PREFIX_DWT461_com_zimbra_email">onorato@onoratovaticone.it</span>&gt;<br><b>To:&nbsp;</b>"Nagappan Alagappan" &lt;<span class="Object" id="OBJ_PREFIX_DWT462_com_zimbra_email">nalagappan@vmware.com</span>&gt;<br><b>Sent:&nbsp;</b><span class="Object" id="OBJ_PREFIX_DWT463_com_zimbra_date">Wednesday, June 6</span>, 2012 8:08:43 AM<br><b>Subject:&nbsp;</b>Re: CobraWinLDTP<br><br><div><span>&nbsp;</span></div><span>Hi</span>&nbsp;<span>Nagappan,</span><div><span>I have a little problem with my application (developed with borland C++ 6)&nbsp;<img src="https://catfood.zimbra.com/service/home/~/?auth=co&amp;id=286379&amp;part=2.2" data-mce-src="https://catfood.zimbra.com/service/home/~/?auth=co&amp;id=286379&amp;part=2.2">&nbsp;<br><span style="color: rgb(0, 0, 255); ">A: Interesting, we have tested app written in C#, MFC, Win32, QT, Java and it all worked fine. Can you create a sample app and send the binary / source code across to test it ?</span></span></div><div><span>The problem is that a simple test like this work :&nbsp;</span></div><div><span>&nbsp;</span></div><div><div>from ldtp import *</div><div>guiexist ('MyApp*')</div><div>click ('MyApp*', 'btnUpdateInfo') """ Update info in the target details.</div><div>where&nbsp;btnUpdateInfo is a Push button type. Instead this test doesn´t work :&nbsp;</div><div><div><br></div><div>from ldtp import *</div><div>guiexist (' MyApp&nbsp;*')</div><div>selectmenuitem (' MyApp&nbsp;*', 'mnuFile;mnuNew')</div></div><div><br></div></div><div><span>As you can imagine this create a new file. I tried to open the Inspect.exe (provided with SDK 7.1) in order to understand if my menú bar would have be seen. I tried to&nbsp;VisualUIAVerify.exe (downloaded from link given to README.txt) and I see that my menú items have the property "Name" not filled out. maybe is this the problem ? how to enable my application for&nbsp;accessibility ?<br><br><span style="color: rgb(0, 0, 255); ">A: Yes I think, that could be the issue. I'm not sure how to enabled accessibility with an application created using Borland C++.</span><br><br>Thanks<br>Nagappan</span></div></div><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Onorato Vaticone" &lt;onorato@onoratovaticone.it&gt;<br><b>To: </b>ldtp-dev@lists.freedesktop.org<br><b>Sent: </b>Wednesday, June 6, 2012 3:37:18 AM<br><b>Subject: </b>Re: [LDTP-Dev] object identification<br><br>I got the point.&nbsp;<div>I need to be sure that my application is accessibility enabled .... I´m checking it through the link in the README.txt from installation folder.</div><div><br></div><div>so the point, now, is this : how to get&nbsp;accessibility in my application ? great question .... i´ll move on.</div>
<div><br></div><div>bye.<br><br><div class="gmail_quote">On 6 June 2012 11:16, Onorato Vaticone <span dir="ltr">&lt;<a href="mailto:onorato@onoratovaticone.it" target="_blank">onorato@onoratovaticone.it</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<div>first of all, this project is very exiting :-)</div><div>I´m trying to understand if CobraWinLDTP is suitable for our project so I´m making some test. One problem I have is in identification of object in the GUI. I´ll try to explain better. Through&nbsp;VisualUIAVerify I can see the name of the button, menú item etc. but in some case there is not a name and so I can´t access to the object. Example :&nbsp;</div>

<div><div><br></div><div>from ldtp import *</div><div>guiexist ('MyApp*')</div><div>click ('
MyApp&nbsp;*', 'btnUpdateInfo')</div></div><div><br></div><div>This work because I can see the name "UpdateInfo" in the&nbsp;VisualUIAVerify. but this example :&nbsp;</div><div><br></div><div>from ldtp import *</div>

<div><div>guiexist ('
MyApp&nbsp;*')</div><div>selectmenuitem ('
MyApp*', 'mnuFile;mnuOpen')</div><div><br></div><div>Doesn´t work maybe because I cannot see the "File" name property and "Open" name property in the&nbsp;VisualUIAVerify even though I have filled out in my application (i have source code).</div>

<div><br></div><div>My question is I´m proceeding correctly ? there is another way to identify the object in an application ?</div><div><br></div><div>I´m using the windows version of LDTP.</div><div><br></div><div>many thanks !!</div>
<span class="HOEnZb"><span color="#888888" data-mce-style="color: #888888;" style="color: #888888;">
<div>Onorato.</div></span></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Onorato Vaticone</div><div>m : +39.3336048864</div><div>email : <a href="mailto:onorato@onoratovaticone.it" target="_blank">onorato@onoratovaticone.it</a></div>
<div>web : <a href="http://www.onoratovaticone.it" target="_blank">www.onoratovaticone.it</a></div><br>
</div>
<br>_______________________________________________<br>LDTP-dev mailing list<br>LDTP-dev@lists.freedesktop.org<br>http://lists.freedesktop.org/mailman/listinfo/ldtp-dev<br></div><br><br><br>-- <br><div><span name="x"></span>Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org<br>Cobra - Windows GUI Automation tool - https://github.com/ldtp/cobra<br>http://nagappanal.blogspot.com<span name="x"></span><br></div></div></body></html>