Wait for element - WebDriver - PageObject pattern

后端 未结 2 1391
不知归路
不知归路 2020-12-08 17:17

As long as I use PageObject pattern I wondered where should I wait for element on dynamic pages. Assuming we have test method and pageObject class. Should I do something lik

2条回答
  •  南笙
    南笙 (楼主)
    2020-12-08 17:55

    Another efficient concept of test page(Since selenium 1) from one of the selenium testing-frameworks - ISFW can be utilized over here. It has lazy loaded element, custom component feature and auto wait (not implicit wait that reduce performance), inbuilt wait methods with element and other features that are very useful for ajax bases application.

    It provide following building blocks for developing test case:

    1. Test Page
    2. Component
    3. Test step

    In addition Reporting is also descriptive.

提交回复
热议问题