MouseMovement, Drag & Drop and ImplicitWait in Selenium - Session 5

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

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

  • @chethanvenkat1040
    @chethanvenkat1040 6 лет назад +3

    Thanks for all these ready stuffs, this is bible for selenium beginners

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

    Great learning videos for an Selenium automation. He also covered the interview questions in these videos. Thanks Naveen.

  • @mohammadrasel9467
    @mohammadrasel9467 5 лет назад

    Dear Naeen Sir, Thanks a lot for all the automation videos. I am from Bangladesh. I am always following your videos whenever I facing any problem. May God bless you.

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

    The way you expalin is amazing, Thank you

  • @All_In_1_2023
    @All_In_1_2023 5 лет назад

    Hi Naveen,
    Thanks a lot for all automation videos. We are getting clear understanding using these videos.

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

    Thank you so much for these videos, best reference for most of concepts and helping me a lot to make my basics strong. Thanks again 🙏

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

    Thanks alot for such amazing lectures

  • @Manishkumar-kc8hg
    @Manishkumar-kc8hg 7 лет назад +1

    thanks Naveen..very nicely you have explained..it helps me a lot....

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

    Very Usefull Vedio. Thanks sir for clear understanding of concepts

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

    Hi, I have a question what is the difference bw dragAndDrop(src, trg); and whole click&hold() operation ? Why we simply not using drag&drop() method.

  • @AjayKumar-ni9ei
    @AjayKumar-ni9ei 5 лет назад +1

    Hi Naveen i am pretty much clear with the concept and the way you explain is amazing. I have a doubt, in this example you explained mouse hover to one tab and clicking on fleet right. My doubt is if we want to do all tabs at once how can we script in such a way.

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

    Awesome videos ,God bless u Sir ,its great help

  • @priyankachakrabarty456
    @priyankachakrabarty456 Год назад

    Hello Naveen. In so many sites i have seen after opening the browser we used to get some pop up like "show notifications with Allow and Block option". to handle this kind of pop up which pop up handling we should use?

  • @manishajha6842
    @manishajha6842 3 года назад

    You explained it really well. But could you suggest to me a video of yours where you explained about the slider??? It would really help.

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

    Hi Naveen, why do we use thread. Sleep sometimes even though we have already used implicitly wait?

  • @anusharavindran6754
    @anusharavindran6754 3 года назад

    Sir, thank you so much for the video. Its really helpful.! But next time please increase the font size of the video which would be more easy to watch !🙂
    I am a regular viewer of all your videos

  • @subhrapattnaik3062
    @subhrapattnaik3062 5 лет назад +4

    Hi Naveen, Can i use action.dragAndDrop(source, target).build().perform()

  • @IheartDti_Dinara
    @IheartDti_Dinara 3 года назад

    Hi Naveen, awsome class, but the new SpiceJet homepage doesn't have all those menus, do you know any good website for practice? thank you

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

    Thank you Sir. I have 1 question, the url for drag & drop is showing pagenotfound error, could you please suggest any different url for practicing drag & drop activity

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

    Hi Naveen,I was hoping to know if we can drag and drop elements which are available in multiple frames as in drag element in one frame and drop element in another frame.

  • @shafarazkhurshid2909
    @shafarazkhurshid2909 5 лет назад +2

    Sir please make video on same origin policy i am unable to understand..

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

    Great experience explanation

  • @shailjakshl2967
    @shailjakshl2967 5 лет назад +1

    `Thanks sir for clear understanding of concepts.

  • @praveenautomationinterview2367
    @praveenautomationinterview2367 7 лет назад +1

    Great Explanation!!!

  • @aarohibajpai7654
    @aarohibajpai7654 6 лет назад

    Hi Naveen
    Is there any chance to reduce the time taken by the test cases?
    Currently my all test cases are launch n Chrome browser. But if i want to reduce time other than implicitly wait, please share if you have any other options.

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

    Hi Naveen, I have few questions for implicitlyWait():
    1. If implicitlyWait() time mentioned as 40 seconds then the application will throw the noSuchELement exception after 40 seconds in case the element is not found and if the application found the element within 10 seconds then it won't wait for another 30 seconds.
    - In some articles, I read that it's a bad practice to keep implicitly wait like 40 seconds because it will increase the overall execution time.
    - Here, I am confused as the application ignores the rest of the implicit wait time once the element is found, then how it can be a bad practice or how it will increase the execution time?
    Could you please guide me?
    2. Does it applies only to the findElement() method?
    Thanks

  • @thiery572
    @thiery572 5 лет назад +3

    Thank you, very useful.

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

    Hi Naveen, have one doubt , is there a possibility where drag option comes in one frame and drop in another frame.

  • @vasudhabaddeli6861
    @vasudhabaddeli6861 6 лет назад

    Hi Naveen,I am regularly following all your selenium Videos.It's really helpful for me.I have a Doubt.I hope you will clarify this doubt.How to handle Inner Mousemovements?I mean if i want to Click on some option which will be available after 2 or 3 mouse moves and that to it is available in frame...(Spicejet,Menu,Travelinfo).If you clarify this doubt it will be very helpful for me.Thank you.

  • @jashanpreetkaur1677
    @jashanpreetkaur1677 5 лет назад

    Hi Naveen
    If we give driver.click on both the places (with xpaths.click)instead of move to element with actions class,then also we are able to get the same result.
    Can you please explain me the difference betweeen click and actions classs?
    Thanks

  • @lakshmisabapathy8072
    @lakshmisabapathy8072 3 года назад

    when I add this implicit wait in my program, it throws some error, "The method pageLoadTimeout(long, TimeUnit) from the type WebDriver.Timeouts is deprecated". what that means???

  • @selvaganapathy6945
    @selvaganapathy6945 5 лет назад

    @Naveen AutomationLabs please make a video on random functionality like entering any random no within in a range or selecting any random element from a arrow. Also please show us how to use regular expresssion in xpath so that we can write one xpath and use it in multiple places

  • @ramankumar1487
    @ramankumar1487 6 лет назад

    Hey Hi, Naveen, what is the difference between build().perform(); and just perform();
    i'm using action.moveToElement(WebElement).perform(); and its working so why we use build() ?

  • @JobAspirants
    @JobAspirants 6 лет назад

    I have one doubt, I want to open sign up form by clicking on 'Sign Up' option. In the spicejet site I've selected Login/Sign up option so that it displays the drop down by selecting one element. In that dropdown again it will open other dropdown (i.e SpiceClub Members). Plz help me how to handle second(inner) dropdown. thanks

  • @savaramsairamya5567
    @savaramsairamya5567 11 месяцев назад

    Hello sir
    When I login to Myntra for writing test scripts
    In that menu and remaining some icons cannot inspect what is the reason sir.
    I know to perform mouse over button what is the way to perform

  • @velun2146
    @velun2146 3 года назад

    Hi Naveen, Reg Implicit and Explicit wait: I got Error on use both, "The method implicitlyWait(long, TimeUnit) from the type WebDriver.Timeouts is deprecated" and "The constructor WebDriverWait(WebDriver, long) is deprecated". Please suggest the new methods.

    • @akshaykumar-ob8md
      @akshaykumar-ob8md 2 года назад

      WebDriverWait wait = new WebDriverWait(driver, Duration.ofseconds(120, 1 ));
      wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath(“//div[@title=’Welcome’] “));
      I used above for specific elements or you can use for all elements also.

  • @PradeepKumar-fq7fz
    @PradeepKumar-fq7fz 5 лет назад

    Hi Naveen, i need your help actually i tried what assignment you gave but when it comes to mouse hover on code of fair disclosure is perfom mouse hover action but didn't clickable to go to another page i request you please let me know the problem. thanking you advanced

  • @shaileshchaudhary6621
    @shaileshchaudhary6621 6 лет назад

    thanks for Making wonderful Explanation

  • @sonalparekh110
    @sonalparekh110 5 лет назад

    Hey Naveen . I am trying to access an element after mouse hover. But it is always showing me exception Element not Interactable.Please help me to sort this out.

  • @gmpalani
    @gmpalani 5 лет назад

    Naveen, I came across a situation, wherein I could see the element I have to click but the page continued loading. I ended up in getting Timeout exception.
    In Selenium, is it possible to interact with page elements while the page is getting loaded?
    I couldn't get a straight forward answer to this query anywhere.
    Thanks in advance.

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

    Nice sir .... I have one doubt as how to handle and implement "long press "

  • @priyankachakrabarty456
    @priyankachakrabarty456 3 года назад

    Hello Naveen. I have a question regarding drag and drop. Like so many places I saw while doing drag and drop they are using a method 'draganddrop' but u have used in your videos click and clickandhold method. So is there two types of method available for drag and Drop???

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

    Hi Naveen, If i have to drag and drop one file from desktop to any web page then is this method correct or we have to use autoIT third party tool. Thanks.....

  • @shuchitiwari4952
    @shuchitiwari4952 5 лет назад

    Naveen..your all selenium videos are very helpful. Have a doubt in file download automation.
    How we can validate if the correct file is download or not with the correct size which is downloaded in your OS

  • @mohitgupta5308
    @mohitgupta5308 6 лет назад

    MouseMovement is not working on FF. In Spice jet website, I want to be select "hot Meals" under Add-ons. But the problem is when mouse hover to Add ons, Sub list just show in fraction of sceonds. so I got exception "no such element" for hot meals. On chrome is working fine.

  • @aishwaryabagade1625
    @aishwaryabagade1625 7 лет назад +1

    Hi Naveen ,I get an error while creating the reference variable for Actions as"The field Actions.action is not visible"

  • @yashu7296
    @yashu7296 3 года назад

    Thank You, Sir!

  • @AmitKumar-wj4ng
    @AmitKumar-wj4ng 5 лет назад

    Hi Naveen Sir,
    i am getting (org.openqa.selenium.JavascriptException: javascript error: circular reference error) while clicking on the web element after mouse over.can you please tell me how to handle this kind of exception.
    Thanks

  • @prashanttripathi935
    @prashanttripathi935 6 лет назад

    This video should be at 6th spot in the playlist. And the video currently on 6th spot should be 7th. Great to learn though.

  • @arunakumari1730
    @arunakumari1730 6 лет назад

    Hai Sir. Nice video. It's very helpful to me. And I have a doubt about selet some text. If u don't mind. Can u help me that.
    And my question is,
    I want to try to select some text from number of lines of text. So how can I use the actions class for this. Can u please help me that ?

  • @aakash3416
    @aakash3416 6 лет назад

    How to inspect the element which will appear only after the mouse hovering?
    Because as soon as I am clicking on inspect element button, that screen is gone by that time

  • @praveen420ify
    @praveen420ify 7 лет назад

    Hi naveen, Anyway excellent explanation but other Keyborad and mouse action should have been explained here which is missing.

  • @Ahamad_Ali_sha
    @Ahamad_Ali_sha 5 лет назад

    Hi sir,
    Topic: implicit wait.
    In TestNG do we need to write implicit wait for all tests or only during the launching webpage

  • @sandeepyarramsetti8029
    @sandeepyarramsetti8029 5 лет назад

    Hi Naveen,
    These classes are very helpful for us!
    The prior video of this class is not uploaded it seems, for Handle Dropbox.
    Can you please share the same.
    I feel we are missing that concept.

  • @USP7
    @USP7 6 лет назад

    Can we use linktext locators in properties file ,or we only have to use xpath

  • @emreyucel5838
    @emreyucel5838 Год назад

    Thank you very much

  • @sudiptomukherjee8404
    @sudiptomukherjee8404 5 лет назад

    My selenium guide is your channel only

  • @akulabhaskar3797
    @akulabhaskar3797 6 лет назад

    What is there many frames ? We have to use List Weblement and iterate ?

  • @parveenchauhan5132
    @parveenchauhan5132 5 лет назад

    Hi Naveen,
    How to automate file upload scenario on ubuntu system any idea? As AutoIT is not worked there.
    Thanks in advance.

  • @shikhar5300
    @shikhar5300 6 лет назад

    Hi Naveen, I am learning automation from your channel and it's going well. I just want to know that if we can drag any file from the windows screen to the web page using selenium. If yes then can you please let me know any documents or code? Thanks in advance :)

  • @hardikranjan777
    @hardikranjan777 5 лет назад +1

    Hi Naveen,
    Your videos are really helpful and helped me a lot in learning Selenium.
    I am having a doubt, I was trying to automate Flipkart but I am unable to locate the "Electronics" element present in the first row.
    Coudl you pleas help me there !!!

  • @desertstar7664
    @desertstar7664 5 лет назад

    i came across i issue where i had to Actions class to select drop down list

  • @gayathris9704
    @gayathris9704 6 лет назад

    hello sir.. how get t in to that filepath option in console to get a name..help me with this please

  • @akhilprbh
    @akhilprbh 5 лет назад

    hello would like to know what are mutable capabilities

  • @jon3444
    @jon3444 6 лет назад

    What are the reasons and benefits of maximize browser and clear cookies before opening a website?

    • @kshitijshrivastava9881
      @kshitijshrivastava9881 6 лет назад +1

      There are certain elements which are not visible till the browser is maximized and we can get errors if we try to perform some actions on those elements without maximizing the browser.

  • @prasadarun3472
    @prasadarun3472 6 лет назад

    Nice video Naveen by the way I am having small doubt regarding the drop down. In the spicejet site i selected menu option so that it displays the drop down by selecting one element in dropdown again it will open other dropdown.So, here I am able to get menu from this its showing first drop down but iam unable to click the element in first dropdown for switching to another dropdown can u help me regarding this issue

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

    sir what if we need to drag drop from window to browser

  • @dhana628
    @dhana628 5 лет назад +2

    Appreciate ur work for posting links.......sir Can u increase ur font size .....

  • @lopamudrasatapathy4744
    @lopamudrasatapathy4744 6 лет назад

    can we use dragAndDrop method instead of clickAndHold method

    • @kshitijshrivastava9881
      @kshitijshrivastava9881 6 лет назад +1

      yes we can use dragAndDrop method. Below is sample code:
      driver.switchTo().frame(driver.findElement(By.xpath("//input[@name='group1']")));
      Actions a = new Actions(driver);
      WebElement source = driver.findElement(By.id("draggable"));
      WebElement target = driver.findElement(By.id("droppable"));
      a.dragAndDrop(source, target).build().perform();

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

    Not all things cover which shows in thumbnails....

  • @rajeshkumarmahto3106
    @rajeshkumarmahto3106 5 лет назад

    Hi Naveen
    Thank you for whatever u have done. It's amazing. I have one issue while maximising the chrome browser. I'm unable to maximize it. It displays error like " org.openqa.selenium.WebDriverException": cannot get automation extension from chrome not reachable .
    Please help.🙏

  • @d49964
    @d49964 6 лет назад

    Hi Naveen,
    i tried the same on freecrm.com, but mouse over is not happening (nosuchelement) and when i tried the same on Spicejet.com it is working fine.
    Actions action = new Actions(driver);
    Thread.sleep(5000);
    action.moveToElement(driver.findElement(By.linkText("CONTACTS"))).build().perform();
    Thread.sleep(5000);
    driver.findElement(By.linkText("New Contact")).click();

    • @villuri7
      @villuri7 6 лет назад

      Contact is in different frame. Switch to the frame and then try, it will work.

  • @prajwalwalde4489
    @prajwalwalde4489 5 месяцев назад

    sir how to automate cookies?

  • @desertstar7664
    @desertstar7664 6 лет назад

    Please change your font size.

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

    Hi Naveen