After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 553747 - cannot click window itself.
cannot click window itself.
Status: RESOLVED FIXED
Product: LDTP
Classification: Other
Component: ldtp
1.3.0
Other Windows
: Normal normal
: ---
Assigned To: Nagappan Alagappan
LDTP Development Mailing List
: 553748 553750 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-09-25 09:29 UTC by lavi
Modified: 2009-04-12 22:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (10.59 KB, patch)
2009-04-10 23:23 UTC, Nagappan Alagappan
committed Details | Review

Description lavi 2008-09-25 09:29:46 UTC
from ldtp import *

winname = 'frmTest'

click(winname, winname)


>> then object is same as window.
Comment 1 Nagappan Alagappan 2008-09-25 15:39:50 UTC
*** Bug 553750 has been marked as a duplicate of this bug. ***
Comment 2 Nagappan Alagappan 2008-09-25 15:40:31 UTC
*** Bug 553748 has been marked as a duplicate of this bug. ***
Comment 3 Nagappan Alagappan 2008-09-25 15:43:02 UTC
(In reply to comment #0)
> from ldtp import *
> 
> winname = 'frmTest'
> 
> click(winname, winname)
> 
> 
> >> then object is same as window.
> 

click function is implemented to click on certain object types. Any reason for clicking on window itself ? This is to bring focus of a window ? If so could you please try to bring the focus of a window using grabfocus on a button ?

like: grabfocus ('window', 'button')
Comment 4 lavi 2008-09-26 04:36:30 UTC
>> picked from Bug 553750:

NOTE: in this case, the object is same as window,
all of function in this way are not working cos this except guiexit stuff.
In fact, we're using hasstate for window to check whether it's a active status.


it did not work as if window name had wildcast way.

ldtp.hasstate('frmgedit*', 'frmgedit*', ldtp.ACTIVE)


>> It confirmed by nags.

Lavi.
Comment 5 Nagappan Alagappan 2009-04-10 23:23:13 UTC
Created attachment 132495 [details] [review]
Proposed patch