diff options
author | Christian Stenger <christian.stenger@nokia.com> | 2012-08-22 13:56:44 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@nokia.com> | 2012-08-22 16:22:28 +0200 |
commit | f1c5b1e78d6ea6cdd809419c4d2a89bfbc40e9fc (patch) | |
tree | bbfdbbd3390014bb23fcdb543f9d371191b114df /tests/system/shared/hook_utils.py | |
parent | cec8bcba5be7856b81e87fbe6d053aa1f0dba79d (diff) | |
download | qt-creator-f1c5b1e78d6ea6cdd809419c4d2a89bfbc40e9fc.tar.gz |
Squish: Fix __configureCustomExecutable__()
Change-Id: I76ebec620ece569b895f381e9b35f3b257fe4852
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
Diffstat (limited to 'tests/system/shared/hook_utils.py')
-rw-r--r-- | tests/system/shared/hook_utils.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/system/shared/hook_utils.py b/tests/system/shared/hook_utils.py index cd73dfaaa3..30a1a87a47 100644 --- a/tests/system/shared/hook_utils.py +++ b/tests/system/shared/hook_utils.py @@ -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')) |