Welcome back, Warriors! We just saw how to check if a particular data is present in a table’s specific cell with and without using XPath. Time to loop through each element and visualize the power of Selenium WebDriver. Let us go back to our Demo Site and focus on “Books & Authors” table to understand this concept.
Generally finally block is used to close all the resources (viz., file, database connection, socket or anything that should be closed after its task is done) to prevent any leaks. Sample code: [crayon-594e96f5cb3ad751763089/] If you look at the … [Continue reading]
As developers, we deal with risky situations on a daily basis and no matter how good we are at programming, stuff always happens! Server goes down or there isn’t enough space to allocate objects on the heap or file is not present in the given … [Continue reading]
Hiya champions! Welcome back to yet another post on handling web elements using Selenium WebDriver. You learn something new every day, talking of which here is what we will be learning today: handling tables with and without using XPath! Let us go … [Continue reading]
Hiya rockstars (guitar and music not included though)! In this post, we delve into dropdowns and how to select items in two ways. And yes, we also talk about multiple selections! All concepts will be explained along with examples from our Demo … [Continue reading]