[LDTP-Dev] [Bug 656801] New: hasstate return wrong status result on solaris
LDTP (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Aug 17 22:19:45 PDT 2011
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-maint at gnome.bugs
ReportedBy: tim.miao at oracle.com
QAContact: ldtp-dev at 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.
More information about the LDTP-dev
mailing list