
Introduction to the course and Downloadable files.
*See why Selenium is a gazillion times better than traditional ways of controlling web sites.
Here's how to get set up with Selenium with Excel.
This document is to help those who have had trouble after attempting the installation. These tips will get you patched up and on your way!
Learn to locate page elements by class name in web automation, test for uniqueness, and extract text with Excel VBA using the category-title class as a practical example.
Learn to locate and click links by exact link text using a bot, exemplified by the 'view cart' link. Then explore partial link text in the next lecture.
Discover selectors hub, the free upgrade to crow path, which generates css selectors or xpath quickly with auto suggestions and element counts, and detects iframes and shadow dom.
Explore the XPath helper tool from the Google Chrome store to test XPath syntax quickly, using relative paths, double slashes, and queries for body, input, and span.
Explore why XPath outshines CSS selectors by using the contains() function to match attribute values such as href and name, including partial matches on anchors and inputs.
Learn to dynamically select an index in an XPath query by wrapping the query in parentheses and using brackets or the last function, even with Ajax-updated fields.
Call links.distinct to remove duplicates from the list of HTML URLs, reducing 309 items to 251 after checking the locals window.
Export the deduplicated links list directly into Excel using Dot to Excel, starting at range A2. Optionally add a title to label the first entry.
Wikipedia, get all links, then visit the 10th link after sorting!
Locate all links within a specific div by using find element by id to pick the div, then use find elements to collect anchor tags and retrieve their hrefs.
Learn two ways to detect if a web element exists in Excel VBA: use a web element object and test for nothing, or a one-liner find by id.
Learn how to access and compare web element properties in VBA using text, value, and css value; inspect width, background color, padding, and tag name to form your own statements.
Explore how to determine a web element’s state in VBA by examining is displayed, is enabled, is present, and is selected, demonstrated with a checkbox on a W3 Schools page.
Explore how to use bot.set_preference to define the download default directory, enable download directory upgrade, and disable the download prompt, then start the webdriver-driven bot to auto-download files.
Explore the contains method in Excel VBA tests, learning to assert contains, verify substrings like 'I love Excel', and debug outcomes when the expected text is present or absent.
Learn to customize error messages for assert contains in Excel VBA by supplying a fail message as a string with the third parameter.
Learn how to manage timeouts and waits in selenium by using the default implicit wait of 3 seconds, and adjust page load, script, and server timeouts to suit tests.
Practice automating a purchase form in Excel VBA by filling four text boxes, waiting for the buy button to appear, clicking by ID, and waiting for the confirmation before closing.
Learn to wait for CSS value or wait for not CSS value to detect changes, using an element's width or color as triggers, and see an animated_div hover example.
Explore essential web navigation in excel vba by using go back, go forward, and refresh. Learn to manage tabs with close versus quit while tracking current and base URLs.
Learn to pull a web page's HTML and text using Excel VBA: capture the page source or extract text with XPath wildcard, and place results into a worksheet cell.
Access and complete the coding exercise by downloading the question attached to this lecture or from the master course files download folder under exercises.
Keep a permanent selenium chrome driver open across macro runs to reuse the browser. Fetch URLs from worksheet cells like B2 and B5 and quit the driver when finished.
Demonstrate how to locate frames, including nested ones, with the get frame number for element function and switch to frames for reliable web automation in Excel VBA.
Learn a bonus switch to frames function in excel vba that switches to default content, parses a comma separated string into frame indices, and loops to validate elements by xpath.
Learn to capture a web element as an image with Selenium WebDriver by locating a div by ID, scrolling into view, taking a screenshot, and saving it.
Learn to obtain an image's height and width in VBA, resize it with img.resize, and copy the result to the clipboard, exploring proportional scaling with multipliers like 0.5 and 0.75.
Load an image into a user form by adding an image control and using image.getPicture to set its picture from the worksheet image, then show the form in clip mode.
Using a website has become part of everyday life in both work and play. Many of us spend hours a day scouring the web or filling out tedious forms online for work!
But what if we can automate these processes that steal our precious time away from us? Introducing “Complete Web Automation with Excel VBA” course. In this jam-packed, progressive course, I share over eight hours of secrets to using the popular website testing program called Selenium, ( previously only available using complicated web languages such as JavaScript or PHP). This free tool is now available to all Microsoft Excel users, but there’s very little documentation for how to use it unless you are a web developer.
Throughout the course, I take you through all the undocumented processes, enabling you to locate and interact with any element on a webpage using a variety of strategies, from basic text & attribute searches to Advanced strategies such as XPath, CSS Selectors, and Regular Expression (RegEx) functionalities.
You’ll learn how to fill out web forms dynamically, navigate web pages intuitively, and extract and manipulate data to increase efficiency.
Once you understand how to find an element (or group of elements), you'll learn to evaluate whether elements are hidden, enabled or disabled, visible, selected, checked or unchecked, and then we'll show you how to completely control mouse and keyboard commands and positioning. Then we’ll learn how and when to trigger macros with precision using "Timeouts and Waits"!
In addition to basic navigation, I'll show you how to Open, Access and Toggle multiple tab Windows, how to resize, re-position and auto-scroll your browser window as well as use login techniques with set credentials. You'll be able to deal with pop-ups, alerts, notifications and Frames like an expert. I'll even show you the secrets of controlling the clipboard, saving screenshots to your Excel file or even taking all or parts of online tables into your spreadsheets automatically. Finally, I'll take you through drop down menus and working with list boxes to complete your WebDriver mastery.
The course comes loaded with several examples in each section, including several engaging and challenging exercises to help you solidify what you've learned (with solution videos immediately following).
You’ll receive 100% of the source code, downloadable materials and course workbooks instantly, yours to keep FOREVER. In addition, you’ll receive LIFETIME ACCESS to the course videos, including updates, BONUS videos and lectures as they come out and any future source code and workbooks – Yours to keep – FREE.
All students will receive LIFETIME ACCESS to ask me any questions about the materials in the FORUM section – as well as chat with other students and help each other. As always, this is backed by a 30 day 100% No questions asked refund as well.
So Stop wasting your time with tedious online tasks when you can automate your online workflow Today!
Order “Complete Web Automation with Excel VBA” course Now!