Selenium WebDriver Tutorial #18 - How to Handle Dropdown in Selenium - Part 2

preview_player
Показать описание
In this Selenium Webdriver Tutorial we will learn How to Handle Dropdown in Selenium WebDriver, I will walk through with examples for handling multi-select dropdowns.

In this part-2 of handling dropdown tutorial we will learn about following methods in Select class of Selenium WebDriver.

✅ selectByIndex(int index) - Select the option at the given index.
✅ deselectAll() - Clear all selected entries.
✅ deselectByIndex(int index) - Deselect the option at the given index.
✅ getAllSelectedOptions()

Help me in spreading the knowledge, please hit LIKE, SHARE and SUBSCRIBE for latest tutorials.

More tutorial playlists below:

❖ TRAININGS ON RCV ACADEMY PORTAL ❖

❖ FOLLOW US ON TWITTER ❖

❖ LIKE US ON FACEBOOK ❖

❖ OUR TUTORIAL WEBSITES ❖

❖ GET MY TRAININGS ON UDEMY ❖
#SeleniumTutorial #SeleniumTraining #TestAutomation #SeleniumWebDriverTutorial #SeleniumWebDriver #SoftwareTesting #RcvAcademy #SoftwareTestingMentor
Рекомендации по теме
Комментарии
Автор

Love and so much respect sir...I got cleared my doubt regarding SeLECT class...after holding it for 4 months.

tridiptapati
Автор

Why don't mention the link of the site which you're using in the Description

sauravkumar
Автор

Hello Sir. how to get values in output of getAllSelectedOptions. instead of size.

sheetalsf
Автор

what if the tag name is not select in DOM then how to handle those dropdowns?

vanishkota
Автор

i am unable to find this packages list. can you please provide link of this page..

udayKUMAR-pvbd
Автор

I ran the demo but it just goes upto url of sugar r em then it shows accept all cookies. It doesn’t go further. So what’s the way to troubleshoot it.
Can anyone please help me?

khurshedalam
Автор

Hello sir, do you have selenium notes??

priyankapatil
Автор

how to deselect an option in single select drop down.

sajip