Handle Drop Down using Select class in Selenium || Classroom Training Session

Handle Drop Down using Select class in Selenium || Classroom Training Session

Naveen AutomationLabs

5 лет назад

73,174 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@19863960
@19863960 - 06.01.2019 09:13

Thank u sir

Ответить
@jaykishoreduvvuri7598
@jaykishoreduvvuri7598 - 06.01.2019 09:13

Nice video !

Ответить
@donatesmile202
@donatesmile202 - 06.01.2019 09:58

Very informatic video.Thanks:)

Ответить
@mariabajwa8632
@mariabajwa8632 - 06.01.2019 10:12

thank you... now a days am dealing with drop downs.. thank you..

Ответить
@priyankasuryawanshi2958
@priyankasuryawanshi2958 - 06.01.2019 20:33

Thanku naveen

Ответить
@jahangiralikhan2410
@jahangiralikhan2410 - 07.01.2019 08:55

Thank you, Naveen very great video and precise explanation :)

Ответить
@umangsharma7447
@umangsharma7447 - 07.01.2019 19:27

champion.... champion.. !!

Ответить
@vkiranmayi7096
@vkiranmayi7096 - 09.01.2019 22:39

i don't know how can i say only thanks to you for this video.... your awesome it is very much helpful to me...

Ответить
@desertstar7664
@desertstar7664 - 24.01.2019 05:07

Select class works only if you have select tag in your DOM structure. In most companies, in order to hide information, UI dev are using <div> tags instead of <select>. In that case, you have to use Actions class to access the drop down menu.

Ответить
@khajazakiuddin931
@khajazakiuddin931 - 05.02.2019 05:51

Excellent explanation naveen. Now the concept of dropdowns is much clear for me than i had before. Thank you so much.

Ответить
@Tourforu56
@Tourforu56 - 17.02.2019 23:06

Thanks for clearly explaining all topics 🙂

Ответить
@npn8097
@npn8097 - 05.04.2019 15:06

Very helpful, and very very well explained !

Ответить
@apurvakamaji
@apurvakamaji - 08.04.2019 22:24

Doesn't getOptions method directly return the all the values?Why is getText again used? Why the lines
String dayVal = listDays.get(i).getText();
Syso(dayVal)?
Overall an awesome video, very informative and covered all the topics with clear and logical explanation.

Ответить
@apurvakamaji
@apurvakamaji - 15.04.2019 13:58

Why is get(i) in listDays.get(i).getText();
Or listDays.get(i).click();
is used while selecting or getting it's text? What's the need of using get(i) method here, aint we stopping at 15 and the clicking on it?

Ответить
@chiragbansod4003
@chiragbansod4003 - 25.04.2019 13:13

Hi Naveen I am working on appium and automating web app here as part of my office project but I am unable to click on hamburger menu there ... How to click on such elements ... I tried with all strategies but failed to do it . Click JavaScriptexecutor actions everything failed ...please help

Ответить
@mariabajwa8632
@mariabajwa8632 - 26.04.2019 10:50

Thank you so much ..its amazing ...

Ответить
@omarjimenez7198
@omarjimenez7198 - 02.05.2019 21:58

Hey Naveen. I first would like to thank you for all you’re videos. I feel so much smarter after watching. One question in regards to locator, do you prefer xpath or css? And why? Is it best to stick with xpath only?

Ответить
@arnabsaha6684
@arnabsaha6684 - 03.05.2019 00:50

Hi Naveen thanks for the great videos.kindly update "Constructor. A check is made that the given element is, indeed, a SELECT tag. If it is not, then an UnexpectedTagNameException is thrown."

Ответить
@siddharthbhardwaj4747
@siddharthbhardwaj4747 - 06.05.2019 20:36

Naveen, I am working on an automation project,
As per the requirement, in my PLP (Page) There is a dropdown box for sorting Products.
I wrote code to select dropdown and choose option "Highest to Lowest Price", So page should refresh , and should show new sorted product list.
I am executing my code using "sauce lab".

Same code is working for chrome browser and microsoft edge,But not working for safari.
In safari browser, it chooses option "Highet to lowest" but page is not refreshing and product list is not updating.

So my question is can u give some idea, to work with Drodown with safari browser using "saucelab" ?

Ответить
@rohinsees6227
@rohinsees6227 - 16.05.2019 13:22

Thank you so much for the explanation Naveen. Really helpful. :)

Ответить
@saquibhelal7477
@saquibhelal7477 - 23.05.2019 23:33

Hi Naveen I have one queries suppose if I want to fetch the drop down value to property file then how to do that. ????

Ответить
@LearnWithNeeraj777
@LearnWithNeeraj777 - 26.06.2019 15:18

awsome video...
question: do we create multiple Select class or you mean creating multiple object s of select class

Ответить
@dharaneshbr2064
@dharaneshbr2064 - 26.08.2019 14:35

Thank you Naveen sir for explaining in details about operation on Dropdown with and without Select class!!!!!

