Init method of user class execute few times.
For example
my page object class:
class ViewFrontageAboutPage(PageObject):
def __init__(self):
robot.api.logger.console("ViewFrontageAboutPage __init__")
robot file
`*** Settings ***
Library Selenium2Library
Library PageObjectLibrary
*** Test Cases ***
Qwe
Go to page Pages.FrontageAboutPage.ViewFrontageAboutPage
Result:
Qwe
ViewFrontageAboutPage init
ViewFrontageAboutPage init
Init method of user class execute few times.
For example
my page object class:
robot file
`*** Settings ***
Library Selenium2Library
Library PageObjectLibrary
*** Test Cases ***
Qwe
Go to page Pages.FrontageAboutPage.ViewFrontageAboutPage
Result:
Qwe
ViewFrontageAboutPage init
ViewFrontageAboutPage init