summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmed ElShreif <aelshreif7@gmail.com>2019-08-17 21:37:21 -0500
committerAhmed ElShreif <aelshreif7@gmail.com>2019-08-17 21:37:21 -0500
commit671858c12e2eee7deacb2b7503ee7400e0f0bf5f (patch)
tree19ca692fdbd939a7d100768a1f380b990953adb1
parent25fbad996379ca0b73a95268253828d73d2be6f9 (diff)
Fix some Logger issues:
add the SideBar implementation Change-Id: I7de9bd97e868624476b5c39a5e37afc945206e4e
-rw-r--r--uitest/ui_logger_dsl/dsl_core.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/uitest/ui_logger_dsl/dsl_core.py b/uitest/ui_logger_dsl/dsl_core.py
index 088fcf4a0d64..b77a3449aa6e 100644
--- a/uitest/ui_logger_dsl/dsl_core.py
+++ b/uitest/ui_logger_dsl/dsl_core.py
@@ -97,6 +97,7 @@ class ul_Compiler:
'math_Type_command':self.handle_math_Type_command,
'setZoom_command':self.handle_setZoom_command,
'draw_Type_command':self.handle_draw_Type_command,
+ 'SideBar':self.handle_SideBar,
'writer_Copy_Text':self.do_nothing,
'writer_Cut_Text':self.do_nothing,
@@ -188,6 +189,15 @@ class ul_Compiler:
self.current_app=app[StarterCommand.program_name]
self.prev_command=StarterCommand
+ def handle_SideBar(self , SideBar):
+
+ line=" self.xUITest.executeCommand(\".uno:Sidebar\")\n"
+ self.variables.append(line)
+
+ self.write_line_with_one_parameters("MainWindow","SIDEBAR","PANEL",SideBar.name)
+
+ self.prev_command=SideBar
+
def handle_Dialog(self, DialogCommand):
if (DialogCommand.__class__.__name__ == "OpenModalDialog"):