Top 30 Selenium Interview Questions and Answers for SDET

Поділитися
Вставка
  • Опубліковано 10 січ 2025

КОМЕНТАРІ • 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 4 роки тому +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

  • @ssvjewellery2283
    @ssvjewellery2283 Рік тому +1

    Very useful thankew

  • @meryembor5099
    @meryembor5099 Рік тому +1

    Thank you

  • @sonaliganguly2543
    @sonaliganguly2543 4 роки тому +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  4 роки тому +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 4 роки тому

      @@SoftwareTestingAndAutomation Thank you so much

  • @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.

  • @ankitkumarbehera4163
    @ankitkumarbehera4163 3 роки тому

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

  • @TheIT-cv6uy
    @TheIT-cv6uy 4 місяці тому

    Please change the background color and text color not at visible

  • @Labordorrocks
    @Labordorrocks 9 місяців тому +1

    Thanks much