From 69eeab25a4a44c9fe6c16a795cd772b2076d9f06 Mon Sep 17 00:00:00 2001 From: spo Date: Wed, 3 Jun 2015 12:56:15 +0300 Subject: [PATCH] SQUISH tests --- test.squish/suite_ISSUES/envvars | 0 test.squish/suite_ISSUES/objects.map | 66 ++++++++++++++ test.squish/suite_ISSUES/suite.conf | 9 ++ test.squish/suite_ISSUES/tst_case1/test.py | 100 +++++++++++++++++++++ 4 files changed, 175 insertions(+) create mode 100644 test.squish/suite_ISSUES/envvars create mode 100644 test.squish/suite_ISSUES/objects.map create mode 100644 test.squish/suite_ISSUES/suite.conf create mode 100644 test.squish/suite_ISSUES/tst_case1/test.py diff --git a/test.squish/suite_ISSUES/envvars b/test.squish/suite_ISSUES/envvars new file mode 100644 index 000000000..e69de29bb diff --git a/test.squish/suite_ISSUES/objects.map b/test.squish/suite_ISSUES/objects.map new file mode 100644 index 000000000..59f1da626 --- /dev/null +++ b/test.squish/suite_ISSUES/objects.map @@ -0,0 +1,66 @@ +:Abort operation.OK_QPushButton {text='OK' type='QPushButton' unnamed='1' visible='1' window=':Abort operation_QMessageBox'} +:Abort operation_QMessageBox {type='QMessageBox' unnamed='1' visible='1' windowTitle='Abort operation'} +:Basic.Boolean_AppElements_Button {container=':Features.Basic_AppElements_MenuGroupPanel' text='Boolean' type='AppElements_Button' unnamed='1' visible='1'} +:Basic.Circle_AppElements_Button {container=':Sketch.Basic_AppElements_MenuGroupPanel' text='Circle' type='AppElements_Button' unnamed='1' visible='1'} +:Basic.Extrusion_AppElements_Button {container=':Features.Basic_AppElements_MenuGroupPanel' text='Extrusion' type='AppElements_Button' unnamed='1' visible='1'} +:Basic.Line_AppElements_Button {container=':Sketch.Basic_AppElements_MenuGroupPanel' text='Line' type='AppElements_Button' unnamed='1' visible='1'} +:Basic.Sketch_AppElements_Button {container=':Sketch.Basic_AppElements_MenuGroupPanel' text='Sketch' type='AppElements_Button' unnamed='1' visible='1'} +:Basic_QToolButton {container=':Sketch.Basic_AppElements_MenuGroupPanel' occurrence='7' type='QToolButton' unnamed='1' visible='1'} +:Basic_QToolButton_2 {container=':Sketch.Basic_AppElements_MenuGroupPanel' occurrence='6' type='QToolButton' unnamed='1' visible='1'} +:Boolean.Selected objects:_QLabel {container=':OpenParts v.1.1.0*.Boolean_XGUI_PropertyPanel' occurrence='2' text='Selected objects:' type='QLabel' unnamed='1' visible='1'} +:Boolean.Selected objects:_QListWidget {aboveWidget=':Boolean.Selected objects:_QLabel' container=':OpenParts v.1.1.0*.Boolean_XGUI_PropertyPanel' type='QListWidget' unnamed='1' visible='1'} +:Boolean.property_panel_ok_QToolButton {container=':OpenParts v.1.1.0*.Boolean_XGUI_PropertyPanel' name='property_panel_ok' type='QToolButton' visible='1'} +:Circle.CircleRadius_ModuleBase_ParamSpinBox {container=':OpenParts v.1.1.0*.Circle_XGUI_PropertyPanel' name='CircleRadius' type='ModuleBase_ParamSpinBox' visible='1'} +:Circle.property_panel_ok_QToolButton {container=':OpenParts v.1.1.0*.Circle_XGUI_PropertyPanel' name='property_panel_ok' type='QToolButton' visible='1'} +:Circle.qt_spinbox_lineedit_QLineEdit {container=':OpenParts v.1.1.0*.Circle_XGUI_PropertyPanel' name='qt_spinbox_lineedit' occurrence='3' type='QLineEdit' visible='1'} +:End point.qt_spinbox_lineedit_QLineEdit {container=':Line.End point_QGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'} +:End point.qt_spinbox_lineedit_QLineEdit_2 {container=':Line.End point_QGroupBox' name='qt_spinbox_lineedit' occurrence='2' type='QLineEdit' visible='1'} +:End point_ModuleBase_ParamSpinBox {container=':Line.End point_QGroupBox' type='ModuleBase_ParamSpinBox' unnamed='1' visible='1'} +:Extrusion.From_ModuleBase_PageGroupBox {container=':OpenParts v.1.1.0*.Extrusion_XGUI_PropertyPanel' title='From' type='ModuleBase_PageGroupBox' unnamed='1' visible='1'} +:Extrusion.To_ModuleBase_PageGroupBox {container=':OpenParts v.1.1.0*.Extrusion_XGUI_PropertyPanel' title='To' type='ModuleBase_PageGroupBox' unnamed='1' visible='1'} +:Extrusion.property_panel_ok_QToolButton {container=':OpenParts v.1.1.0*.Extrusion_XGUI_PropertyPanel' name='property_panel_ok' type='QToolButton' visible='1'} +:Features.Basic_AppElements_MenuGroupPanel {container=':qt_tabwidget_stackedwidget.Features_AppElements_Workbench' name='Basic' type='AppElements_MenuGroupPanel' visible='1'} +:From.from_size_ModuleBase_ParamSpinBox {container=':Extrusion.From_ModuleBase_PageGroupBox' name='from_size' type='ModuleBase_ParamSpinBox' visible='1'} +:From.qt_spinbox_lineedit_QLineEdit {container=':Extrusion.From_ModuleBase_PageGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'} +:General.qt_tabwidget_stackedwidget_QStackedWidget {container=':OpenParts v.1.1.0.General_AppElements_DockWidget' name='qt_tabwidget_stackedwidget' type='QStackedWidget' visible='1'} +:General.qt_tabwidget_stackedwidget_QStackedWidget_2 {container=':OpenParts v.1.1.0*.General_AppElements_DockWidget' name='qt_tabwidget_stackedwidget' type='QStackedWidget' visible='1'} +:General.qt_tabwidget_tabbar_QTabBar {container=':OpenParts v.1.1.0*.General_AppElements_DockWidget' name='qt_tabwidget_tabbar' type='QTabBar' visible='1'} +:Line.End point_QGroupBox {container=':OpenParts v.1.1.0*.Line_XGUI_PropertyPanel' title='End point' type='QGroupBox' unnamed='1' visible='1'} +:Line.Start point_QGroupBox {container=':OpenParts v.1.1.0*.Line_XGUI_PropertyPanel' title='Start point' type='QGroupBox' unnamed='1' visible='1'} +:Line.property_panel_ok_QToolButton {container=':OpenParts v.1.1.0*.Line_XGUI_PropertyPanel' name='property_panel_ok' type='QToolButton' visible='1'} +:Object browser_XGUI_DataTree {container=':OpenParts v.1.1.0*.Object browser_QDockWidget' type='XGUI_DataTree' unnamed='1' visible='1'} +:OpenParts v.1.1.0*.Boolean_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':OpenParts v.1.1.0*_AppElements_MainWindow' windowTitle='Boolean'} +:OpenParts v.1.1.0*.Circle_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':OpenParts v.1.1.0*_AppElements_MainWindow' windowTitle='Circle'} +:OpenParts v.1.1.0*.Extrusion_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':OpenParts v.1.1.0*_AppElements_MainWindow' windowTitle='Extrusion'} +:OpenParts v.1.1.0*.General_AppElements_DockWidget {type='AppElements_DockWidget' unnamed='1' visible='1' window=':OpenParts v.1.1.0*_AppElements_MainWindow' windowTitle='General'} +:OpenParts v.1.1.0*.Line_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':OpenParts v.1.1.0*_AppElements_MainWindow' windowTitle='Line'} +:OpenParts v.1.1.0*.Object browser_QDockWidget {type='QDockWidget' unnamed='1' visible='1' window=':OpenParts v.1.1.0*_AppElements_MainWindow' windowTitle='Object browser'} +:OpenParts v.1.1.0*.Parameter_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':OpenParts v.1.1.0*_AppElements_MainWindow' windowTitle='Parameter'} +:OpenParts v.1.1.0*.Sketch_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':OpenParts v.1.1.0*_AppElements_MainWindow' windowTitle='Sketch'} +:OpenParts v.1.1.0*_AppElements_MainWindow {type='AppElements_MainWindow' unnamed='1' visible='1' windowTitle='OpenParts v.1.1.0*'} +:OpenParts v.1.1.0*_AppElements_ViewPort {type='AppElements_ViewPort' unnamed='1' visible='1' window=':OpenParts v.1.1.0*_AppElements_MainWindow'} +:OpenParts v.1.1.0.General_AppElements_DockWidget {type='AppElements_DockWidget' unnamed='1' visible='1' window=':OpenParts v.1.1.0_AppElements_MainWindow' windowTitle='General'} +:OpenParts v.1.1.0_AppElements_MainWindow {type='AppElements_MainWindow' unnamed='1' visible='1' windowTitle='OpenParts v.1.1.0'} +:Operations.New part_AppElements_Button {container=':Part.Operations_AppElements_MenuGroupPanel' text='New part' type='AppElements_Button' unnamed='1' visible='1'} +:Parameter.Result: 5_ExpressionEditor {aboveWidget=':Parameter.Result: 5_QLabel' container=':OpenParts v.1.1.0*.Parameter_XGUI_PropertyPanel' type='ExpressionEditor' unnamed='1' visible='1'} +:Parameter.Result: 5_QLabel {container=':OpenParts v.1.1.0*.Parameter_XGUI_PropertyPanel' text='Result: 5' type='QLabel' unnamed='1' visible='1'} +:Parameter.property_panel_ok_QToolButton {container=':OpenParts v.1.1.0*.Parameter_XGUI_PropertyPanel' name='property_panel_ok' type='QToolButton' visible='1'} +:Parameter_ExpressionEditor {container=':OpenParts v.1.1.0*.Parameter_XGUI_PropertyPanel' type='ExpressionEditor' unnamed='1' visible='1'} +:Parameter_QLineEdit {container=':OpenParts v.1.1.0*.Parameter_XGUI_PropertyPanel' type='QLineEdit' unnamed='1' visible='1'} +:Parameters.Parameter_AppElements_Button {container=':Part.Parameters_AppElements_MenuGroupPanel' text='Parameter' type='AppElements_Button' unnamed='1' visible='1'} +:Part.Operations_AppElements_MenuGroupPanel {container=':qt_tabwidget_stackedwidget.Part_AppElements_Workbench' name='Operations' type='AppElements_MenuGroupPanel' visible='1'} +:Part.Parameters_AppElements_MenuGroupPanel {container=':qt_tabwidget_stackedwidget.Part_AppElements_Workbench_2' name='Parameters' type='AppElements_MenuGroupPanel' visible='1'} +:Save current file.Close without Saving_QPushButton {text='Close without Saving' type='QPushButton' unnamed='1' visible='1' window=':Save current file_QMessageBox'} +:Save current file.Discard_QPushButton {text='Discard' type='QPushButton' unnamed='1' visible='1' window=':Save current file_QMessageBox'} +:Save current file_QMessageBox {type='QMessageBox' unnamed='1' visible='1' windowTitle='Save current file'} +:Sketch.Basic_AppElements_MenuGroupPanel {container=':qt_tabwidget_stackedwidget.Sketch_AppElements_Workbench' name='Basic' type='AppElements_MenuGroupPanel' visible='1'} +:Sketch.property_panel_ok_QToolButton {container=':OpenParts v.1.1.0*.Sketch_XGUI_PropertyPanel' name='property_panel_ok' type='QToolButton' visible='1'} +:Start point.qt_spinbox_lineedit_QLineEdit {container=':Line.Start point_QGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'} +:Start point.qt_spinbox_lineedit_QLineEdit_2 {container=':Line.Start point_QGroupBox' name='qt_spinbox_lineedit' occurrence='2' type='QLineEdit' visible='1'} +:To.qt_spinbox_lineedit_QLineEdit {container=':Extrusion.To_ModuleBase_PageGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'} +:To.to_size_ModuleBase_ParamSpinBox {container=':Extrusion.To_ModuleBase_PageGroupBox' name='to_size' type='ModuleBase_ParamSpinBox' visible='1'} +:_QMenu {type='QMenu' unnamed='1' visible='1'} +:qt_tabwidget_stackedwidget.Features_AppElements_Workbench {container=':General.qt_tabwidget_stackedwidget_QStackedWidget_2' name='Features' type='AppElements_Workbench' visible='1'} +:qt_tabwidget_stackedwidget.Part_AppElements_Workbench {container=':General.qt_tabwidget_stackedwidget_QStackedWidget' name='Part' type='AppElements_Workbench' visible='1'} +:qt_tabwidget_stackedwidget.Part_AppElements_Workbench_2 {container=':General.qt_tabwidget_stackedwidget_QStackedWidget_2' name='Part' type='AppElements_Workbench' visible='1'} +:qt_tabwidget_stackedwidget.Sketch_AppElements_Workbench {container=':General.qt_tabwidget_stackedwidget_QStackedWidget_2' name='Sketch' type='AppElements_Workbench' visible='1'} diff --git a/test.squish/suite_ISSUES/suite.conf b/test.squish/suite_ISSUES/suite.conf new file mode 100644 index 000000000..a56427945 --- /dev/null +++ b/test.squish/suite_ISSUES/suite.conf @@ -0,0 +1,9 @@ +AUT=GeomApp +CWD=/misc/dn48/newgeom/for_gzy/sources +ENVVARS=envvars +HOOK_SUB_PROCESSES=false +IMPLICITAUTSTART=0 +LANGUAGE=Python +TEST_CASES=tst_case1 +VERSION=3 +WRAPPERS=Qt diff --git a/test.squish/suite_ISSUES/tst_case1/test.py b/test.squish/suite_ISSUES/tst_case1/test.py new file mode 100644 index 000000000..43b3d4279 --- /dev/null +++ b/test.squish/suite_ISSUES/tst_case1/test.py @@ -0,0 +1,100 @@ + +def main(): + startApplication("GeomApp") + clickButton(waitForObject(":Operations.New part_AppElements_Button")) + clickTab(waitForObject(":General.qt_tabwidget_tabbar_QTabBar"), "Sketch") + clickButton(waitForObject(":Basic.Sketch_AppElements_Button")) + mouseClick(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 446, 299, 0, Qt.LeftButton) + clickButton(waitForObject(":Basic.Line_AppElements_Button")) + mouseClick(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 378, 243, 0, Qt.LeftButton) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonPress, 377, 365, Qt.LeftButton, 1, 0) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonRelease, 377, 365, Qt.LeftButton, 0, 0) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonPress, 735, 367, Qt.LeftButton, 1, 0) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonRelease, 735, 367, Qt.LeftButton, 0, 0) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonPress, 730, 235, Qt.LeftButton, 1, 0) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonRelease, 730, 235, Qt.LeftButton, 0, 0) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonPress, 378, 243, Qt.LeftButton, 1, 0) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonRelease, 378, 243, Qt.LeftButton, 0, 0) + clickButton(waitForObject(":Basic_QToolButton_2")) + clickTab(waitForObject(":General.qt_tabwidget_tabbar_QTabBar"), "Construction") + clickTab(waitForObject(":General.qt_tabwidget_tabbar_QTabBar"), "Features") + clickButton(waitForObject(":Basic.Extrusion_AppElements_Button")) + mouseClick(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 443, 317, 0, Qt.LeftButton) + mouseDrag(waitForObject(":From.qt_spinbox_lineedit_QLineEdit"), 36, 8, -77, 0, 1, Qt.LeftButton) + clickButton(waitForObject(":Extrusion.property_panel_ok_QToolButton")) + clickTab(waitForObject(":General.qt_tabwidget_tabbar_QTabBar"), "Sketch") + clickButton(waitForObject(":Basic.Sketch_AppElements_Button")) + mouseClick(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 524, 318, 0, Qt.LeftButton) + clickButton(waitForObject(":Basic.Line_AppElements_Button")) + mouseClick(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 379, 219, 0, Qt.LeftButton) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonPress, 380, 357, Qt.LeftButton, 1, 0) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonRelease, 380, 357, Qt.LeftButton, 0, 0) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonPress, 822, 358, Qt.LeftButton, 1, 0) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonRelease, 822, 358, Qt.LeftButton, 0, 0) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonPress, 812, 222, Qt.LeftButton, 1, 0) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonRelease, 812, 222, Qt.LeftButton, 0, 0) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonPress, 379, 219, Qt.LeftButton, 1, 0) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonRelease, 379, 219, Qt.LeftButton, 0, 0) + clickButton(waitForObject(":Basic_QToolButton_2")) + clickTab(waitForObject(":General.qt_tabwidget_tabbar_QTabBar"), "Construction") + clickTab(waitForObject(":General.qt_tabwidget_tabbar_QTabBar"), "Features") + clickButton(waitForObject(":Basic.Extrusion_AppElements_Button")) + mouseClick(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 429, 273, 0, Qt.LeftButton) + type(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), "") + mouseDrag(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 601, 443, 6, -260, 67108866, Qt.RightButton) + mouseDrag(waitForObject(":From.qt_spinbox_lineedit_QLineEdit"), 37, 7, -81, 0, 1, Qt.LeftButton) + type(waitForObject(":From.from_size_ModuleBase_ParamSpinBox"), "") + type(waitForObject(":From.from_size_ModuleBase_ParamSpinBox"), "") + type(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), "") + mouseDrag(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 496, 435, -9, -36, 67108866, Qt.RightButton) + clickButton(waitForObject(":Extrusion.property_panel_ok_QToolButton")) + type(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), "") + mouseDrag(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 381, 228, -18, 64, 67108866, Qt.RightButton) + clickTab(waitForObject(":General.qt_tabwidget_tabbar_QTabBar"), "Sketch") + clickButton(waitForObject(":Basic.Sketch_AppElements_Button")) + mouseClick(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 104, 264, 0, Qt.LeftButton) + clickButton(waitForObject(":Basic.Circle_AppElements_Button")) + mouseClick(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 14, 134, 0, Qt.LeftButton) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonPress, 406, 322, Qt.LeftButton, 1, 0) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonRelease, 406, 322, Qt.LeftButton, 0, 0) + clickButton(waitForObject(":Basic_QToolButton_2")) + clickTab(waitForObject(":General.qt_tabwidget_tabbar_QTabBar"), "Features") + clickButton(waitForObject(":Basic.Extrusion_AppElements_Button")) + mouseClick(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 88, 539, 0, Qt.LeftButton) + type(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), "") + mouseDrag(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 377, 440, -13, -247, 67108866, Qt.RightButton) + mouseDrag(waitForObject(":To.qt_spinbox_lineedit_QLineEdit"), 59, 7, -96, 5, 1, Qt.LeftButton) + type(waitForObject(":To.to_size_ModuleBase_ParamSpinBox"), "") + mouseDrag(waitForObject(":From.qt_spinbox_lineedit_QLineEdit"), 140, 17, -184, -9, 1, Qt.LeftButton) + type(waitForObject(":From.from_size_ModuleBase_ParamSpinBox"), "") + openContextMenu(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 272, 543, 0) + mouseDrag(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 362, 470, 68, -29, 67108866, Qt.RightButton) + clickButton(waitForObject(":Extrusion.property_panel_ok_QToolButton")) + + clickButton(waitForObject(":Basic.Boolean_AppElements_Button")) + mouseClick(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 559, 339, 0, Qt.LeftButton) + type(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), "") + mouseClick(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 922, 350, 33554432, Qt.LeftButton) + mouseClick(waitForObject(":Boolean.Selected objects:_QListWidget"), 122, 110, 0, Qt.LeftButton) + type(waitForObject(":Boolean.Selected objects:_QListWidget"), "") + mouseClick(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 158, 374, 33554432, Qt.LeftButton) + clickButton(waitForObject(":Boolean.property_panel_ok_QToolButton")) + + clickTab(waitForObject(":General.qt_tabwidget_tabbar_QTabBar"), "Sketch") + clickButton(waitForObject(":Basic.Sketch_AppElements_Button")) + mouseClick(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 597, 321, 0, Qt.LeftButton) + + clickButton(waitForObject(":Basic.Circle_AppElements_Button")) + mouseClick(waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), 127, 232, 0, Qt.LeftButton) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonPress, 188, 274, Qt.LeftButton, 1, 0) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonRelease, 188, 274, Qt.LeftButton, 0, 0) + clickButton(waitForObject(":Basic_QToolButton_2")) + + clickTab(waitForObject(":General.qt_tabwidget_tabbar_QTabBar"), "Features") + clickButton(waitForObject(":Basic.Extrusion_AppElements_Button")) + + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonPress, 188, 274, Qt.LeftButton, 1, 0) + sendEvent("QMouseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_ViewPort"), QEvent.MouseButtonRelease, 188, 274, Qt.LeftButton, 0, 0) + + sendEvent("QCloseEvent", waitForObject(":OpenParts v.1.1.0*_AppElements_MainWindow")) + clickButton(waitForObject(":Save current file.Close without Saving_QPushButton")) -- 2.39.2