Infosys Automation Testing Interview Questions | Infosys Testing Interview Q&A

Поділитися
Вставка
  • Опубліковано 17 гру 2024

КОМЕНТАРІ • 15

  • @prdp4747
    @prdp4747 Рік тому +11

    WebDriver driver=new ChromeDriver(); and ChromeDriver driver=new ChromeDriver(); answer: Both are correct syntax wise, where first one has objectreference created for WebDriver interface and is assinged with object of ChromeDriver class which is also known as upcasting. this way will be most prefered as this is not tightly coupled that will allow us to assign it for something else like FirefoxDriver() if there is a need so it provides more flexibility. whereas 2nd option, we creating object reference for ChromeDriver class so we can only use it to interact with Chrome browser only.

    • @shrach8
      @shrach8 9 місяців тому

      is that the only point?

    • @prdp4747
      @prdp4747 9 місяців тому

      Reusability. Cross browser compatibility is one of the most important aspect of testing.

  • @laxmipriya423
    @laxmipriya423 9 місяців тому +2

    The way she answer the question was simply great....no stress ...I was looking like a general talk...this is pro level

  • @sowjireddy3478
    @sowjireddy3478 10 місяців тому +4

    If we use the second one than the driver has properties of both webdriver and chrome driver which will effect our script when we use that for cross browser testing so preferably we can use the first one which contains only webdriver properties that are commonly implemented for all the browser drivers

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

    How to get hire as a fresher , there are no openings as a fresher, i learned Automation testing

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

    Good information sir

  • @nileshdabhade4276
    @nileshdabhade4276 Рік тому

    Pls send job update sir ji for experience candidate for automation testing

  • @surajjoshi78
    @surajjoshi78 Рік тому

    Very informative video sir❤

  • @sachindeshmukh1457
    @sachindeshmukh1457 11 місяців тому

    thank you

  • @SurekhaB-ot9gg
    @SurekhaB-ot9gg Рік тому

    Voice is too low

  • @aigulidrisova1126
    @aigulidrisova1126 Рік тому

    💫

  • @himanshudalal3193
    @himanshudalal3193 11 місяців тому +2

    WebDriver driver = new ChromeDriver(); we can run the script in any browser like firefox, Microsoft edge
    But,
    ChromeDriver driver = new ChromeDriver(); we can run the script only on Chrome browser

    • @shrach8
      @shrach8 9 місяців тому

      is that the only point?

  • @sateeshkumar795
    @sateeshkumar795 Рік тому

    Hi sir, I need your guidance about my career please let me know how can I contact with you.