Commit a50f4073 authored by Christian Stenger's avatar Christian Stenger
Browse files

Squish: Improved QmlProfiler test

Change-Id: I2ad50fac22a02de79643eb4d8a06c8736bb8539c
Reviewed-by: default avatarRobert Loehning <>
parent 7076272b
......@@ -40,6 +40,12 @@ def main():
allowAppThroughWinFW(workingDir, projectName, False)
selectFromCombo(":Analyzer Toolbar.AnalyzerManagerToolBox_QComboBox", "QML Profiler")
recordButton = waitForObject("{container=':Qt Creator.Analyzer Toolbar_QDockWidget' "
"type='QToolButton' unnamed='1' visible='1' "
"toolTip?='*able profiling'}")
if not test.verify(recordButton.checked, "Verifying recording is enabled."):
test.log("Enabling recording for the test run")
clickButton(waitForObject(":Analyzer Toolbar.Start_QToolButton"))
stopButton = waitForObject(":Qt Creator.Stop_QToolButton")
elapsedLabel = waitForObject(":Analyzer Toolbar.Elapsed:_QLabel", 3000)
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