Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / sd / qa / uitest / impress_tests2 / tdf141708.py
blobbb9298f68630304459da21f2b5441543fba422ab
1 # -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 from uitest.framework import UITestCase
11 class tdf141708(UITestCase):
13 def test_tdf141708(self):
15 with self.ui_test.create_doc_in_start_center("impress"):
17 xTemplateDlg = self.xUITest.getTopFocusWindow()
18 xCancelBtn = xTemplateDlg.getChild("close")
19 self.ui_test.close_dialog_through_button(xCancelBtn)
21 self.xUITest.executeCommand(".uno:Navigator")
23 self.xUITest.executeCommand(".uno:CloseDoc")
25 with self.ui_test.create_doc_in_start_center("impress"):
27 xTemplateDlg = self.xUITest.getTopFocusWindow()
28 xCancelBtn = xTemplateDlg.getChild("close")
29 self.ui_test.close_dialog_through_button(xCancelBtn)
31 # Without the fix in place, this test would have crashed here
33 # vim: set shiftwidth=4 softtabstop=4 expandtab: