forked from qt-creator/qt-creator
Squish: Fix __configureCustomExecutable__()
Change-Id: I76ebec620ece569b895f381e9b35f3b257fe4852 Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
This commit is contained in:
@@ -219,7 +219,10 @@ def __configureCustomExecutable__(projectName, port, mkspec, qmakeVersion):
|
||||
test.warning("Configured Squish directory seems to be missing - using fallback without hooking into subprocess.",
|
||||
"Failed to find '%s'" % startAUT)
|
||||
return False
|
||||
addButton = waitForObject("{window=':Qt Creator_Core::Internal::MainWindow' occurrence='2' text='Add' type='QPushButton' unnamed='1' visible='1'}")
|
||||
addButton = waitForObject("{container={window=':Qt Creator_Core::Internal::MainWindow' "
|
||||
"type='ProjectExplorer::Internal::RunSettingsWidget' unnamed='1' "
|
||||
"visible='1'} occurrence='2' text='Add' type='QPushButton' "
|
||||
"unnamed='1' visible='1'}")
|
||||
clickButton(addButton)
|
||||
addMenu = addButton.menu()
|
||||
activateItem(waitForObjectItem(objectMap.realName(addMenu), 'Custom Executable'))
|
||||
|
Reference in New Issue
Block a user