Squish: Waiting for enabled button

Change-Id: If06bb6360c7837e773e2eb0b6be8143e588b771e
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
This commit is contained in:
Robert Loehning
2012-03-30 14:25:03 +02:00
committed by Christian Stenger
parent a6b5aaf9e7
commit 042dae0e5e

View File

@@ -335,6 +335,7 @@ def validType(sType, userDef):
def __closeSubprocessByPushingStop__(sType): def __closeSubprocessByPushingStop__(sType):
ensureChecked(":Qt Creator_AppOutput_Core::Internal::OutputPaneToggleButton") ensureChecked(":Qt Creator_AppOutput_Core::Internal::OutputPaneToggleButton")
waitForObject(":Qt Creator.Stop_QToolButton", 5000)
playButton = verifyEnabled(":Qt Creator.ReRun_QToolButton", False) playButton = verifyEnabled(":Qt Creator.ReRun_QToolButton", False)
stopButton = verifyEnabled(":Qt Creator.Stop_QToolButton") stopButton = verifyEnabled(":Qt Creator.Stop_QToolButton")
if stopButton.enabled: if stopButton.enabled: