uitest: add demo for new element selector math wrapper
Change-Id: I64c98254c5d5ae1cc6c9729654028201f1773c90
This commit is contained in:
@@ -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: */
|
||||
|
Reference in New Issue
Block a user