How To Handle Static Dropdown Selenium Webdriver | Selenium Webdriver Java http://teachyourselftestautomation.com
Hello and welcome to Day 16 - How To Handle Static Dropdown Selenium Webdriver
I continue with teaching myself Selenium Webdriver with Java and I hope you all Test Analyst in particular are getting engaged as we go along for the next five years test automation will be the corner stone for all things test methodologies and test frameworks continuous integration and continuous deployment
With this video we are learning about static dropdown in selenium
What is a static dropdown?
To identify which dropdown is a static dropdown when you inspect the element and notice the line of HTML code has a TagName of select, then you are indeed dealing with a static dropdown
The example website we used to demonstrate static dropdown is facebook and we used the birthday day for our live example
Selenium group have come up with a class called select class which has all the methods to use when interacting with static dropdown on a web page, you can see my blog for the regular class creation select syntax
Once you have the syntax and you have imported the select package you will need to pass the identifier of the location of your static dropdown into the argument in the syntax
Use any locator strategy to identify location of dropdown on web page and pust the into the argument for the select syntax
We use xpath for the above and it worked just fine and went ahead to use select methods to interact with our dropdown on the web page
List of the main methods present in the select class to automate static drop down
-selectByIndex();
-selectByVisibleText();
-selectByValue();
Please see video for live examples on the above • How To Handle Static Dropdown Selenium Web...
Don't forget to subscribe if you found this video helpful and support the channel
Many Thanks
Kevin Owasu Itoe
How To Handle Static Dropdown Selenium Webdriver | Selenium Webdriver Java | Xpath Contains Class http://teachyourselftestautomation.com
--------------------------------------------------------------------------------------------------------
#testautomation #teachyourselftestautomation #selenium #webdriver #java
--------------------------------------------------------------------------------------------------------
Follow me @
Facebook: / kevin.itoe.50
Google+: https://plus.google.com/u/0/103559195...
Pinterest: https://www.pinterest.co.uk/owasuik/
My Blog: http://teachyourselftestautomation.com/
My YouTube Channel: / @teachyourselftestautomatio1271
--------------------------------------------------------------------------------------------------------
My Videos:
• Install And Configure Java | Selenium Webd...
• Eclipse Installation | eclipse software | ...
• Java Project Template | Java Projects | My...
• Download And Configure Selenium | Selenium...
• Basic Selenium Test Script To Invoke Web B...
• Selenium Tutorial | WebDriver Browser And ...
• Selenium Webdriver Locators | Locators In ...
• Find Elements On Web Page With Link Text X...
• How To Validate Xpath And CSS Using Browse...
• How To Write Customized Xpath In Selenium ...
• CSS Selector | How To Write Custom CSS Sel...
• Preceding-Sibling Xpath | How To Identify ...
• How To Handle Static Dropdown Selenium Web...
• What Is The Difference Between Absolute XP...
-------------------------------------------------------------------------------------------------------
What Wikipedia says about selenium: https://en.wikipedia.org/wiki/Seleniu...)
What Wikipedia says about test automation: https://en.wikipedia.org/wiki/Test_au...
En esta página del sitio puede ver el video en línea How To Handle Static Dropdown Selenium Webdriver | Selenium Webdriver Java de Duración hora minuto segunda en buena calidad , que subió el usuario Teach Yourself Test Automation 04 enero 2019, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 612 veces y le gustó 4 a los espectadores. Disfruta viendo!