'@case: HRM002
@description: Create Volunteer from registery
@TestDoc: https://docs.google.com/spreadsheet/ccc?key=0AmB3hMcgB-3idG1XNGhhRG9QWF81dUlKLXpJaFlCMFE
@Test Wiki: http://eden.sahanafoundation.org/wiki/DeveloperGuidelines/Testing'

def test_mem001_create_volunteer_registry(self):

    print '\n'
    self.login(account='admin', nexturl='vol/volunteer/create')
    try:
        elem = self.browser.find_element_by_xpath("//div[@class='confirmation']")
        elem.click()
        time.sleep(2)
    except:
        pass
    self.browser.find_element_by_id('select_from_registry').click()
    self.create('hrm_human_resource', [('person_id', 'Duarte    Botelheiro'), ('organisation_id', 'Timor-Leste    Red    Cross    Society'), ('job_title_id', 'Coordinator')])
