[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-ldtp-dev
Subject: [LDTP-Dev] Fwd: object identification
From: Onorato Vaticone <onorato () onoratovaticone ! it>
Date: 2012-06-06 9:18:11
Message-ID: CAO3yJHZK2avxpk14Z=8BPYhr4aX=FriV9Z-Nu3EL+8_nruU1rA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi all,
first of all, this project is very exiting :-)
I=B4m trying to understand if CobraWinLDTP is suitable for our project so I=
=B4m
making some test. One problem I have is in identification of object in the
GUI. I=B4ll try to explain better. Through VisualUIAVerify I can see the na=
me
of the button, men=FA item etc. but in some case there is not a name and so=
I
can=B4t 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=B4t work maybe because I cannot see the "File" name property and "Ope=
n"
name property in the VisualUIAVerify even though I have filled out in my
application (i have source code).
My question is I=B4m proceeding correctly ? there is another way to identif=
y
the object in an application ?
I=B4m using the windows version of LDTP.
many thanks !!
Onorato.
[Attachment #5 (text/html)]
Hi all,<br><div class="gmail_quote"><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 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 : </div>
<div><div><br></div><div>from ldtp import *</div><div>guiexist \
('MyApp*')</div><div>click (' MyApp *', \
'btnUpdateInfo')</div></div><div><br></div><div>This work because I can see \
the name "UpdateInfo" in the VisualUIAVerify. but this example : \
</div><div><br></div><div>from ldtp import *</div>
<div><div>guiexist ('
MyApp *')</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 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"><font color="#888888"> <div>Onorato.</div></font></span></div>
</div><br>
_______________________________________________
LDTP-dev mailing list
LDTP-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic