Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current Restore this Version View Page History

« Previous Version 3 Current »

https://github.com/jdi-testing/jdn-ai/issues/94

https://github.com/jdi-testing/jdn-ai/issues/585

Selenium: https://www.browserstack.com/selenium

Problem: Selenium doesn’t support типизированные elements

  1. What other framework types can be used?

    1. Selenide: https://selenide.org/ ex: private SelenideElement searchField = $(byName("q"))

  2. What parts should be changed:

    1. locators: https://www.browserstack.com/guide/locators-in-selenium CSS selectors/xPath

    2. annotation:
      @findBy
      type (public/private) WebElement name
      example:
      @FindBy(css="#Bla-Bla-bla")

      public WebElement buttonLogin
      var - lower case
      name of var - upper case
      camel style

    3. project archive should be changed (templates, imports)

      • skip imports block

      • update backend to add new template

      • add page init

    4. For one page object only 1 framework can be used