2 source(findFile("scripts", "common.py"))
4 startApplication("salome_run.sh")
8 clickButton(waitForObject(":SALOME*.Parameter_QToolButton"))
9 type(waitForObject(":Parameter_QLineEdit"), "aa")
10 type(waitForObject(":Parameter_ExpressionEditor"), "4")
11 clickButton(waitForObject(":Parameter.property_panel_ok_QToolButton"))
13 clickButton(waitForObject(":SALOME*.New part_QToolButton"))
15 clickButton(waitForObject(":SALOME*.Parameter_QToolButton"))
16 type(waitForObject(":Parameter_QLineEdit"), "bb")
17 type(waitForObject(":Parameter_ExpressionEditor"), "aa+1")
18 clickButton(waitForObject(":Parameter.property_panel_ok_QToolButton"))
20 openItemContextMenu(waitForObject(":Object browser_XGUI_DataTree"), "Parameters (1).aa = 4", 10, 10, 0)
21 activateItem(waitForObjectItem(":_QMenu", "Delete"))
22 waitFor("object.exists(':Delete features._QLabel')", 20000)
23 test.compare(str(findObject(":Delete features._QLabel").text), "Selected features are used in the following features: bb.These features will be deleted.\nWould you like to continue?")
24 clickButton(waitForObject(":Delete features.No_QPushButton"))