Top 30 Selenium Interview Questions and Answers for SDET

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024

Комментарии • 25

  • @gangadharrajanala1564
    @gangadharrajanala1564 2 года назад +2

    Thanks for the most Informational video. You have covered each area and we can explore more knowledge on them.
    GREAT JOB💯💯👍👍👏👏

  • @guptajanmejai
    @guptajanmejai 3 года назад +2

    Thanks for sharing this video , very helpful for the interview keep doing the good work and add more important interview questions as per the market.

  • @gaya353
    @gaya353 3 года назад +2

    Very helpful Subhasish... Thanks

  • @vinoddhale2428
    @vinoddhale2428 2 года назад +1

    Thanks sir for sharing this video.... it's really helpful

  • @bhabanisankarparida6459
    @bhabanisankarparida6459 Год назад +5

    Everything is good but the colour you used that is painful for eyes. So need to use white background that will better for everyone.

  • @ssvjewellery2283
    @ssvjewellery2283 Год назад +1

    Very useful thankew

  • @Labordorrocks
    @Labordorrocks 6 месяцев назад +1

    Thanks much

  • @sonaliganguly2543
    @sonaliganguly2543 3 года назад +1

    Thank you Subhasish for this very useful video ,but the piece of code for handling multiple windows in selenium(Qs. 11) is not very clear. Can you please paste the code in comment section .It will really be helpful for me.

    • @SoftwareTestingAndAutomation
      @SoftwareTestingAndAutomation  3 года назад +2

      Please find below piece of code.
      public class MultipleWindowsClass {
      @Test
      public void testMultipleWindows() throws InterruptedException{
      System.setProperty("webdriver.gecko.driver", System.getProperty("user.dir")+"\\src\\test\\java\\drivers\\geckodriver.exe");
      // To open browser
      WebDriver driver=new FirefoxDriver();
      // To maximize browser
      driver.manage().window().maximize();
      // To open Naukri website with multiple windows
      driver.get("www.naukri.com/");
      // It will return the parent window name as a String
      String mainWindow=driver.getWindowHandle();
      // It returns no. of windows opened by WebDriver and will return Set of Strings
      Set set =driver.getWindowHandles();
      // Using Iterator to iterate with in windows
      Iterator itr= set.iterator();
      while(itr.hasNext()){
      String childWindow=itr.next();
      // Compare whether the main windows is not equal to child window. If not equal, we will close.
      if(!mainWindow.equals(childWindow)){
      driver.switchTo().window(childWindow);
      System.out.println(driver.switchTo().window(childWindow).getTitle());
      driver.close();
      }
      }
      // This is to switch to the main window
      driver.switchTo().window(mainWindow);
      }
      }

    • @sonaliganguly2543
      @sonaliganguly2543 3 года назад

      @@SoftwareTestingAndAutomation Thank you so much

  • @TheIT-cv6uy
    @TheIT-cv6uy Месяц назад

    Please change the background color and text color not at visible

  • @ankitkumarbehera4163
    @ankitkumarbehera4163 3 года назад

    In every video us screen colour in changing . that's getting problem.

  • @meryembor5099
    @meryembor5099 Год назад +1

    Thank you