Salome HOME
Move findMenuItem() in tools
[modules/shaper.git] / test.squish / suite_OBJECT_BROWSER / tst_ACTIVE_DOC_MANAGEMENT / test.py
index f8cf838f8d336f579fc425d172ffd3d24bec7d4b..2382e05d723a0029e2191ae98c3b20cb13b70add 100644 (file)
@@ -52,12 +52,6 @@ def checkPartDeactivatedState(scenario):
     for element in allPartSetElements:
         test.compare(ENABLE_COLOR, waitForObjectItem(":Object browser_XGUI_DataTree", element).foregroundColor, "%s is enabled after: %s" % (element, scenario))
 
-def findMenuItem(menuObject, item):
-    for child in object.children(menuObject):
-        if child.text == item:
-            return child    
-    return None
-
 def main():
     source(findFile("scripts", "common.py"))