Need to retrieve all elements information present in the UI screen. For more clarification i have at

Please let me know how to get all the elements details including text field box and text present in the screen.