[LDTP-Dev] How to get the appmap in LDTPv2?
Nagappan Alagappan
nalagappan at zimbra.com
Tue Mar 19 16:50:56 PDT 2013
Hi Mingwei,
You can try this:
getapplist() # For list of current applications running that are supported by LDTP
getwindowlist() # List of current windows that are open
getobjectlist('window name') # To get all the widget names visible to LDTP
Thanks
Nagappan
----- Original Message -----
From: "Mingwei" <mingwayzhang at gmail.com>
To: ldtp-dev at lists.freedesktop.org
Sent: Wednesday, February 27, 2013 1:25:30 PM
Subject: [LDTP-Dev] How to get the appmap in LDTPv2?
Hi, everyone
I am new to LDTP. A simple problem I have is that I don't know the
window name ( or frame name) of the GUI program that I want to test.
If I follow the documents, I could test gedit with no problem. BUT if
I want to test other programs. I really have no clue.
For instance, LyX, I really don't know the window title, So my script
always stop on the line :"waittillguiexist('name_I_dont_know')
So, could anyone help me? Thanks.
BTW: I find appmap in LDTPv1, but it is not there in v2. So, I lose track of it.
_______________________________________________
LDTP-dev mailing list
LDTP-dev at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
--
Cross platform GUI testing
Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org
Cobra - Windows GUI Automation tool - https://github.com/ldtp/cobra
ATOMac - Mac GUI Automation tool - https://github.com/pyatom/pyatom
http://nagappanal.blogspot.com
More information about the LDTP-dev
mailing list