Why I switched to using Selenide for UI tests

แชร์
ฝัง

ความคิดเห็น • 23

  • @terkin1
    @terkin1 3 ปีที่แล้ว +6

    Hi, Sebastian! In Russian-language IT, selenide is the standard. Most banks and major retailers use it

    • @demabro
      @demabro 3 ปีที่แล้ว +1

      QA.GURU Respect!

  • @amoohesam
    @amoohesam 3 ปีที่แล้ว

    Nice stuff. Thanks for sharing

  • @SelectorsHub
    @SelectorsHub 3 ปีที่แล้ว +2

    Helpful tutorial.

  • @marcianoacuerda
    @marcianoacuerda 3 ปีที่แล้ว

    I’m just getting into ui testing, so I’m full of questions hehe. Have you checked into Cypress. Or does it not comply with your requirements??

  • @daggerok
    @daggerok 3 ปีที่แล้ว +3

    Using selenide more than 4 years

  • @aparnausa3619
    @aparnausa3619 ปีที่แล้ว

    Hi, i have selenide with gradle framework inside my cucumber maven project and the selenide test am not able to run locally as my pom has selenium version as 3.14 , could you help me as am getting noclassdeffound exception

    • @SebastianDaschnerIT
      @SebastianDaschnerIT  ปีที่แล้ว +1

      You can try to run my example project under: blog.sebastian-daschner.com/entries/switching-to-selenide
      It's based on Maven

    • @aparnausa3619
      @aparnausa3619 ปีที่แล้ว

      @@SebastianDaschnerIT getWebDriver is not coming for me @BeforeAll
      @SneakyThrows
      public static void logIn() {
      // WebDriverRunner. setWebDriver (getRemoteWebDriver );
      RedLoginDetails ENV = RdLoginDetails.QA2;
      OracleConnectionDetails ora = OracleConnectionDetails.QA2;@BeforeAll
      @SneakyThrows
      public static void logIn() {
      // WebDriverRunner. setWebDriver (getRemoteWebDriver ()) ;
      RedLoginDetails ENV = RodLoginDetails.QA2;
      OracleConnectionDetails ora = OracleConnectionDetails.QA2;
      getWe() .manage () . addCookie () ;
      m getRemoteWebDriver ( )
      WebDriver
      Selenide. getWebDriverLogs (String LogType)
      List
      Selenide.getWebDriverLogs (String logType,
      List
      гО
      Press Enter to insert, Tab to replace Next Tip
      Fetai
      oracle = JdbcConnector.connect (ora.jdbc, ora.username, ora pass!

    • @aparnausa3619
      @aparnausa3619 ปีที่แล้ว

      I have a maven project which has 3.14 as selenium version and inside this maven i have a selenide and gradle module . When i try to run selenide test , am not able to as login fails and says selenium version should be above 4 , hence i upgraded my selenium to 4.5 but now am not able to get driver instance neither in my cucumber project nor in my selenide project

    • @aparnausa3619
      @aparnausa3619 ปีที่แล้ว

      @@SebastianDaschnerIT java. Lang. NoSuchMethodError: 'void org.openqa.selenium. chrome.ChroneDriver. (org.openqa. seleniun.chrone. ChroneDri
      org.openga.selenium.Capabilities)*

    • @aparnausa3619
      @aparnausa3619 ปีที่แล้ว

      Pricing Tests.feature X
      BrowserSetup.java X
      C FreightRulesSetupjava X
      M pom.xml (red-e2e-tests) X
      @BeforeAll
      @SneakyThrows
      public static void logIn() {
      // WebDriverRunner .setWebDriver(getRemoteWebDriver());
      RcdLoginDetails ENV = RcdLoginDetails.QA2;
      OracleConnectionDetails ora = OracleConnectionDetails.QA2;
      bpen (ENV.uri) ;
      $ ( cssSelector. " [name= ' ssousername ' ]"). val (ENV. login);
      $( cssSelector. " [name= 'password' ]") . val (ENV. password) .pressEnter ();
      cassandra = CassandraConnector. connect (CassandraConnectionDetails.get ());
      oracle = JdbcConnector .connect (ora.jdbc, ora.username, ora.password);

  • @Alex-ze7xo
    @Alex-ze7xo 2 ปีที่แล้ว

    How to access already opened browser in selenide?

    • @SebastianDaschnerIT
      @SebastianDaschnerIT  ปีที่แล้ว

      Once you've opened a browser session with Selenide you can use the $() and $$() methods to select elements in the current browsing window (tab).

    • @Alex-ze7xo
      @Alex-ze7xo ปีที่แล้ว

      @@SebastianDaschnerIT ok? but how to bind selenide to opened browsing window with no need to open browser each time?

  • @bagzhansadvakassov1093
    @bagzhansadvakassov1093 3 ปีที่แล้ว +1

    Selenide is God's mercy upon us. Most of the cases it works flawlessly.

    • @aparnausa3619
      @aparnausa3619 ปีที่แล้ว

      Could you pls help me with NoClassDefFound errror ?

    • @aparnausa3619
      @aparnausa3619 ปีที่แล้ว

      Its inside my maven project and my selenium cersion inside my maven is not above 4 and when am uograding it to above 4 , i see errors

    • @bagzhansadvakassov1093
      @bagzhansadvakassov1093 ปีที่แล้ว

      @@aparnausa3619 share code

    • @aparnausa3619
      @aparnausa3619 ปีที่แล้ว

      @@bagzhansadvakassov1093 i have fixed it , thank you