How To Perform Keyboard Events in Selenium Webdriver

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

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

  • @sohelahmadkhan1775
    @sohelahmadkhan1775 4 года назад +4

    Short and sweet...full with knowledge. Thanks.

  • @chicku975
    @chicku975 4 года назад

    Awesome! This cleared all my doubts regarding Keyboard events!

  • @mayayadhu
    @mayayadhu 2 года назад

    Sir ypur videos are good and giving correct explanations

  • @RajKumar-ij5rr
    @RajKumar-ij5rr 4 года назад +1

    Hey Mukesh.... Can we copy and paste the text using Actions class.. If it is possible how can we print that text in console

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

    How can we perform CTRL + A

  • @yt-shorts-vlogs
    @yt-shorts-vlogs 4 года назад +1

    very nice i like way of explanation of every point

  • @vaishnavis6653
    @vaishnavis6653 4 года назад +1

    Thank you Mukesh.. nice explanation 👍🏽

  • @utkarshjaiswal875
    @utkarshjaiswal875 2 года назад

    Sir i am getting
    Exception in thread "main" java.lang.Error: Unresolved compilation problems:
    TAB cannot be resolved or is not a field
    TAB cannot be resolved or is not a field
    SPACE cannot be resolved or is not a field
    ENTER cannot be resolved or is not a field

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

    Hi Mukesh sometimes we use .build.perform and sometimes we use only .perform .... Can you please explain the difference between the two..

    • @Mukeshotwani
      @Mukeshotwani  3 года назад +3

      Hi Mohit, when you have single operation then .perform() and if more than one then .build().perform()

  • @RamaKrishna-on7tr
    @RamaKrishna-on7tr 4 года назад +1

    Very good teaching

  • @nekkantivenkateswararao1386
    @nekkantivenkateswararao1386 4 года назад +1

    Here u have used only .perfom(), but actually what is the difference between .build(). perform () and only . perform () and plze say there actions also

  • @swamyas5668
    @swamyas5668 4 года назад +1

    Nice and refreshing

  • @nekkantivenkateswararao1386
    @nekkantivenkateswararao1386 4 года назад +1

    Sir u have written only if ,but no else,then how it is executed,as per structure,it is not possible na sir

    • @Mukeshotwani
      @Mukeshotwani  4 года назад

      If is possible you can also have only if statements which I showed in the demo.
      In our example, in case if condition does not meet the requirement then it won't execute if block.

  • @jatinmalhotra5695
    @jatinmalhotra5695 4 года назад

    HI sir,
    How we can press two keys using this method. I want to press ALT + PageDown but I'm getting error "Keys up/down only make sense for modifier keys". How I can resolve this. Thanks.

  • @tammireddyprameela9690
    @tammireddyprameela9690 4 года назад +2

    Hi Sir
    I am trying to automate fb signup page first name ,last name, Phone number is entering but coming to dob it is taking some random value can you help me on this

    • @Mukeshotwani
      @Mukeshotwani  4 года назад +2

      Hi Tammireddy, I would suggest try to use click() method for click. sendKeys method for type and use Select class to handle dropdown. Use keyboard events only when these methods are not working.
      For Dropdown I have created blog post and video which talk about Select dropdown and Bootstrap Dropdown learn-automation.com/handle-dropdown-in-selenium-webdriver/

    • @tammireddyprameela9690
      @tammireddyprameela9690 4 года назад

      @@Mukeshotwani sure sir , thankyou so much for quick response

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

    Thank you🙏

  • @mudaseer21
    @mudaseer21 4 года назад +2

    Best of India

  • @pradeepkumar123ful
    @pradeepkumar123ful 4 года назад +1

    Thank U

  • @ashokpatcha
    @ashokpatcha 2 года назад

    How can we perform CTRL + A