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
1"}))
print("Selected chart")
time.sleep(10)
xGridWindow.executeAction("TYPE", mkPropertyValues({"KEYCODE": "CTRL+X"}))
print("Cut chart")
time.sleep(10)
self.ui_test.close_doc()


Regards,
Dennis
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to