robotframework-pageobjectlibrary icon indicating copy to clipboard operation
robotframework-pageobjectlibrary copied to clipboard

Init method of user class execute few times

Open varyag1987 opened this issue 6 years ago • 0 comments

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

varyag1987 avatar Oct 08 '19 06:10 varyag1987