Skip to content

Init method of user class execute few times #21

Description

@varyag1987

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions