Top 30 Selenium Interview Questions and Answers for SDET

Sdílet
Vložit
  • čas přidán 21. 08. 2024

Komentáře • 24

  • @gangadharrajanala1564
    @gangadharrajanala1564 Před 2 lety +2

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

  • @guptajanmejai
    @guptajanmejai Před 3 lety +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 Před 3 lety +2

    Very helpful Subhasish... Thanks

  • @vinoddhale2428
    @vinoddhale2428 Před 2 lety +1

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

  • @bhabanisankarparida6459
    @bhabanisankarparida6459 Před rokem +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.

  • @Labordorrocks
    @Labordorrocks Před 4 měsíci +1

    Thanks much

  • @meryembor5099
    @meryembor5099 Před rokem +1

    Thank you

  • @ssvjewellery2283
    @ssvjewellery2283 Před rokem +1

    Very useful thankew

  • @sonaliganguly2543
    @sonaliganguly2543 Před 3 lety +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  Před 3 lety +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 Před 3 lety

      @@SoftwareTestingAndAutomation Thank you so much

  • @ankitkumarbehera4163
    @ankitkumarbehera4163 Před 3 lety

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