Kaydet (Commit) 7ffaaf37 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

uitest: split the demo

Change-Id: Iec2acce4e7777995d3e5a8e4bea5f069f579721d
üst 4d7ace84
...@@ -32,6 +32,19 @@ def input(xContext): ...@@ -32,6 +32,19 @@ def input(xContext):
xGridWindow = xTopWindow.getChild("grid_window") xGridWindow = xTopWindow.getChild("grid_window")
ui_test.close_doc()
def special_keys(xContext):
xUITest = xContext.ServiceManager.createInstanceWithContext(
"org.libreoffice.uitest.UITest", xContext)
ui_test = UITest(xUITest, xContext)
ui_test.create_doc_in_start_center("calc")
xTopWindow = xUITest.getTopFocusWindow()
xGridWindow = xTopWindow.getChild("grid_window")
selectProps = mkPropertyValues({"CELL": "C3"}) selectProps = mkPropertyValues({"CELL": "C3"})
xGridWindow.executeAction("SELECT", selectProps) xGridWindow.executeAction("SELECT", selectProps)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment