https://bugzilla.gnome.org/show_bug.cgi?id=656801 LDTP | general | 2.0.0
Summary: hasstate return wrong status result on solaris Classification: Other Product: LDTP Version: 2.0.0 OS/Version: Solaris Status: UNCONFIRMED Severity: major Priority: Normal Component: general AssignedTo: ldtp-ma...@gnome.bugs ReportedBy: tim.m...@oracle.com QAContact: ldtp-dev@lists.freedesktop.org GNOME version: --- Installed latest LDTP trunk build(2.1.1), I found hasstate gave wrong state result. For the widgets with "enabled, showing, visible" status, ldtp always return "0" as state result. This is not shown in previous LDTP build. Please fix it. I tracked down the codes and LDTP online help documents, found the problem existing in following codes: diff --git a/ldtpd/core.py b/ldtpd/core.py index 0f22e7b..95bc455 100644 --- a/ldtpd/core.py +++ b/ldtpd/core.py @@ -724,7 +724,7 @@ class Ldtpd(Utils, ComboBox, Table, Menu, PageTabList, """ try: waiter = \ - ObjectExistsWaiter(window_name, object_name, guiTimeOut, state) + ObjectExistsWaiter(window_name, object_name, state, guiTimeOut) return int(waiter.run()) except: pass -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are watching the assignee of the bug. _______________________________________________ LDTP-dev mailing list LDTP-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/ldtp-dev