When I try call feeSchedulePage.create()
I'm getting the error AttributeError: 'FeeSchedulePage' object has no attribute 'create'
fee_schedule_page.py
class FeeSchedulePage(Page):
def enter_name(self, name):
self.find_element(*FeeScheduleLocators.NAME).send_keys(name)
def create(self):
self.enter_name("a")
test_create_fee_schedule.py
class TestCreateFeeSchedule:
def test_03_CreateFeeSchedule(self):
feeSchedulePage = FeeSchedulePage(self.driver)
feeSchedulePage.create()
Any ideia for this?