From 9f81e79c8f095b4755719cb8f7a8c5e8d9e6b4b6 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Mon, 20 Jan 2014 11:30:02 +0100 Subject: Squish: Fix issue with menu invocation on Mac Squish 5 has problems to handle menus on Mac for Qt5.2 builds. Change-Id: I533f8fcd2c8a2786ae354cd92e92efad0fb1dd57 Reviewed-by: Robert Loehning --- tests/system/shared/hook_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system/shared/hook_utils.py b/tests/system/shared/hook_utils.py index a11d28b4860..bc1a81b9fe2 100644 --- a/tests/system/shared/hook_utils.py +++ b/tests/system/shared/hook_utils.py @@ -237,7 +237,7 @@ def __configureCustomExecutable__(projectName, port, mkspec, qmakeVersion): "unnamed='1' visible='1'}") clickButton(addButton) addMenu = addButton.menu() - activateItem(waitForObjectItem(objectMap.realName(addMenu), 'Custom Executable')) + activateItem(waitForObjectItem(addMenu, 'Custom Executable')) exePathChooser = waitForObject(":Executable:_Utils::PathChooser", 2000) exeLineEd = getChildByClass(exePathChooser, "Utils::BaseValidatingLineEdit") argLineEd = waitForObject("{buddy={window=':Qt Creator_Core::Internal::MainWindow' " -- cgit v1.2.3