filmov
tv
Excel VBA Introduction Part 57.7 - Using Select Drop Down Lists in Selenium
Показать описание
By Andrew Gould
If you'd like to help fund Wise Owl's conversion of tea and biscuits into quality training videos you can join this channel to get access to perks:
This video shows how to use Select and Option elements in Selenium for VBA to choose items from drop down lists on websites. You'll learn how to identify which type of drop down list you're working with and how to use the SelectElement class in Selenium to make working with drop down lists easy. You'll learn several ways to select an option from a select list and how to deal with cascading drop down lists. As a bonus, you'll learn how to download a file using a combination of Selenium and the URLDownloadToFile function.
Chapters
00:00 Topic list
00:35 Select Elements vs Other Drop Down Lists
03:48 Clicking the Accept Cookies Button
04:54 Referring to Select and Option Elements
07:45 Using the SelectElement Class
09:11 Referring to Items in the List
11:14 Selecting Options by Value or Text
13:12 Searching for Products
15:01 Writing Results to Excel
18:05 Cascading Drop Down Lists
21:37 Looping Through Options
24:31 Testing Whether to Select an Option
26:45 Testing if a Select Element is Visible
30:17 Listing Values in a Worksheet
33:04 Choosing Options Automatically
35:14 Clicking Buttons to Download Files
38:16 Getting the URL of a File
41:11 Downloading a File from a URL
If you'd like to help fund Wise Owl's conversion of tea and biscuits into quality training videos you can join this channel to get access to perks:
This video shows how to use Select and Option elements in Selenium for VBA to choose items from drop down lists on websites. You'll learn how to identify which type of drop down list you're working with and how to use the SelectElement class in Selenium to make working with drop down lists easy. You'll learn several ways to select an option from a select list and how to deal with cascading drop down lists. As a bonus, you'll learn how to download a file using a combination of Selenium and the URLDownloadToFile function.
Chapters
00:00 Topic list
00:35 Select Elements vs Other Drop Down Lists
03:48 Clicking the Accept Cookies Button
04:54 Referring to Select and Option Elements
07:45 Using the SelectElement Class
09:11 Referring to Items in the List
11:14 Selecting Options by Value or Text
13:12 Searching for Products
15:01 Writing Results to Excel
18:05 Cascading Drop Down Lists
21:37 Looping Through Options
24:31 Testing Whether to Select an Option
26:45 Testing if a Select Element is Visible
30:17 Listing Values in a Worksheet
33:04 Choosing Options Automatically
35:14 Clicking Buttons to Download Files
38:16 Getting the URL of a File
41:11 Downloading a File from a URL
Комментарии