def getallitem(self, window_name, object_name):
object_handle = self._get_object_handle(window_name, object_name)<EOL>if not object_handle.AXEnabled:<EOL><INDENT>raise LdtpServerException(u"<STR_LIT>" % object_name)<EOL><DEDENT>object_handle.Press()<EOL>self.wait(<NUM_LIT:1>)<EOL>child = None<EOL>try:<EOL><INDENT>if not object_handle.AXChildren:<EOL><INDENT>raise LdtpServerException(u"<STR_LIT>")<EOL><DEDENT>children = object_handle.AXChildren[<NUM_LIT:0>]<EOL>if not children:<EOL><INDENT>raise LdtpServerException(u"<STR_LIT>")<EOL><DEDENT>children = children.AXChildren<EOL>items = []<EOL>for child in children:<EOL><INDENT>label = self._get_title(child)<EOL>if label:<EOL><INDENT>items.append(label)<EOL><DEDENT><DEDENT><DEDENT>finally:<EOL><INDENT>if child:<EOL><INDENT>child.Cancel()<EOL><DEDENT><DEDENT>return items<EOL>
Get all combo box item

@param window_name: Window name to type in, either full name,
LDTP's name convention, or a Unix glob.
@type window_name: string
@param object_name: Object name to type in, either full name,
LDTP's name convention, or a Unix glob. 
@type object_name: string

@return: list of string on success.
@rtype: list