Commit 65a07823 authored by Robert Loehning's avatar Robert Loehning
Browse files

Squish: Report error in selectFromFileDialog()

Change-Id: Ib32a1b78106a298996e1d29207998fc8f312208e
Reviewed-by: default avatarChristian Stenger <>
parent 6ef0c409
......@@ -235,7 +235,8 @@ def selectFromFileDialog(fileName, waitForFile=False):
clickButton(findObject("{text='Open' type='QPushButton'}"))
if waitForFile:
fileCombo = waitForObject(":Qt Creator_FilenameQComboBox")
waitFor("str(fileCombo.currentText) in fileName", 5000)
if not waitFor("str(fileCombo.currentText) in fileName", 5000):"%s could not be opened in time." % fileName)
# add qt.qch from SDK path
def addHelpDocumentationFromSDK():
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