Use both label() and value() methods to get UIElement text not depending upon UIElement type