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

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025

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

  • @prdp4747
    @prdp4747 ปีที่แล้ว +12

    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 10 หลายเดือนก่อน

      is that the only point?

    • @prdp4747
      @prdp4747 10 หลายเดือนก่อน

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

  • @laxmipriya423
    @laxmipriya423 9 หลายเดือนก่อน +3

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

  • @sowjireddy3478
    @sowjireddy3478 11 หลายเดือนก่อน +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

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

    Very informative video sir❤

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

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

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

    thank you

  • @SurekhaB-ot9gg
    @SurekhaB-ot9gg ปีที่แล้ว

    Voice is too low

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

    💫

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

    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 10 หลายเดือนก่อน

      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.