ClickCell() action returns "an error occured" while clicking on QTableWidget.
Hello everyone, we are testing a desktop application, built with Qt libraries and we stumbled in an issue when testing it with TestComplete (v14.60) Attached are few screens of what is the situation. The first one are the trials we made to execute the expected action. We tried using a python script, using a ClickCell with a script to find the right row or directly giving it the desiderate value (1, 1). All of those return the "An error occurred" issue. The script used to find the right row is the following: Aliases.RockSpotControllerGUI.ids_heron_HeronGUI.TabWidget.qt_tabwidget_stackedwidget.ids_heron_CentralWidgetSession.Widget.TabWidget.qt_tabwidget_stackedwidget.ids_heron_SessionWidget.TabWidget.qt_tabwidget_stackedwidget.ids_heron_SessionStatusWidget.ids_heron_AlarmsWarningsWidget.TableWidget.FindRow(2,"Camera 1 connection error (Error code 6004)") and returns the expected value, which is 1. This script is then used in the ClickCell() method as first parameter (row), the second parameter (column) is hardcoded as 1. Following there is a screen of part of the application, showing the table where the click is failing. The interested row is the second one "Camera 1 connection error...") We supposed it could be a problem of the "System Alarm - Critical" popup that is showing, like it could be an overlapping window, but even hiding it does not solve the issue. We also tried to click on the background before clicking on the desired cell but that does not change the result. The output of the generic error is the following: Possible reasons: 1. The application stopped responding. 2. The application was compiled incorrectly (see the Open Applications topic in the help system). 3. An error occurred in TestComplete/TestExecute. Technical information: 37 0x80004005 (Unspecified error) . Tested object: Aliases.RockSpotControllerGUI.ids_heron_HeronGUI.TabWidget.qt_tabwidget_stackedwidget.ids_heron_CentralWidgetSession.Widget.TabWidget.qt_tabwidget_stackedwidget.ids_heron_SessionWidget.TabWidget.qt_tabwidget_stackedwidget.ids_heron_SessionStatusWidget.ids_heron_AlarmsWarningsWidget.TableWidget (Sys.Process("RockSpotControllerGUI").QtObject("ids::heron::HeronGUI", "", 30).QtObject("QTabWidget", "", 3).QtObject("qt_tabwidget_stackedwidget").QtObject("ids::heron::CentralWidgetSession", "", 1).QtObject("QWidget", "", 1).QtObject("QTabWidget", "", 1).QtObject("qt_tabwidget_stackedwidget").QtObject("ids::heron::SessionWidget", "", 1).QtObject("QTabWidget", "", 2).QtObject("qt_tabwidget_stackedwidget").QtObject("ids::heron::SessionStatusWidget", "", 1).QtObject("ids::heron::AlarmsWarningsWidget", "", 5).QtObject("QTableWidget", "", 1)) Any help is really appreciated. Thanks.Solved1.8KViews0likes6Comments