5 #[Topic] 'Vertical' functionality
6 #[Tested functionality]
11 source(findFile("scripts", "common.py"))
13 #[section] Application start
15 startApplication("salome_run.sh")
19 #[step] Open 'for_sketch_006.hdf'
20 open(DATA_PATH + "/for_sketch_010.hdf")
22 #[step] Activate NewGeom
23 clickButton(waitForObject(":SALOME 7.6.0.NewGeom_QToolButton"))
25 #[step] Edit 'Sketch_1'
26 waitForObjectItem(":Object browser_XGUI_DataTree_2", "Sketch\\_1")
27 clickItem(":Object browser_XGUI_DataTree_2", "Sketch\\_1", 43, 12, 0, Qt.LeftButton)
28 openItemContextMenu(waitForObject(":Object browser_XGUI_DataTree_2"), "Sketch\\_1", 43, 12, 0)
29 activateItem(waitForObjectItem(":_QMenu", "Edit..."))
31 #[step] Click '+OZ' button
32 clickButton(waitForObject(":SALOME*.+OZ_QToolButton"))
34 #[step] Make one of lines vertical
40 #[check] Check that one of lines became vertical
43 #[step] Uncheck 'Show constraint' check-box
44 clickButton(waitForObject(":Sketch.Show constraints_QCheckBox_2"))
46 #[check] Check that icon disappears
49 #[step] Close application without saving