Selenium WebDriver Tutorial #20 - How to Handle Auto Suggestion Dropdown

Get all my courses for USD 5.99/Month - bit.ly/all-courses-subscription
⭐️ FREE Training's at training.rcvacademy.com ⭐️
In this Selenium Webdriver Tutorial we will learn How to Handle Auto Suggestion Dropdown in Selenium WebDriver.
Nowadays many of the travel website implement autosuggestion search feature to display the results based on the initial word typed in the textbox, this can be handled in Selenium WebDriver using the technique shown in this video.
Help me in spreading the knowledge, please hit LIKE, SHARE and SUBSCRIBE for latest tutorials.
More tutorial playlists below:
❖JIRA BEGINNER TUTORIAL❖ bit.ly/jira-beginner-tutorial
❖JIRA WORKFLOW TUTORIAL❖ bit.ly/2EzKOEB
❖JIRA ADMINISTRATION TUTORIAL❖ bit.ly/36MPPFR
❖JIRA TUTORIAL INTERMEDIATE❖ bit.ly/Atlassian-JIRA-tutorial... TUTORIALS❖ bit.ly/jira-tutorials
❖ZEPHYR TUTORIAL❖ bit.ly/zephyr-for-jira-tutorials
❖ SOAPUI TUTORIAL❖ bit.ly/Sopui-tutorial
❖ JSONPath TUTORIAL❖ bit.ly/2sIZIFG
❖ POSTMAN TUTORIAL❖ bit.ly/2PBbhI7
❖ ISTQB AGILE TESTER CERTIFICATION TUTORIAL❖ bit.ly/istqb-agile-tester-cert...
❖ ISTQB FOUNDATION LEVEL CERTIFICATION TUTORIAL ❖bit.ly/istqb-foundation-level-...
❖CUCUMBER SELENIUM TUTORIAL❖ bit.ly/cucumber-selenium-tutorial
❖TESTRAIL TUTORIAL❖ bit.ly/testrail-tutorial
❖AGILE TUTORIALS❖ bit.ly/agile-tutorials
❖PYTHON TUTORIALS❖ bit.ly/python-programming-tuto...
❖PYTHON BEHAVE TUTORIALS❖ bit.ly/python-behave-tutorial
❖PRACTITEST TUTORIAL❖ bit.ly/practitest-tutorial
❖JAVA TUTORIAL❖ bit.ly/2F1iL1B
❖ZEPHYR TUTORIAL❖ bit.ly/zephyr-for-jira-tutorials
❖ TRAININGS ON RCV ACADEMY PORTAL ❖
bit.ly/learn-practitest
bit.ly/learn-jira-in-4-hours
bit.ly/jira-beginner-training
bit.ly/learn-confluence
bit.ly/ISTQB-foundation-certif...
❖ FOLLOW US ON TWITTER ❖
/ rcvacademy
/ swtmentor
/ mrmverma
❖ LIKE US ON FACEBOOK ❖
/ softwaretestingmentor
/ rcvacademy47
❖ OUR TUTORIAL WEBSITES ❖
www.softwaretestingmentor.com
www.rcvacademy.com
❖ GET MY TRAININGS ON UDEMY ❖
www.udemy.com/user/manish68/
#SeleniumTutorial #SeleniumTraining #TestAutomation #SeleniumWebDriverTutorial #SeleniumWebDriver #SoftwareTesting #RcvAcademy #SoftwareTestingMentor

