On 04/05/2016 12:12 PM, jan iversen wrote:
I suspect these tools are not ported to python so you would need first
to port the tools.

Yes, exactly.

On 25 Mar 2016, at 00:14, Kader Tarlan <kadertarl...@gmail.com
<mailto:kadertarl...@gmail.com>> wrote:
I need some help.
"import util.AccessibilityTools" I saw this in the Java tests. How Can
I import it to Python?
I will use it for similar steps :

xWindow = AccessibilityTools.getCurrentWindow(aModel)
            xRoot = AccessibilityTools.getAccessibleObject(xWindow)
            ctx = AccessibilityTools.getAccessibleObjectForRole(xRoot,
AccessibleRole.DOCUMENT_TEXT);

How can we use it in Python? I will share to you related Java files in
the attachment. I'm asking for the steps in these tests.

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

Reply via email to