[LDTP-Dev] object identification
Nagappan Alagappan
nalagappan at zimbra.com
Wed Jun 6 18:28:12 PDT 2012
Hi Onorato,
----- Original Message -----
From: "Onorato Vaticone" < onorato at onoratovaticone.it >
To: "Nagappan Alagappan" < nalagappan at vmware.com >
Sent: Wednesday, June 6 , 2012 8:08:43 AM
Subject: Re: CobraWinLDTP
Hi Nagappan,
I have a little problem with my application (developed with borland C++ 6)
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 ?
The problem is that a simple test like this work :
from ldtp import *
guiexist ('MyApp*')
click ('MyApp*', 'btnUpdateInfo') """ Update info in the target details.
where btnUpdateInfo is a Push button type. Instead this test doesn´t work :
from ldtp import *
guiexist (' MyApp *')
selectmenuitem (' MyApp *', 'mnuFile;mnuNew')
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 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 accessibility ?
A: Yes I think, that could be the issue. I'm not sure how to enabled accessibility with an application created using Borland C++.
Thanks
Nagappan
----- Original Message -----
From: "Onorato Vaticone" <onorato at onoratovaticone.it>
To: ldtp-dev at lists.freedesktop.org
Sent: Wednesday, June 6, 2012 3:37:18 AM
Subject: Re: [LDTP-Dev] object identification
I got the point.
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.
so the point, now, is this : how to get accessibility in my application ? great question .... i´ll move on.
bye.
On 6 June 2012 11:16, Onorato Vaticone < onorato at onoratovaticone.it > wrote:
Hi all,
first of all, this project is very exiting :-)
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 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 :
from ldtp import *
guiexist ('MyApp*')
click (' MyApp *', 'btnUpdateInfo')
This work because I can see the name "UpdateInfo" in the VisualUIAVerify. but this example :
from ldtp import *
guiexist (' MyApp *')
selectmenuitem (' MyApp*', 'mnuFile;mnuOpen')
Doesn´t work maybe because I cannot see the "File" name property and "Open" name property in the VisualUIAVerify even though I have filled out in my application (i have source code).
My question is I´m proceeding correctly ? there is another way to identify the object in an application ?
I´m using the windows version of LDTP.
many thanks !!
Onorato.
--
Onorato Vaticone
m : +39.3336048864
email : onorato at onoratovaticone.it
web : www.onoratovaticone.it
_______________________________________________
LDTP-dev mailing list
LDTP-dev at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
--
Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org
Cobra - Windows GUI Automation tool - https://github.com/ldtp/cobra
http://nagappanal.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/ldtp-dev/attachments/20120606/682cc053/attachment.html>
More information about the LDTP-dev
mailing list