1. A method for obtaining a string representation of a graphical user interface object, comprising: associating a first graphical user interface (GUI) object, from a set of GUI objects arranged in a hierarchical structure, with a respective first rendering process used to render the first GUI object on a display; requesting a first component object from the first rendering process; and calling a method in the first component object to obtain the string representation.