From: eso Date: Thu, 27 Aug 2015 14:21:32 +0000 (+0300) Subject: Addition of test sketch_014 X-Git-Tag: V_1.4.0_beta4~222 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7f307fe4ee95cc49f60da4057a537294c0632178;p=modules%2Fshaper.git Addition of test sketch_014 --- diff --git a/test.squish/shared/testdata/for_sketch_014.hdf b/test.squish/shared/testdata/for_sketch_014.hdf new file mode 100644 index 000000000..353f715a9 Binary files /dev/null and b/test.squish/shared/testdata/for_sketch_014.hdf differ diff --git a/test.squish/suite_ISSUES_SALOME/objects.map b/test.squish/suite_ISSUES_SALOME/objects.map index 45d0242fb..d3a1ab0d9 100644 --- a/test.squish/suite_ISSUES_SALOME/objects.map +++ b/test.squish/suite_ISSUES_SALOME/objects.map @@ -89,6 +89,11 @@ :Line.Start point_QGroupBox {container=':SALOME*.Line_XGUI_PropertyPanel' title='Start point' type='QGroupBox' unnamed='1' visible='1'} :Line.property_panel_cancel_QToolButton {container=':SALOME*.Line_XGUI_PropertyPanel' name='property_panel_cancel' type='QToolButton' visible='1'} :Line.property_panel_ok_QToolButton {container=':SALOME*.Line_XGUI_PropertyPanel' name='property_panel_ok' type='QToolButton' visible='1'} +:Mirror.Mirror line_QLabel {container=':SALOME*.Mirror_XGUI_PropertyPanel' text='Mirror line' type='QLabel' unnamed='1' visible='1'} +:Mirror.Mirror line_QLineEdit {container=':SALOME*.Mirror_XGUI_PropertyPanel' leftWidget=':Mirror.Mirror line_QLabel' type='QLineEdit' unnamed='1' visible='1'} +:Mirror.Segments:_QLabel {container=':SALOME*.Mirror_XGUI_PropertyPanel' text='Segments:' type='QLabel' unnamed='1' visible='1'} +:Mirror.Segments:_QListWidget {aboveWidget=':Mirror.Segments:_QLabel' container=':SALOME*.Mirror_XGUI_PropertyPanel' type='QListWidget' unnamed='1' visible='1'} +:Mirror.property_panel_ok_QToolButton {container=':SALOME*.Mirror_XGUI_PropertyPanel' name='property_panel_ok' type='QToolButton' visible='1'} :OK_QPushButton {container=':Object browser_XGUI_DataTree' text='OK' type='QPushButton' unnamed='1' visible='1'} :Object browser_XGUI_DataTree {container=':SALOME*.Object browser_QDockWidget' type='XGUI_DataTree' unnamed='1' visible='1'} :Open File.File name:_QLabel {name='fileNameLabel' text='File name:' type='QLabel' visible='1' window=':Open File_SUIT_FileDlg'} @@ -193,6 +198,7 @@ :SALOME*.Length_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Length'} :SALOME*.Line_QToolButton {text='Line' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'} :SALOME*.Line_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Line'} +:SALOME*.Mirror_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Mirror'} :SALOME*.New part_QToolButton {text='New part' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'} :SALOME*.NewGeom_QToolButton {text='NewGeom' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'} :SALOME*.Object browser_QDockWidget {type='QDockWidget' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Object browser'} diff --git a/test.squish/suite_ISSUES_SALOME/tst_sketch_014/test.py b/test.squish/suite_ISSUES_SALOME/tst_sketch_014/test.py new file mode 100644 index 000000000..b227005c4 --- /dev/null +++ b/test.squish/suite_ISSUES_SALOME/tst_sketch_014/test.py @@ -0,0 +1,56 @@ + +def main(): + #[project] NewGEOM + #[Scenario] Sketch_014 + #[Topic] 'Mirror' functionality + #[Tested functionality] + #[Summary description] + #[Expected results] + #[General comments] + + source(findFile("scripts", "common.py")) + + #[section] Application start + #[step] Launch SALOME + startApplication("salome_run.sh") + + set_defaults() + + #[step] Open 'for_sketch_014.hdf' + open(DATA_PATH + "/for_sketch_014.hdf") + + #[step] Activate NewGeom + clickButton(waitForObject(":SALOME*.NewGeom_QToolButton")) + + #[step] Edit 'Sketch_1' + waitForObjectItem(":Object browser_XGUI_DataTree", "Sketch\\_1") + clickItem(":Object browser_XGUI_DataTree", "Sketch\\_1", 43, 12, 0, Qt.LeftButton) + openItemContextMenu(waitForObject(":Object browser_XGUI_DataTree"), "Sketch\\_1", 43, 12, 0) + activateItem(waitForObjectItem(":_QMenu", "Edit...")) + + #[step] Click '+OZ' button + clickButton(waitForObject(":SALOME*.+OZ_QToolButton")) + + #[step] Sketch - Mirror + mouseClick(waitForObjectItem(":SALOME*_QMenuBar", "Sketch")) + mouseClick(waitForObjectItem(":Sketch_QMenu", "Mirror")) + + #[step] Select long line as mirror line + mouseClick(waitForObject(":Mirror.Mirror line_QLineEdit"), 122, 5, 0, Qt.LeftButton) + mouseClick(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 256, 193, 0, Qt.LeftButton) + + #[step] Select other objects as objects for mirror + mouseClick(waitForObject(":Mirror.Segments:_QListWidget"), 147, 69, 0, Qt.LeftButton) + mouseDrag(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 45, 277, 689, 219, 1, Qt.LeftButton) + + #[step] Ok + clickButton(waitForObject(":Mirror.property_panel_ok_QToolButton")) + + #[step] Click Fit all button + fit_all() + + #[check] Check that mirroring has been executed successfully + test.vp("VP1") + + # [step] Close application without saving + close_application() diff --git a/test.squish/suite_ISSUES_SALOME/tst_sketch_014/verificationPoints/VP1 b/test.squish/suite_ISSUES_SALOME/tst_sketch_014/verificationPoints/VP1 new file mode 100644 index 000000000..dfcaedff2 --- /dev/null +++ b/test.squish/suite_ISSUES_SALOME/tst_sketch_014/verificationPoints/VP1 @@ -0,0 +1 @@ +iVBORw0KGgoAAAANSUhEUgAAAvIAAAH7CAMAAACZoosrAAAAA3NCSVQICAjb4U/gAAACSVBMVEUAAAAAXQAAnwAA/wABrQEBsgECCQ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