3 #[Scenario] Construction_001
4 #[Topic] 'Construction of point, axis and plane' functionality
5 #[Tested functionality]
10 source(findFile("scripts", "common.py"))
12 #[section] Application start
14 startApplication("salome_run.sh")
18 #[step] Open 'for_construction_001.hdf'
19 open(DATA_PATH + "/for_construction_001.hdf")
21 #[step] Activate NewGeom
22 clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
24 # [step] Activate Part_1
25 waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
26 clickItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)", 71, 10, 0, Qt.LeftButton)
27 openItemContextMenu(waitForObject(":Object browser_XGUI_DataTree"), "Part\\_1 (Not loaded)", 70, 9, 0)
28 activateItem(waitForObjectItem(":_QMenu", "Activate"))
30 #[step] Create plane basing on upper face of the box
31 plane((283, 127), 100)
36 #[check] Check that plane has been created
42 axis((168, 138), (583, 137))
46 # [step] Close application without saving