summaryrefslogtreecommitdiff
path: root/uitest
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-07-17 16:44:24 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-07-17 17:21:51 +0200
commitb2f6f4f38a219ea3968517812300df8d24e23bcd (patch)
tree2c5825c779df6c0759194f2c0b61a8bd418361dd /uitest
parentc1bfdddb51bf2fe22a7c935a797bf7f7221b0202 (diff)
uitest: add demo for new element selector math wrapper
Change-Id: I64c98254c5d5ae1cc6c9729654028201f1773c90
Diffstat (limited to 'uitest')
-rw-r--r--uitest/math_tests/start.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/uitest/math_tests/start.py b/uitest/math_tests/start.py
index 39b3111a8696..5b11ae768e79 100644
--- a/uitest/math_tests/start.py
+++ b/uitest/math_tests/start.py
@@ -50,4 +50,16 @@ class SimpleMathTest(UITestCase):
self.ui_test.close_doc()
+ def test_math_selector(self):
+ self.ui_test.create_doc_in_start_center("math")
+
+ xMathDoc = self.xUITest.getTopFocusWindow()
+
+ xMathSelector = xMathDoc.getChild("element_selector")
+
+ xElement = xMathSelector.getChild("1")
+ xElement.executeAction("SELECT", tuple())
+
+ self.ui_test.close_doc()
+
# vim:set shiftwidth=4 softtabstop=4 expandtab: */