Ignore:
Timestamp:
7 Mar 2024, 12:57:10 (8 months ago)
Author:
Henrik Bettermann
Message:

Simplify application

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.udss/trunk/src/kofacustom/udss/interswitch/tests.py

    r17689 r17711  
    210210        self.browser.open(self.manage_path)
    211211        #IWorkflowState(self.student).setState('started')
    212         super(InterswitchTestsApplicants, self).fill_correct_values()
     212        self.browser.getControl(name="form.firstname").value = 'John'
     213        self.browser.getControl(name="form.middlename").value = 'Anthony'
     214        self.browser.getControl(name="form.lastname").value = 'Tester'
     215        #self.browser.getControl(name="form.course1").value = ['CERT1']
     216        self.browser.getControl(name="form.date_of_birth").value = '09/09/1988'
     217        self.browser.getControl(name="form.sex").value = ['m']
     218        self.browser.getControl(name="form.email").value = 'xx@yy.zz'
    213219        self.applicantscontainer.application_fee = 1000.0
    214         self.browser.getControl(name="form.nationality").value = ['NG']
     220        #self.browser.getControl(name="form.nationality").value = ['NG']
    215221        self.browser.getControl(name="transition").value = ['start']
    216222        self.browser.getControl("Save").click()
Note: See TracChangeset for help on using the changeset viewer.