I could not find any solution for handling this. Below approach could be helpful for anyone facing the same problem.
Have a hidden field in the form, whenever user activates ContextMenu, the selected menu item is available at the bean side.
The hidden value is extraced from requestMap as below :
Map<String, String> reqMap = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap(); String newTestStepName = reqMap.get("testStepSelectionForm:stepNewName");