Handle Hidden Drop Down Values / Auto Suggestions using DOM Trick | EventListener

  Рет қаралды 115,404

Naveen AutomationLabs

Naveen AutomationLabs

Күн бұрын

Пікірлер: 203
@bektazhibaev4479
@bektazhibaev4479 Жыл бұрын
For those who cannot find ‘blur’ event, alternatively you can remove ones in ‘focusout’
@relaxsleep5148
@relaxsleep5148 Жыл бұрын
Thanks Bek, most useful comment. I was confused as I don't have blur in my Event Listerners. I removed it from 'focusout'
@josephjibin4402
@josephjibin4402 Жыл бұрын
Thanks....😊
@Irina-cw4lw
@Irina-cw4lw Жыл бұрын
You really saved me, dear! I've tried so many options, but they didn't work in my case.
@winwinsichengnct
@winwinsichengnct Жыл бұрын
Thanks a lot, saved my day
@vedantraut7345
@vedantraut7345 Жыл бұрын
Thanks bek, very useful for me as well
@shriniwasalle911
@shriniwasalle911 2 жыл бұрын
This is very very useful for angular or react applications. I faced this issue lot of times, I used to do it with f8 key but now this is the coolest way you taught us. Thanks a lot man!
@SameerKumar-yu1xi
@SameerKumar-yu1xi 2 жыл бұрын
You are a great boss... Whenever I face issue I feel you knew in advance and you made on exactly same topic... Respect 🤜🤛
@anjalijha1598
@anjalijha1598 2 жыл бұрын
I was actually facing this issue and that too yesterday and today ur solution made my day....thank you so much sir
@SMSM-gd5dt
@SMSM-gd5dt 2 жыл бұрын
One of my interview question. Thanks for the useful video .Thanks a ton from USA
@sugumarraja550
@sugumarraja550 Жыл бұрын
You have made solution for every automation issue Thanks @naveen
@nayanagopinath669
@nayanagopinath669 2 жыл бұрын
Thanks a lot Naveen for sharing this. These are components which goes off when focus is lost. so when we switch to developer tools , the focus is lost and the component goes off. In developer tools , inspect tab click cmd+shift+p(short cut will be different in windows OS) Run command focused Select emulate a focused page option now you will see the dropdown and can inspect the elements
@swapnilpatil2189
@swapnilpatil2189 2 жыл бұрын
This helps ..removing blur is not working for me.
@nayanagopinath669
@nayanagopinath669 2 жыл бұрын
@@swapnilpatil2189 can you pls eloborate the use case
@swapnilpatil2189
@swapnilpatil2189 2 жыл бұрын
@@nayanagopinath669 there is dropdown in my application to select country and titles which get disappears while trying to get xpath, so as per the video i tried removing blur property from event listener but still i was not able to inspect. I tried your approach and it worked. Thanks!
@nayanagopinath669
@nayanagopinath669 2 жыл бұрын
Ok understood..glad that this tip helped and worked for you.
@herojagadesh
@herojagadesh 2 жыл бұрын
Thanks for the trick it worked
@automationwithwasi
@automationwithwasi 2 жыл бұрын
Thanks a lot, Naveen I have been facing this issue for a long time and you gave me a solution. Hats off to you👒👒.
@varunkumarreddyp5767
@varunkumarreddyp5767 2 жыл бұрын
Your brain is like an alien Naveen. This will help a lot
@PJ-ev5xd
@PJ-ev5xd Жыл бұрын
Thank you ! very useful. As a self-study, I really appreciate
@raghavpothineni6843
@raghavpothineni6843 2 жыл бұрын
You are really god gift for all the QA people who is already in industry and people who are looking for job, I donot think we need to apply our brains while desgining framework or designing the scripts :) , simply coming to your channel and refer the videos and getting knowledge. My Request , can you please do a video on Common/reusable methods in selenium webdriver which can be accessed across the frame work, I found Common methods for Webdriverwait, type, click . Can you please do a common methods for Calender , Bootstrap dropdowns, webtables, Search functionalitys , Auto Suggestions, Take screenshots ...I hope you can do it for your students :) because it is cakewalk for you :)
@dineshkarthik5732
@dineshkarthik5732 2 жыл бұрын
It may be small thing and this willl very useful tips to automation community..thanks naveen It will really helpful if you share videos on all or major expected conditions(Webdriverwait) like staleness etc. in selenium when to use
@priyankadawane4156
@priyankadawane4156 2 жыл бұрын
it's like magic to know this trick👏👏👏 really helpful... thank you Naveen😊
@shivapolaki2024
@shivapolaki2024 Жыл бұрын
You are the best in explaining testing topics. Very helpful
@ujjalsaha2899
@ujjalsaha2899 2 жыл бұрын
Thanks Naveen … these simple automation tricks makes life easier… previously i used to open debugger for it…now this will help a lot!
@nilimasonawane519
@nilimasonawane519 2 ай бұрын
really usefull..Thank you sir...all your videos are very helpful
@yerrasaimanojkumar6529
@yerrasaimanojkumar6529 2 жыл бұрын
Thank You Naveen....It is quite difficult to go with DOM BreakPoints...Now It is easy with this trick...😊
@amitturkar7144
@amitturkar7144 2 жыл бұрын
Thank you so much Naveen for this trick. I was struggling for such drop down since last 1 week. I will try like this and will let you know.
@SarangHoley
@SarangHoley 2 жыл бұрын
Thank you Naveen for this Quick video for this issue most of us face while automation 👍😊
@dhanamprakash6092
@dhanamprakash6092 7 ай бұрын
Thank you. After struggling with this issue, your solution worked.
@madhuribramhe3248
@madhuribramhe3248 2 жыл бұрын
Thank yo so much ..i was so stuck bcz of this issue... completely helpful!
@TEBS2006
@TEBS2006 7 ай бұрын
Thanks Naveen. I was able to use this in my project with Angular JS drop downlist. Thank you again.
@Maverism
@Maverism 2 жыл бұрын
Thank you so much Naveen sir your trick is working wonders for me forever grateful to you...
@naveenautomationlabs
@naveenautomationlabs 2 жыл бұрын
Always welcome
@semcodynamics7299
@semcodynamics7299 Жыл бұрын
Thank you this has been extremely helpful!
@sanketdeshpande9242
@sanketdeshpande9242 Жыл бұрын
Thank you very much sir! This is very useful and informative tip.
@nazimabanu4376
@nazimabanu4376 9 ай бұрын
Thank you so much for sharing this helpful knowledge with us. Continue the same ❤
@shoshKid
@shoshKid 2 жыл бұрын
Thanks a lot Naveen, we appreciate you buddy.
@carln22
@carln22 2 жыл бұрын
Alternative if blur is not present: focusout - same trick, remove all, worked on a react dropdown I was looking into.
@mrsagarish
@mrsagarish Жыл бұрын
thank you
@ABAutomationHub
@ABAutomationHub 2 жыл бұрын
Thanks for creating video on this.. It’s very useful and will make the life easier.. Great Job 👏👏
@rakeshkumarpanda1693
@rakeshkumarpanda1693 2 жыл бұрын
Thanks a lot Naveen for sharing this. We can use the below script from browser dev tool console as an alternative for the same concept setTimeout(function(){debugger;}, 5000)
@tissosweet....8638
@tissosweet....8638 2 жыл бұрын
Can you elaborate on it bro? Like how to use this?
@rakeshkumarpanda1693
@rakeshkumarpanda1693 2 жыл бұрын
Please open your browser dev console paste the script and hit enter. After 5 seconds the ui will freeze so that with the help of the inspector tool you can start inspecting the desired elements
@pimpomfossils
@pimpomfossils 2 жыл бұрын
this code is a savior! even blur sometime doesn't work in salesforce , like setup dropdown.. this code works. thanks very much.
@adityaphadnis1551
@adityaphadnis1551 2 жыл бұрын
@@rakeshkumarpanda1693 Can you please tell me after opening dev tool where I have to paste this script.
@rakeshkumarpanda1693
@rakeshkumarpanda1693 2 жыл бұрын
@@adityaphadnis1551 please follow below steps 1. Open your browser dev tool 2. Select the console tab 3. Paste the above code and hit enter to execute. The browser will freeze after the mentioned time period
@abhishekvats6519
@abhishekvats6519 2 жыл бұрын
Hi Naveen, thanks for sharing this. But it is not working in my case, I deleted the blur property as well but the moment I tried to inspect the element, the same has been selected. Please let me know if you know some other way
@andadana799
@andadana799 2 жыл бұрын
very good. congratulations.
@ashishsahu8065
@ashishsahu8065 2 жыл бұрын
This is very useful video. Thank you so much for such amazing videos.
@Irina-cw4lw
@Irina-cw4lw 2 жыл бұрын
Amazing! Thanks for sharing 🙏
@mohamedilyas8610
@mohamedilyas8610 2 жыл бұрын
That's why you are awesome naveen!..
@vishalavishala1883
@vishalavishala1883 2 жыл бұрын
You are Awesome ....Thanks for all Gyan
@surokiduniya
@surokiduniya 4 ай бұрын
Very Helpful.
@balajibalaji7626
@balajibalaji7626 6 ай бұрын
Thank you so much it is very clear and easy process
@kdm3587
@kdm3587 11 ай бұрын
You're the best, thanks a lot, man!
@shwetabhsrivastava5398
@shwetabhsrivastava5398 2 жыл бұрын
Awesome trick ...hats off
@madhvikumari3279
@madhvikumari3279 2 жыл бұрын
This video is very helpful... Thanks!
@mohammedakheeb7724
@mohammedakheeb7724 2 жыл бұрын
Thank you Naveen this was very helpful...
@lightbluesquarejelly3806
@lightbluesquarejelly3806 2 жыл бұрын
Awesome!!
@ravi_pualasa
@ravi_pualasa 2 жыл бұрын
1st collapse all the elements inside the body block and keep the body tag expanded 2nd click on you element where the disappearing elements is enabling 3rd while 2nd step note which is the parent tag of your web element 4th after that, right click on parent tag and click on Break on > subtree modification 5th again try to access element that opens the disappearing value. And access the elements
@mohammedshahab6095
@mohammedshahab6095 2 жыл бұрын
You solved my problem. Thank you very much.
@fizaautomationlabs2660
@fizaautomationlabs2660 3 ай бұрын
nice one. i have another way of handling this. but this is something different
@jayeshkumar2815
@jayeshkumar2815 2 жыл бұрын
Thank you Naveen it's really useful
@ajay_mauryaa
@ajay_mauryaa 2 жыл бұрын
This is not working for lightning or Salesforce application.
@sadhnasinghjadon8508
@sadhnasinghjadon8508 Жыл бұрын
Same issue
@sadhnasinghjadon8508
@sadhnasinghjadon8508 Жыл бұрын
How did you resolve it then
@adityatripathi3379
@adityatripathi3379 Жыл бұрын
You can try removing focusout option in Event listener only. That will work.
@SurendraTalluri-e3z
@SurendraTalluri-e3z Жыл бұрын
Thankyou So much sir it was very helpful to me..
@madhvikumari3279
@madhvikumari3279 9 ай бұрын
Thank you for amazing information.
@rajukiran5290
@rajukiran5290 2 жыл бұрын
Thank you Naveen for this video
@indiatouronbicycle8252
@indiatouronbicycle8252 Жыл бұрын
Thanks for videro make more such type of video.
@douglasfugazi
@douglasfugazi 2 жыл бұрын
Awesome tip, thanks for sharing 👏
@sonalirathod9950
@sonalirathod9950 11 ай бұрын
Hello sir, your videos are really very helpful thank you for posting such an useful content. And I really want you create one video on, when user Zoom on image at that time cursor symbol gets change and capture the element. is that possible to do???
@nethajiraj8081
@nethajiraj8081 2 жыл бұрын
Great!! But did not work for my application. Still I am not able to inspect
@sun4os
@sun4os 2 жыл бұрын
very useful explanation
@naveenautomationlabs
@naveenautomationlabs 2 жыл бұрын
Glad you think so!
@mrindian7422
@mrindian7422 Жыл бұрын
Thank you so much ❤
@bushrachowdhury278
@bushrachowdhury278 2 жыл бұрын
Thank you a lot Naveen.
@PraveenKumar-bw5fo
@PraveenKumar-bw5fo 2 жыл бұрын
Thank you for info
@aniruddhanaik4671
@aniruddhanaik4671 Жыл бұрын
Hi I am also facing the same issue of hidden value i cant identify the element .Like you said in the video delete 3 items from blur if it is not then focusout that too is not present can you suggest something else
@anuragmishra7243
@anuragmishra7243 2 жыл бұрын
Hi Naveen, Thank you so much for the awesome help. Can you please suggest something to Automate Mobile App Drop Down?
@mnandarao
@mnandarao 2 жыл бұрын
Hi Naveen, Hope you are doing good, This trike is very useful and I tried to use it but it's not working in my application can you please share any workaround it
@JohnnyBikerOfficial
@JohnnyBikerOfficial 2 жыл бұрын
Hi Naveen can you help to select from that more dropdown in flipkart I am giving the xpath right but elements list is not getting any entry size is still 0.
@rajdakash
@rajdakash 2 жыл бұрын
quick and crisp 👍🏻
@siramnymisha3873
@siramnymisha3873 2 жыл бұрын
Hey Naveen, Hope you are doing good☺️. After watching your videos I am greatly interested towards testing now a days. Actually I am working in SAP ABAP area. I want a small suggestion from you, if I want to take a swap to automation can you recommend me which one I can start learning with... which have good scope and offer a good package... because I am greatly confused as I am not having any experience towards this area... Your videos are really interesting☺️ Thank you for all your efforts for sharing your knowledge with us without cost which is greatly appreciable🤩 new subscriber🤙🥳 Looking forward for your suggestion. Thank you in advance🙂
@bharatheBha0526
@bharatheBha0526 2 жыл бұрын
Perfect Naveen..
@tanunjoyroy799
@tanunjoyroy799 2 жыл бұрын
In my case, I had to also remove the focusout property along with blur in order to inspect the suggestive list.
@ansonsaverdsouza8165
@ansonsaverdsouza8165 Жыл бұрын
did u get answer?
@bhaveshchiplunkar8437
@bhaveshchiplunkar8437 2 жыл бұрын
Thank you.. very helpful!!
@namratasingh3464
@namratasingh3464 2 жыл бұрын
Hi Naveen, thanks your videos are really helpful! I have a query, in which when I am clicking on a button it is giving me one id, then have to wait overnight, and then next day login on the other URL where this id will have few account numbers and other data which I have to verfiy. but waiting overnight is must for data to generate , How this can be managed using Selenium ?
@naveenautomationlabs
@naveenautomationlabs 2 жыл бұрын
Hi this is not a right candidate for test automation
@malathiravi4890
@malathiravi4890 3 ай бұрын
Hi naveen..have doubt in inspect the child category of flipkart..my interview question ..open flipcart- click any one category-find out xpath of child category...little bit difficult to find out the xpath of this..can you guide me how to take xpath for this?
@harshalgoswami5294
@harshalgoswami5294 Жыл бұрын
Too good. 😇
@pulkitsachdevashorts8770
@pulkitsachdevashorts8770 2 жыл бұрын
Thank You Naveen.
@shajeeprajeeth9544
@shajeeprajeeth9544 11 ай бұрын
🎉🎉 Tnk u so much buddy 😎
@ashishsaxena5587
@ashishsaxena5587 2 жыл бұрын
Great
@Rohan269503
@Rohan269503 2 жыл бұрын
Helpful THanks a lot
@amankumarsrivastava5227
@amankumarsrivastava5227 2 жыл бұрын
Thanks a lot sir, it is very easy, have one more way, will share i.e. something we can do through console
@TrustTheTimingOfYourLife
@TrustTheTimingOfYourLife Жыл бұрын
In my case, i could not able to find BLUR property itself in the Event Listener and its not at all visible. Please suggest alternative solution for this.
@bektazhibaev4479
@bektazhibaev4479 Жыл бұрын
You can use ‘focusout’ in that case
@bektazhibaev4479
@bektazhibaev4479 Жыл бұрын
It is also another event in eventlistener
@81sinnombre
@81sinnombre 2 жыл бұрын
What I regularly do is in console ... setTimeout(()=>{debugger},8000) and quickly click the dropdown and wait 8 seconds
@jambudejavu-g9y
@jambudejavu-g9y 2 ай бұрын
Sir I'm looking for some help regarding automation through selenium how can I contact you.
@abuthahir18
@abuthahir18 2 жыл бұрын
Hi Naveen, In in my react J web application, i could not able to find BLUR property itself in the Event Listener and its not at all visible. Please suggest alternative solution for this.
@Indian-hq4ts
@Indian-hq4ts 2 жыл бұрын
Hi Naveen what if no blur is not available?
@ParasJoshiPj
@ParasJoshiPj 2 жыл бұрын
Hi navin..i have only one property in blur.I have removed that still it is not working pls help
@amankumarsrivastava5227
@amankumarsrivastava5227 2 жыл бұрын
Sir, will this work for tooltip?
@madhusudhanreddy5320
@madhusudhanreddy5320 2 жыл бұрын
Excellent man
@rajia3455
@rajia3455 2 жыл бұрын
I need same question for Appium. I need to get data from drop-down of 10 values. I used Select class. But, it get the text of only visible text, it is not getting last 2 values because of hidden by scrolling. Please give me solution for Appium
@naveenkumar-yd3ln
@naveenkumar-yd3ln 2 жыл бұрын
Excellent
@krunalpatel6099
@krunalpatel6099 Жыл бұрын
I have an another issue using lightning salesforce. When I created script, for ex ClickSaveButton, tag and was input and text was Save. After couple of days tag name was a and title was Save. Can anyone help me how to handle this situation? Thanks!!
@sahani7015
@sahani7015 2 жыл бұрын
I thought Ctrl+shift+C shortcut will work here but it didn't. Thank for the video sir.
@anilkumaryadav106
@anilkumaryadav106 2 жыл бұрын
Hi Naveen, Selenium is not able to automate the pages having intermediate redirection pages. Page 1> Page2> Page 3 Selenium is able to go up to page 2 URL only. What to do, please help.
@savinashab8935
@savinashab8935 Жыл бұрын
Thank you. It worked
@Anup_x
@Anup_x 7 ай бұрын
He, I'm trying this on my test site but it's not working. Is there any other ways to do this?
@bhavyagowda8116
@bhavyagowda8116 Жыл бұрын
how to send json data for json editor text box using webdriverio, I have tried with many methods , not working anything... In ui there is json editor text box, save button so i need to send some json data in editor text box
@nitityagi6101
@nitityagi6101 2 жыл бұрын
Hi Naveen, If I want some advice regarding career growth , how can i connect with you directly?? Please reply
@amitk6463
@amitk6463 2 жыл бұрын
@Naveen AutomationLabs Another trick is when the list appeared, press tab key manually to reach inspect button and hit enter key. You will find element source code without disabling blur property for those objects....
@naveenautomationlabs
@naveenautomationlabs 2 жыл бұрын
This won't work if you have many elements on the page like Flipkart or Amazon. In fact if you try the same on Flipkart and moving manually to inspect icon and press enter. List is getting disappeared.
@amitk6463
@amitk6463 2 жыл бұрын
@@naveenautomationlabsTrue, for multiple elements it becomes difficult..
@dchenamoni7858
@dchenamoni7858 5 ай бұрын
now blur is not available in flipkart
@ArushAryavlog
@ArushAryavlog Жыл бұрын
Nice trick thanks
@muzak_nat
@muzak_nat 6 ай бұрын
Can someone explain how he captured that xpath - Contains?
@deepakjatav1476
@deepakjatav1476 Жыл бұрын
What to do if there is no blur present in Event listeners?
@tayyabmaqsood8588
@tayyabmaqsood8588 2 жыл бұрын
if we have not blur property in event listner then what we do?
@cglaptop
@cglaptop 2 жыл бұрын
Thank you so much.
Monkey Testing with Selenium
16:47
Naveen AutomationLabs
Рет қаралды 12 М.
Handle disappearing search box or drop down elements using debugger
7:34
Naveen AutomationLabs
Рет қаралды 9 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
How to Become Genius in XPath in Selenium  - Session -18
39:48
Naveen AutomationLabs
Рет қаралды 732 М.
Selenium with Python Tutorial 10-Working with Drop-down list
13:00
Handle Dynamic Google Search Using Dynamic XPath - WebDriver Session - 15
21:51
Naveen AutomationLabs
Рет қаралды 169 М.
Playwright Tutorial #20 - How to Handle Dynamic Dropdown in Playwright
16:48
Software Testing Mentor
Рет қаралды 1,9 М.
Selenium WebDriver Tutorial #20 - How to Handle Auto Suggestion Dropdown
13:01
Software Testing Mentor
Рет қаралды 67 М.
How To Inspect Hidden / Disappeared Elements In Just One Click
8:52
Naveen AutomationLabs
Рет қаралды 65 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН