Commit 9ca46480 authored by Robert Loehning's avatar Robert Loehning
Browse files

Squish: Replace white box code with GUI interaction



Change-Id: I513142498768dfb3f8373d00f0b04edba0dfd06f
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent e94de191
......@@ -72,16 +72,10 @@ def openCmakeProject(projectPath, buildDir):
return __handleCmakeWizardPage__()
def __handleCmakeWizardPage__():
generatorCombo = waitForObject(":Generator:_QComboBox")
generatorText = "Unix Generator (Desktop 480 GCC)"
if platform.system() in ('Windows', 'Microsoft'):
generatorText = "NMake Generator (Desktop 480 MSVC2010)"
index = generatorCombo.findText(generatorText)
if index == -1:
test.warning("No matching CMake generator for found.")
else:
generatorCombo.setCurrentIndex(index)
selectFromCombo(waitForObject(":Generator:_QComboBox"), generatorText)
clickButton(waitForObject(":CMake Wizard.Run CMake_QPushButton"))
try:
clickButton(waitForObject(":CMake Wizard.Finish_QPushButton", 60000))
......
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