GNOME Bugzilla – Bug 553747
cannot click window itself.
Last modified: 2009-04-12 22:45:28 UTC
from ldtp import * winname = 'frmTest' click(winname, winname) >> then object is same as window.
*** Bug 553750 has been marked as a duplicate of this bug. ***
*** Bug 553748 has been marked as a duplicate of this bug. ***
(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')
>> 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.
Created attachment 132495 [details] [review] Proposed patch