summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authornags <nags@nags-desktop.(none)>2009-04-25 15:41:59 -0700
committernags <nags@nags-desktop.(none)>2009-04-25 15:41:59 -0700
commit49295009ca847e8d8c8b66090ea643fad713e9ca (patch)
treeb0b07bca65342659c580dafea0f40f745b27058f /python
parent9cd66fead8ee04cd22822bc8022e0019afa55322 (diff)
2009-04-25 Nagappan Alagappan <nagappan@gmail.com>
* ldtplibutils.py (command): Added new commands. (LdtpErrorCode): Added new errors.
Diffstat (limited to 'python')
-rw-r--r--python/ldtplib/ChangeLog5
-rw-r--r--python/ldtplib/ldtplibutils.py20
2 files changed, 23 insertions, 2 deletions
diff --git a/python/ldtplib/ChangeLog b/python/ldtplib/ChangeLog
index 5d21b7b..d82bdfc 100644
--- a/python/ldtplib/ChangeLog
+++ b/python/ldtplib/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-25 Nagappan Alagappan <nagappan@gmail.com>
+
+ * ldtplibutils.py (command): Added new commands.
+ (LdtpErrorCode): Added new errors.
+
2009-04-08 Willie Walker <william.walker@sun.com>
* ldtplibutils.py (connect2LdtpExecutionEngine): LDTP should use
diff --git a/python/ldtplib/ldtplibutils.py b/python/ldtplib/ldtplibutils.py
index 9601f47..99b9685 100644
--- a/python/ldtplib/ldtplibutils.py
+++ b/python/ldtplib/ldtplibutils.py
@@ -128,6 +128,8 @@ class command:
INSERTTEXT = index; index += 1
IVALID = index; index += 1
INVOKEMENU = index; index += 1
+ ISCHILDSELECTED = index; index += 1
+ ISCHILDITEMSELECTED = index; index += 1
ISTEXTSTATEENABLED = index; index += 1
KBDENTER = index; index += 1
KEYPRESS = index; index += 1
@@ -158,7 +160,9 @@ class command:
SCROLLLEFT = index; index += 1
SCROLLRIGHT = index; index += 1
SCROLLUP = index; index += 1
+ SELECTALL = index; index += 1
SELECTCALENDARDATE = index; index += 1
+ SELECTEDITEMCOUNT = index; index += 1
SELECTEVENT = index; index += 1
SELECTEVENTINDEX = index; index += 1
SELECTINDEX = index; index += 1
@@ -197,6 +201,10 @@ class command:
TITLEBARSELECTMENUITEM = index; index += 1
UNCHECK = index; index += 1
UNCHECKROW = index; index += 1
+ UNSELECTALL = index; index += 1
+ UNSELECTINDEX = index; index += 1
+ UNSELECTITEM = index; index += 1
+ UNSELECTITEMINDEX = index; index += 1
VERIFYBUTTONCOUNT = index; index += 1
VERIFYCHECK = index; index += 1
VERIFYCHECKROW = index; index += 1
@@ -474,8 +482,16 @@ class LdtpErrorCode:
COMMAND_FAILED = [-1184, "Command failed"]
UNABLE_TO_SET_SLIDER_VALUE = [-1185, "Unable to set slider value"]
COMMAND_NOT_SUPPORTED = [-1186, "Command not supported on this platform"]
- UNABLE_TO_GET_OBJECT_STATE = [-1187, "Unable to get all object states"]
- SET_APP_UNDER_TEST_NAME_FAILED = [-1188, "Setting application name under test failed"]
+ UNABLE_TO_GET_OBJECT_STATE = [-1187,
+ "Unable to get all object states"]
+ SET_APP_UNDER_TEST_NAME_FAILED = [-1188,
+ "Setting application name under test failed"]
+ UNABLE_TO_DESELECT_LAYERED_PANE_ITEM = [-1189,
+ "Unable to deselect layared pane item"]
+ CHILD_NOT_SELECTED = [-1190, "Child not selected"]
+ UNABLE_TO_GET_SELECTED_ITEM_COUNT = [-1191,
+ "Unable to get selected item count"]
+ MOUSE_ACTION_FAILED = [-1192, "Mouse action failed"]
class ExtendedRole:
CALENDAR_VIEW = 1001 # Extended role, so using custom value