- 108
- 88 109
Faisal Khatri
India
Registrace 14. 01. 2012
Quality Analyst, currently based in Mumbai, India, having more than 14 years of progressive experience in software testing methodologies, best practices in test automation and expertise in variety of test tools like Selenium WebDriver, Cucumber, TestNG, Appium, RestAssured and hands-on experience with CI/CD using Jenkins/Docker.
Passionate learner and tech savvy. I like Photography and love to write blogs sharing my experience.
Subscribe to my channel to learn more about testing.
I randomly share my vlogs on this channel as well.
Passionate learner and tech savvy. I like Photography and love to write blogs sharing my experience.
Subscribe to my channel to learn more about testing.
I randomly share my vlogs on this channel as well.
How to handle dropdown in Selenium WebDriver using Java | Selenium WebDriver Tutorial
In this Selenium WebDriver tutorial we will learn How to Handle Dropdown in Selenium WebDriver.
Selenium WebDriver provides Select class which has the following methods that can be used to handle single and multiple dropdown options:
✅ selectByIndex(int index) - Select the option at the given index.
✅ selectByValue(String value) - Select all options that have a value matching the argument.
✅ selectByVisibleText(String text) - Select all options that display text matching the argument.
✅ isMultiple() - Checks if the dropdown allows multiple selection
✅ getOptions() - Returns all the options displayed in the dropdown field.
✅ getAllSelectedOptions() - Returns all the selected options from the dropdown list.
✅ getFirstSelectedOption() - It will return the first selected option from the dropdown list.
✅ deselectAll() - It will deselect/clear all the selected entries from the list.
✅ deselectByValue(String value) - Deselects all the options that have values matching the argument.
✅ deselectByIndex(int index) - Deselects the option at the given index.
✅ deselectByVisibleText(String text) -Deselects the option matching the given text in the parameter.
Topics Covered in this video:
00:00 Introduction
00:24 What is a dropdown field?
00:36 Types of dropdown fields
02:52 Select class in Selenium WebDriver
03:38 How to handle Single select dropdown using Selenium WebDriver
19:15 How to handle Multi select dropdown using Selenium WebDriver
GitHub Repo Link with Code Examples: github.com/mfaisalkhatri/selenium-demo
Blog Links:
How to Handle Dynamic Dropdowns in Selenium WebDriver With Java
www.lambdatest.com/blog/handling-dropdowns-in-selenium-webdriver-java/
Different Types of Locators in Selenium WebDriver
www.lambdatest.com/blog/locators-in-selenium-webdriver-with-examples/
Handling “Element is Not Clickable at Point” Exception in Selenium
www.lambdatest.com/blog/element-is-not-clickable-at-point-exception/
Selenium 4 WebDriver Hierarchy: A Detailed Explanation
www.lambdatest.com/blog/selenium-4-webdriver-hierarchy/
Understanding CSS Selectors in Selenium
medium.com/@iamfaisalkhatri/understanding-css-selectors-in-selenium-pcloudy-blog-3e4b09672264
End to End Testing using Selenium WebDriver and Java
medium.com/@iamfaisalkhatri/end-to-end-testing-using-selenium-webdriver-and-java-4ff8667716ca
Selenium WebDriver Tutorial videos playlist
czcams.com/play/PLMer2TvhZIw8WP1C9Pp5hbd7Yd-l66dPT.html&si=Zo9V3vukxAK3dCMq
Affiliate link:
Sign up to LambdaTest Cloud Platform - www.lambdatest.com?fp_ref=faisal58
Join my Software Testing Learning Group on the following social media platforms -
WhatsApp: chat.whatsapp.com/BUKajWkUjbm1VNHWhlqaNR
Telegram: t.me/continuoustesting
Discord: discord.gg/Ue5fNpef
Connect with me @Linktree - linktr.ee/faisalkhatri
#SeleniumTutorial #SeleniumTraining #TestAutomation #SeleniumWebDriverTutorial #SeleniumWebDriver #SoftwareTesting #automationtesting #qa #Automation #tutorial #dropdown #webautomation #webtesting #learning #freecourse
Selenium WebDriver provides Select class which has the following methods that can be used to handle single and multiple dropdown options:
✅ selectByIndex(int index) - Select the option at the given index.
✅ selectByValue(String value) - Select all options that have a value matching the argument.
✅ selectByVisibleText(String text) - Select all options that display text matching the argument.
✅ isMultiple() - Checks if the dropdown allows multiple selection
✅ getOptions() - Returns all the options displayed in the dropdown field.
✅ getAllSelectedOptions() - Returns all the selected options from the dropdown list.
✅ getFirstSelectedOption() - It will return the first selected option from the dropdown list.
✅ deselectAll() - It will deselect/clear all the selected entries from the list.
✅ deselectByValue(String value) - Deselects all the options that have values matching the argument.
✅ deselectByIndex(int index) - Deselects the option at the given index.
✅ deselectByVisibleText(String text) -Deselects the option matching the given text in the parameter.
Topics Covered in this video:
00:00 Introduction
00:24 What is a dropdown field?
00:36 Types of dropdown fields
02:52 Select class in Selenium WebDriver
03:38 How to handle Single select dropdown using Selenium WebDriver
19:15 How to handle Multi select dropdown using Selenium WebDriver
GitHub Repo Link with Code Examples: github.com/mfaisalkhatri/selenium-demo
Blog Links:
How to Handle Dynamic Dropdowns in Selenium WebDriver With Java
www.lambdatest.com/blog/handling-dropdowns-in-selenium-webdriver-java/
Different Types of Locators in Selenium WebDriver
www.lambdatest.com/blog/locators-in-selenium-webdriver-with-examples/
Handling “Element is Not Clickable at Point” Exception in Selenium
www.lambdatest.com/blog/element-is-not-clickable-at-point-exception/
Selenium 4 WebDriver Hierarchy: A Detailed Explanation
www.lambdatest.com/blog/selenium-4-webdriver-hierarchy/
Understanding CSS Selectors in Selenium
medium.com/@iamfaisalkhatri/understanding-css-selectors-in-selenium-pcloudy-blog-3e4b09672264
End to End Testing using Selenium WebDriver and Java
medium.com/@iamfaisalkhatri/end-to-end-testing-using-selenium-webdriver-and-java-4ff8667716ca
Selenium WebDriver Tutorial videos playlist
czcams.com/play/PLMer2TvhZIw8WP1C9Pp5hbd7Yd-l66dPT.html&si=Zo9V3vukxAK3dCMq
Affiliate link:
Sign up to LambdaTest Cloud Platform - www.lambdatest.com?fp_ref=faisal58
Join my Software Testing Learning Group on the following social media platforms -
WhatsApp: chat.whatsapp.com/BUKajWkUjbm1VNHWhlqaNR
Telegram: t.me/continuoustesting
Discord: discord.gg/Ue5fNpef
Connect with me @Linktree - linktr.ee/faisalkhatri
#SeleniumTutorial #SeleniumTraining #TestAutomation #SeleniumWebDriverTutorial #SeleniumWebDriver #SoftwareTesting #automationtesting #qa #Automation #tutorial #dropdown #webautomation #webtesting #learning #freecourse
zhlédnutí: 115
Video
How to automate Login page using Selenium WebDriver with Java? | Selenium WebDriver Tutorial
zhlédnutí 957Před 2 měsíci
In this tutorial video, we will learn how to automate login page using Selenium WebDriver with Java. The following topics are covered as a part of this video: 1. Negative and Positive test cases to automate the login page 2. Locating and interacting with the login page WebElements 3. Using DataProvider annotation of TestNG for passing the test data of login credentials 4. Performing assertion c...
Selenium Locators | ID, Name, Tag Name, Class, Link Text, Partial Link Text, CSS Selector, XPath
zhlédnutí 411Před 3 měsíci
Selenium Locators | ID, Name, Tag Name, Class Name, Link Text, Partial Link Text, CSS Selector, XPath Topics covered in this video: 00:00 - Introduction 00:54 - What are Locators in Selenium? 01:33 - Locator Strategies in Selenium WebDriver 02:00 - How to Locate Web Elements in the DOM using browser? 07:54- ID Locator Strategy 12:22 - Name Locator Strategy 14:10 - TagName Locator Strategy 19:42...
Cross Browser Testing in Selenium using TestNG | Parallel Testing | Testing on cloud platforms
zhlédnutí 514Před 5 měsíci
In this video, I talk about Cross Browser Testing using Selenium WebDriver and TestNG on Local as well as Cloud Platforms such as LambdaTest. I have also covered the topics related to performing Parallel testing using Selenium WebDriver on Local as well Cloud Platforms. Learn how to perform Cross browser testing on the following browsers: 1. Google Chrome 2. Mozilla Firefox 3. Microsoft Edge 4....
Mumbai tourist places - Marine Drive. #youtube #mumbai #evening #sunset #shortvideo #weekend
zhlédnutí 52Před 5 měsíci
Mumbai tourist places - Marine Drive Checkout the newly installed road divider.
Mumbai Airshow 2024 | Marine Drive #airshow #helicopter #mumbai #vlog #youtube #video #airforce
zhlédnutí 612Před 7 měsíci
Mumbai Airshow 2024 | Marine Drive #airshow #helicopter #mumbai #vlog #youtube #video #airforce
Selenium Manager in Selenium WebDriver 4.12.0 | Automated Browser and Driver Management
zhlédnutí 2KPřed 11 měsíci
Selenium Manager in Selenium WebDriver 4.12.0 | Automated Browser and Driver Management
How to prepare for software testing job interviews? Tips for Interview Preparation
zhlédnutí 804Před rokem
How to prepare for software testing job interviews? Tips for Interview Preparation
Awesome learning resources for becoming a successful QA Automation Engineer | GitHub | Free Learning
zhlédnutí 1,9KPřed rokem
Awesome learning resources for becoming a successful QA Automation Engineer | GitHub | Free Learning
How to create a Maven Project in IntelliJ? | Test Automation | pom.xml | Maven Commands in IntelliJ
zhlédnutí 2KPřed rokem
How to create a Maven Project in IntelliJ? | Test Automation | pom.xml | Maven Commands in IntelliJ
How to install Android Studio on Windows 10? | Appium testing Tutorial | Android Emulator
zhlédnutí 703Před rokem
How to install Android Studio on Windows 10? | Appium testing Tutorial | Android Emulator
How to perform Android mobile automation using WebdriverIO Appium with TypeScript | Test Automation
zhlédnutí 4,5KPřed rokem
How to perform Android mobile automation using WebdriverIO Appium with TypeScript | Test Automation
What is a Test Automation Framework? | Best Practices | Insightful Talk
zhlédnutí 1,8KPřed rokem
What is a Test Automation Framework? | Best Practices | Insightful Talk
How to prepare for Software Testing Interview?
zhlédnutí 1,6KPřed rokem
How to prepare for Software Testing Interview?
How to perform Test Automation Code Reviews? Guest Talk by @WasiqBhamla
zhlédnutí 1,5KPřed rokem
How to perform Test Automation Code Reviews? Guest Talk by @WasiqBhamla
How to validate Shadow DOM web element locator in chrome browser? Web Automation | Locators
zhlédnutí 1KPřed rokem
How to validate Shadow DOM web element locator in chrome browser? Web Automation | Locators
Mumbai CST railway station is lit in tricolor today. #video #mumbai #tricolor #trending #vlog
zhlédnutí 275Před 2 lety
Mumbai CST railway station is lit in tricolor today. #video #mumbai #tricolor #trending #vlog
How to install browser drivers using WebDriverManager for running Selenium Tests | Web Automation
zhlédnutí 349Před 2 lety
How to install browser drivers using WebDriverManager for running Selenium Tests | Web Automation
How to work with Relative Locators in Selenium Webdriver 4
zhlédnutí 298Před 2 lety
How to work with Relative Locators in Selenium Webdriver 4
Chat with Wasiq Bhamla discussing coteafs-appium framework.
zhlédnutí 308Před 2 lety
Chat with Wasiq Bhamla discussing coteafs-appium framework.
View of Marine Drive - Mumbai, before the coastal road project #vlog #mumbai #youtube #like
zhlédnutí 92Před 4 lety
View of Marine Drive - Mumbai, before the coastal road project #vlog #mumbai #youtube #like
Nice explanation bro...
Thank you
❤
Great one 🕜
Thank you
Thank you very much for this video. I couldn't find anything related to this on internet, but you're a life saver. Could you please make a video in which browserstack would be used with this setup. Thanks
Checkout my latest blog - A Common guide to Web Testing medium.com/@iamfaisalkhatri/a-complete-guide-web-testing-748b34a91e6e
An error stating" PDFBox IOException: End of File, expected line" is displayed while automating PDF reports
Good video 🎉 thanks for sharing.
Incredible content! Could you please reduce the background music? It's a bit too overpowering and makes it difficult to hear clearly.
Sure, will take this suggestion for next content
session was very informative and good. one request , plz see if you can improve the recording quality
informative video.helpful. can you create a playlist how to create a framework from scratch. what to focus on creating this, what to avoid, how to select which components, how to have different folder structures and sync between files, different design patterns of framework, where to keep which files(such as in main or in test folder..etc)...etc please make a exclusive videos on different mistakes the u or ur friends did in whole career. plz mention how to avoid them or how to fix them. no hurry. just a request. please consider.
hi sir, please provide time stamp with different inputs of these kind of long videos. plz put time stamp in all the long videos. please sir.
Timestamps are added now, please check
@@faisalkhatriqa thanks sir. it is added.
Good One
Thank you
Subhanallah ❤❤
Aye kaash m ban jaun madine ka muafir, Aameen
Awesome. Thanks for sharing.
voice is clear. thanks you sir for posting these. what are the difficculties u faced while learning or working on these tools. how u fixed those issue. please take care ur health. god bless you. keep posting like these. any testing job will be effected die to AI means ur opinion on these AI...etc. please post all these one by one.
Thanks for Sharing
GitHub repo link is available in description of the video. Sharing in comments again for reference: github.com/mfaisalkhatri/selenium-demo
Thank you
Plz share git code repo
Hi, GitHub URL is shared in the description
Hi Faisal, this is such a great video. please provide git url for this project so i can clone and update my project. i am more interested in cross browser. Thanks in advance.
Hi, GitHub URL is shared in the description
Good Demo. Thanks for Sharing this
Glad that you liked it. :)
Could you please upload a complete end-to-end video that covers the setup and installation process for mobile automation? As a complete beginner, I have faced many challenges such as the lack of SDK tools and being unable to connect to the Appium server through Appium Inspector. The video would be beneficial for others who are just starting out in mobile automation. Thank you.
You can check out my playlist about Mobile automation with Appium: czcams.com/play/PLdZJM6yxhZyQmoVR4EdO7Rztvfl4rkKyH.html Hope it will help.
Hey, I am getting empty pom.xml. I am trying to create a new project for appium test case but pom.xml is empty. Any solution for that ?
Did you choose the correct archetype while creating the project? Choose the quickstart archetype
I have resolved it now, its because of JDk version only.
Used version 17
@@chirag5800I'm having the same problem. My pom.xml file is empty and I'm using jdk 22, should I go back to version 17?
🎉🎉🎉 wow
MashaAllah
Mumbai🎉
Good work sir 👏👏
Such a meaningful and insightful session
Thank you, Glad to know that you liked it :)
The session was so very interesting and relatable !!
This was such a fruitful session👍🏻😍
This was such a fruitful session👍🏻😍
Kejal Shah can be contacted for Counselling of Psychological ailments at the following clinic: Sunrise venetia, girgaum gaiwadi, jss road, charni road, mumbai-400004
HI I would like to know how to set the version in Chrome or Edge browser using Python SeleniumManagern.
Subhan allah
timely and useful
Could you do a video for touch actions e.g. swipe left or right on an element or ? Thanks in advance!
Thank u bro...
welcome
Sir when is your next live session on Api
Let me know what would you like to learn in next session?
useful and timely
Glad it was helpful!
very good session
Great job , keep going please brother 🤝
Thank you, sure will be doing such more sessions.. keep watching and sharing.
Thank you so much
Links to the GitHub repo, blogs and CZcams videos has been updated in the description. Do check out for more details!!
I'm not able to see the code clearly, anyone else?
Change the quality of video to 720p
Very good Session. Keep up community educated. Wasiqbhai & you are doing gr8 job.
czcams.com/users/livexLKpdQE0oKY?feature=share