Python Tests

Stephan Bergmann sbergman at redhat.com
Tue Apr 5 10:32:31 UTC 2016


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 <kadertarlan1 at gmail.com
> <mailto:kadertarlan1 at 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.



More information about the LibreOffice mailing list