def GetElemNames(self, wintext,formname):
        """ This function gets the element names from the form
            parameters:
                wintext - title of the window
                winnum - url to go to
                formname - Name or number of form
        """
        for i in range(self._sw.Count): ## Count windows
            if i is None:
                print 'No Open Windows Found'
                break
            time.sleep(.2) ## may have to play with this value
            print i
            wn = self._sw[i].LocationName ## Get the window Title
            print wn
            ## checks to see if location matches the name
            if wn == wintext:
                form = self._sw[i].Document.forms[formname]
                count = 0
                while count < form.elements.length:
                    elements = form.elements[count]
                    count +=1
                    name = elements.name
                    print 'Following elements found: ',name
 This function gets the element names from the form
            parameters:
                wintext - title of the window
                winnum - url to go to
                formname - Name or number of form
        
recipes/Python/302324_Browser_Automatitool__py_class/recipe-302324.py