Пікірлер: 71

  • @LivingUnscripted
    @LivingUnscripted2 жыл бұрын

    I am taking classes to become a QA , and my teacher didn’t show this one yet. He showed us a way where we have to create a list for the dropdown suggestions.. and I just wasn’t able to do it that way. This one helped me a lot, simple and easier. Thanks a lot!

  • @anilbiradar3802

    @anilbiradar3802

    2 жыл бұрын

    List variable created but I feel that is good compare to this, and even we use for loop condition also with list to find the correct value Here trainer entered 5 char n selecting 1 suggestion, just think if you enter only 3 char n your results are more than 10 and you need to select 9th value then what will you do?? So it's better to use for loop condition with making list variable

  • @SurbhiAgarwalD
    @SurbhiAgarwalD2 жыл бұрын

    Thank you, i was stuck on auto suggestion searchbox and with help of this video i was able to get that. that you so much for this video.

  • @Deathlean66
    @Deathlean662 жыл бұрын

    Thank you so much , it helped me a lot!

  • @vivekzambre6476
    @vivekzambre64763 жыл бұрын

    Really helpful 👍

  • @sushantsurwase
    @sushantsurwase3 жыл бұрын

    Thanx it worked for me..!

  • @annaburshtyko5714
    @annaburshtyko57143 жыл бұрын

    Thanks for the tutorial!

  • @softwaretestingmentor

    @softwaretestingmentor

    3 жыл бұрын

    Thank you Anna! Regards, Manish

  • @somayehrezayi3478
    @somayehrezayi34782 жыл бұрын

    it worked! tnx a million

  • @eightcandies
    @eightcandies3 жыл бұрын

    This is Excellent, this is called real time explanation.. I was looking to handle dynamic dropdowns for a while now, i didn't know that those keys exist, i'm not sure how i landed to your video.. but thank you so much.. i need to try this in python, not sure if that works but this video made me to realize, i need to change the way i THINK! Thanks again!!!

  • @softwaretestingmentor

    @softwaretestingmentor

    3 жыл бұрын

    Hi Prathyusha, Thank you very much! I am glad they are helpful! Please share your python experience and let everyone know how you made it work in Python using same techniques. Regards,Manish

  • @eightcandies

    @eightcandies

    3 жыл бұрын

    @@softwaretestingmentor You got no idea, how seemlessly I'm working, This video made my day, I worked on 3 different but kind of similar filters.. and what I did there is this small piece of code: # Search-Match and Select driver.find_element_by_xpath("//*[@id='AAAAAA']").click() driver.find_element_by_xpath("//*[@id='BBBBBB']").send_keys("EEE") Degrees= driver.find_elements_by_xpath("//*[@id='XXXXXX']/div[1]") for degree in Degrees: if degree.text == "EEE": degree.click() break

  • @vrushankdoshi7813
    @vrushankdoshi78132 жыл бұрын

    you are a savior. I tried multiple things and didn't work.. Thank you

  • @firozshaikh2489
    @firozshaikh24892 жыл бұрын

    Thank you sir !!!

  • @shibapiano6946
    @shibapiano6946 Жыл бұрын

    Thanks a lot

  • @umeshpatil2908
    @umeshpatil29082 жыл бұрын

    Thanks, it helps a lot.....

  • @user-vv4wt3nl8w
    @user-vv4wt3nl8w Жыл бұрын

    Great Informative Session! Thank You Sir!

  • @softwaretestingmentor

    @softwaretestingmentor

    Жыл бұрын

    Glad it was helpful! Keep watching for more videos and tutorials.

  • @prabur3296
    @prabur32962 жыл бұрын

    Sir, I'm getting this exception Exception in thread "main" org.openqa.selenium.ElementClickInterceptedException: element click intercepted: Element ... is not clickable at point (329, 225). Other element would receive the click: (Session info: chrome=96.0.4664.45) after clicking that tag

  • @ravirajug1137
    @ravirajug1137 Жыл бұрын

    good explanation

  • @shrudinsharma6493
    @shrudinsharma6493 Жыл бұрын

    Very nice sir.... Tnk u... U solve my problm. 😊😊

  • @ashamb8194
    @ashamb81948 ай бұрын

    Thank you so much sir, my issue resolved

  • @softwaretestingmentor

    @softwaretestingmentor

    8 ай бұрын

    You are most welcome! Keep watching and sharing.

  • @rohitmisra9008
    @rohitmisra90083 жыл бұрын

    This tutorial is nice

  • @softwaretestingmentor

    @softwaretestingmentor

    3 жыл бұрын

    Thanks a lot.

  • @sudiptomukherjee8404
    @sudiptomukherjee84044 жыл бұрын

    Nice explanation

  • @softwaretestingmentor

    @softwaretestingmentor

    3 жыл бұрын

    Thanks for liking!

  • @aayushmaheshwari9647
    @aayushmaheshwari96472 ай бұрын

    Hi, How to handle Angular mat-select dropdown those values are dynamic also.

  • @abhishekrathod7273
    @abhishekrathod72733 ай бұрын

    thank u sir

  • @softwaretestingmentor

    @softwaretestingmentor

    3 ай бұрын

    Welcome keep watching and sharing.

  • @armenuhikocharyan9650
    @armenuhikocharyan9650 Жыл бұрын

    Thank you for lessons. Please could you have videos also about PAGE OBJECT MODEL. Or leave please the link if you have such kind of lesson already. Thanks in advance.

  • @colasp4376
    @colasp43763 жыл бұрын

    Hi sir I did same thing which you have done only navigate to makemytrip says that no such elementfound unable to select the drop down value

  • @Shubham-fk4is
    @Shubham-fk4is2 жыл бұрын

    You need to zoom the screen so we can see clearly.

  • @yuvarajamech
    @yuvarajamech3 жыл бұрын

    If I want print all of the suggestions from that from text field,when source code doesn't visible for auto suggestion element but it's showing the source code only when we move the cursor on the suggestion element ... How to inpect and print those suggestions??

  • @KrzysztofChrzan
    @KrzysztofChrzan3 ай бұрын

    Hello, Can you say how to handle Auto Suggestion if the results would be presented in random position? For example "Sydney, Australia" could once display on a first place just under the input field but next time could be presented on a second place.

  • @sweetthirty2
    @sweetthirty22 жыл бұрын

    Sir out of 100 edit boxes on a page how do we know which one is mandatory attribute??? or which field is mandatory??

  • @meghanarao7593
    @meghanarao7593 Жыл бұрын

    hello sir, i am using Page object Factories Framework and i wanted to do auto selective dropdown for expedia website, i tried the same way as you have explained, but in the dropdown it is not showing the suggestives when automated. can you guide me please.

  • @prabhakaransivasubramanian5420
    @prabhakaransivasubramanian54203 жыл бұрын

    I have a doubt in webdriver wait could you give me some explicit wait condition

  • @wisherz
    @wisherz2 жыл бұрын

    thank you so much but when i run the code it doesnt work it has a pop up website to log in

  • @rohitmisra9008
    @rohitmisra90083 жыл бұрын

    Hello.sir Is it possible in selenium In Source i want select only up city And In destination mp city I want to match up city with mp city in flight

  • @kumarpalrecha3069
    @kumarpalrecha306910 ай бұрын

    What if I type a wrong text and auto suggestion won't display..then the text will fail which should not happen and text should go forward

  • @kishoripatil2302
    @kishoripatil23022 жыл бұрын

    I am getting error while doing the same it will go upto finding the input box after that it will stop execution

  • @harshrana2605
    @harshrana2605 Жыл бұрын

    Sir, how we can read otp if it comes on mobile number, how to automate that case. For ex- we have to login into website with mobile number and otp

  • @anilkashyap5953
    @anilkashyap59534 жыл бұрын

    sir while i was automating makemytrip website i was facing this problem why it is appearing plz help sir : org.openqa.selenium.InvalidElementStateException

  • @rohitmisra9008
    @rohitmisra90083 жыл бұрын

    How to count the city in the suggestion list

  • @preethajegatheesan9874
    @preethajegatheesan98742 жыл бұрын

    can you teach me the same thing how to automate in WebDriverIO

  • @prasantapaul3844
    @prasantapaul38443 жыл бұрын

    Sir, how to select a 5th/6th suggested value from the list instead of the very first element?

  • @yuvarajamech

    @yuvarajamech

    3 жыл бұрын

    Try to add those auto suggestions in arraylist and then according to your need,by using if condition, like if this element contains "required element" Then click on it...i think it will help you.. Just try it

  • @prasantapaul3844

    @prasantapaul3844

    3 жыл бұрын

    Alright, thanks..

  • @maheshpawar6834
    @maheshpawar68342 жыл бұрын

    I am getting error that span element is not clickable at this point... what is solution for this??

  • @prashanthyesupogu8039

    @prashanthyesupogu8039

    2 жыл бұрын

    same have you got the correction for it bro?

  • @rohitmisra9008
    @rohitmisra90083 жыл бұрын

    How to run dynamicly sir

  • @mhsfa
    @mhsfa2 жыл бұрын

    When to use chromedriver and when to use webdriver... got confused now. Please reply

  • @ffggkik
    @ffggkik3 жыл бұрын

    Sir , I try this method, but still I'm not able to execute .. I'm getting element click intercepted

  • @somdipruidas4546

    @somdipruidas4546

    2 жыл бұрын

    Same problem bro😭

  • @nidhimankotia4840
    @nidhimankotia48402 жыл бұрын

    sorry sir but this code is not working

  • @priyankapatil3951
    @priyankapatil39512 жыл бұрын

    Hello sir, i m trying to run same code on eclipse and intellij also but getting exception as ElementClickInterceptedException... What could be the reason??

  • @nikitakorade

    @nikitakorade

    Жыл бұрын

    Same problem here

  • @nidhimankotia4840
    @nidhimankotia48402 жыл бұрын

    please suggest some other method

  • @rohitmisra9008
    @rohitmisra90083 жыл бұрын

    This video is nice but Same technique I apply for Destination But sendkeys is not working I write a code on for source and destination on eclipse But sendkeys is not working I run parallel

  • @TuhinaBanerjee16

    @TuhinaBanerjee16

    Жыл бұрын

    sendKeys isn't working for me as well. I tried multiple times but the same piece of code isn't working for me

  • @TuhinaBanerjee16
    @TuhinaBanerjee16 Жыл бұрын

    This code is not working. I feel it will be better if instead of Thread.sleep, actual wait mechanism can be used in the code as in real time we will not use Thread.sleep nor while practicing.

  • @beinghuman63393
    @beinghuman633932 жыл бұрын

    sir,Its not working in my ECLIPSE Getting element click intercepted exception

  • @akashthakare2425

    @akashthakare2425

    2 жыл бұрын

    Hi I am getting a same exception.plz ans

  • @akshaypawar4345

    @akshaypawar4345

    2 жыл бұрын

    Getting same exception need help

  • @anilbiradar3802
    @anilbiradar38022 жыл бұрын

    Hi, I have autosuggestiive drop down and even entering 4 to 5 char in feld I got around 25 results and I suppose to click on 18th value then how sendkeys(keys.ARROW_DOWN); will work for 18th value. Do we need to write 18 times the same code of line?????? Or can we use the for loop condition?

  • @piyushchoudhary7803

    @piyushchoudhary7803

    Жыл бұрын

    yes we can use loop

  • @PradeepKumar-tn6cf
    @PradeepKumar-tn6cf2 жыл бұрын

    Thanks for tutorial.This tutorial is not helpful for dynamic selection of dropdown value after autosuggestion. Please let me know if I want to select mumbai value from the dropdown and i don't know the order of place of that value in autosuggestion.

  • @nidhimankotia4840
    @nidhimankotia48402 жыл бұрын

    sir sorry but this code is not working

  • @harshgangwal
    @harshgangwal3 жыл бұрын

    Do you have a python version ?

  • @softwaretestingmentor

    @softwaretestingmentor

    3 жыл бұрын

    @Harsh, please find the playlist below: kzread.info/dash/bejne/mHxoo7mpacvgirA.html

Келесі