calc uitests

Dennis Francis at
Mon Jul 17 11:25:12 UTC 2017

Hi Markus

> For system python you need to set PYTHONPATH and URE_BOOTSTRAP either in
> the script or in your terminal. If called through the makefiles our build
> system already sets the values correctly.
Thanks, I was able to run my test in debug mode.

When I run the following in a test case in debug mode, after the "CTRL+X"
action has executed, the selected chart object is not disappearing. I can
see that the selection action is working well though.
Any hints as to what I may be missing here ? Thanks.

doc = self.ui_test.load_file(get_url_for_data_file("tdf108881.ods"))
xGridWindow = self.xUITest.getTopFocusWindow().getChild("grid_window")
xGridWindow.executeAction("DESELECT", mkPropertyValues({"OBJECT": ""}))
xGridWindow.executeAction("SELECT", mkPropertyValues({"OBJECT": "Object
print("Selected chart")
xGridWindow.executeAction("TYPE", mkPropertyValues({"KEYCODE": "CTRL+X"}))
print("Cut chart")

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the LibreOffice mailing list