summaryrefslogtreecommitdiff
path: root/testautomation/global/tools
diff options
context:
space:
mode:
authorJoerg Skottke [jsk] <jsk@openoffice.org>2010-05-25 19:33:35 +0200
committerJoerg Skottke [jsk] <jsk@openoffice.org>2010-05-25 19:33:35 +0200
commit6bfb3c970edacf5230a0bf324204820ef474954f (patch)
tree91e4ee88f5a8e6533bf5b362b73e1534646ec168 /testautomation/global/tools
parent71776505ceef5878a06318e8f5e8bb159263a567 (diff)
vitomation01: #i109696 - Dramatically simplified test case, provided long missing function to select item in a list by name (which would work using the treelist function as well but looks rather awkward when called from within a test case - it is just the wrong control.
Diffstat (limited to 'testautomation/global/tools')
-rwxr-xr-xtestautomation/global/tools/includes/optional/t_treelist_tools.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/testautomation/global/tools/includes/optional/t_treelist_tools.inc b/testautomation/global/tools/includes/optional/t_treelist_tools.inc
index ba16f529c100..8efb2917568c 100755
--- a/testautomation/global/tools/includes/optional/t_treelist_tools.inc
+++ b/testautomation/global/tools/includes/optional/t_treelist_tools.inc
@@ -452,6 +452,8 @@ function hFindInList( oControl as object, cObject as string ) as integer
for iCurrentObject = 1 to oControl.getItemCount()
+ oControl.select( iCurrentObject )
+
if ( oControl.getSelText() = cObject ) then
hFindInList() = iCurrentObject
exit function