Ответить
@kumark21
@kumark21 - 20.11.2019 19:40

Just one word i want to say, "Awesome", Thank you Naveen!!

Ответить
@pankajkashyap8521
@pankajkashyap8521 - 23.12.2019 15:23

Thank you sir... :)

Ответить
@shilpamusale5046
@shilpamusale5046 - 11.02.2020 15:52

Hi Naveen , I am learning so many things from your channel it’s really helpful. I was trying to select values from auto populated drop down but noticed that drop down is not configured with select and option tag .Can you please help me handle this kind of situation?

Ответить
@DeepakMishra-ql4gh
@DeepakMishra-ql4gh - 03.04.2020 08:14

Hi Naveen, how are you
can u explain the difference b/w System.setProperty() & System.setProperties()
&
Javascripti Executor methods
executeScript() & executeAsyncScript()
if someone ask in interview so how to answer these Questions

Ответить
@amanpreetsahdev5454
@amanpreetsahdev5454 - 05.07.2020 21:00

Thanks so much. Paid to some other trainer but learning from you. I wish i had paid you instead of him. Awesome clarification. My trainer is just trying to complete the course but you are telling each and every topic so deeply. Thanks so much.

Ответить
@jarvisfriday7452
@jarvisfriday7452 - 20.07.2020 18:41

How to get the text of unselected options in the dropdown?

Ответить
@meghatiwari5225
@meghatiwari5225 - 25.07.2020 22:25

Thank you Naveen , very good tutorial

Ответить
@monalisabarik9795
@monalisabarik9795 - 30.09.2020 20:50

This is the best explanation for drop-down.. thank you so much Naveen.🙏

Ответить
@naseembanu3480
@naseembanu3480 - 01.12.2020 08:18

Hi naveen m unable to join ur telegram group, it says ti's doesn't exist, can u pls share the working link to join

Ответить
@real_hello_kitty
@real_hello_kitty - 04.12.2020 07:33

Thank you. 😊

Ответить
@konijetimadhavi9438
@konijetimadhavi9438 - 11.02.2021 20:47

Hi.. sir, we u help to teach me , how we can handle the dropdowns in ascending or decending order?
Thank u.

Ответить
@vengalrao343
@vengalrao343 - 15.03.2021 07:21

hi naveen, How to select multiple options from dropdown without select class

Ответить
@sruthibhagavatula2450
@sruthibhagavatula2450 - 04.06.2021 13:22

Hi Naveen I have a scenario
Think there are these cities in my drop-down "Hyderabad, secunderabad, Aurangabad, delhi,"
I need to write my select in such a way that all the values ending with 'bad' should be selected. How can I do that?

Ответить
@ravinadhb9219
@ravinadhb9219 - 23.06.2021 05:10

Excellent video and very precise explanation ..Thnq So much once again.

Ответить
@nitinpatil5541
@nitinpatil5541 - 13.07.2021 09:03

Hello Naveen Sir, Its really knowledgeable session. Thank u so much to clear all the doubts. Once will done with selenium certification, I am interested to do internship with you.

Ответить
@vivekn9856
@vivekn9856 - 21.08.2021 19:10

The session was excellent. Please share the link of validating dropdown is selected or not video link

Ответить
@priyankachaudhary3302
@priyankachaudhary3302 - 06.10.2021 23:36

Hey , i have a question. what if there are 2 dropdown menu with only 1 attribute which is class also similar name, how can we possibly automate particular one?

Ответить
@aytanmahammadova6116
@aytanmahammadova6116 - 23.10.2021 22:01

So informative, thank you

Ответить
@bharatpotle5996
@bharatpotle5996 - 29.10.2021 21:08

Hi Naveen, can we create generic method for drop down selection with explicit wait just like generic method you created for textbox(sendkeys) becoz in my app, on selection of 1st dropdown value page is getting loaded and values in 2nd dropdown is updated based on value selected in 1st dropdown.

Ответить
@davidvial1466
@davidvial1466 - 18.11.2021 23:14

You're a legend! Best teacher to learn coding. Thank you!

Ответить
@Timeless_Trader
@Timeless_Trader - 06.05.2022 13:01

Beautifully explained. Many Thanks. I am watching this in 2022.

Ответить
@ramyababu494
@ramyababu494 - 20.10.2022 19:58

I'm following ur videos and implementing in real time... You made my day today.. in one of the scenarios 😊 thank you sir... I hope I complete my Regression suite with the help of ur videos

Ответить
@softwaretestinglearninghub
@softwaretestinglearninghub - 23.02.2023 03:59

great session, thank you!

Ответить
@TejaskumarJC-nh9ey
@TejaskumarJC-nh9ey - 11.08.2023 09:04

How to covert avi format to mp4 format

Ответить
@ashwinimathapati2189
@ashwinimathapati2189 - 22.07.2024 14:15

If I entered wrong input which is not available in list ...how we can handle such scenario?

Ответить