: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'}
: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'}
--- /dev/null
+
+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()