Kaydet (Commit) 4914c032 authored tarafından Saurav Chirania's avatar Saurav Chirania

uitest interpreter: handle when parent is empty string

Change-Id: I439e2679ce46872f34e095b7f05fa19d404d2c00
Reviewed-on: https://gerrit.libreoffice.org/56887
Tested-by: Jenkins
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 6fb449d1
......@@ -118,7 +118,9 @@ def get_test_line_from_one_log_line(log_line):
action_dict["Id"][:-4] +"\")\n MainWindow = " + \
"self.xUITest.getTopFocusWindow()\n"
return test_line
elif (parent != ""):
else:
if (parent == ""):
parent = "MainWindow"
test_line += \
action_dict["Id"] + " = " + parent + ".getChild(\"" + \
action_dict["Id"] + "\")\n " + \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment