Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init method of user class execute few times #21

Open
varyag1987 opened this issue Oct 8, 2019 · 0 comments
Open

Init method of user class execute few times #21

varyag1987 opened this issue Oct 8, 2019 · 0 comments

Comments

@varyag1987
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant