Share what you Learned !!! Happy Learning !!!

YOSUVA.com

YOSUVA.com Navigation
  • Home
  • About
  • Tools
    • Appium
    • Selenium
      • Selenium Tutorials
    • Excel Macros
    • Ranorex
  • Contact
  • Search
  • Home
  • About
  • Tools
    • Appium
    • Selenium
      • Selenium Tutorials
    • Excel Macros
    • Ranorex
  • Contact
  • Search

Category Archive

Home Blog Ruby

How To Test for Disabled Elements in Selenium Java, Python, Ruby, C#

Yosuva ArulanthuAugust 12, 2022C#, Java, Python, Ruby, Selenium, Test Automation, TestingLeave a Comment

On occasion, you may have the need to check if an element on a page is disabled or enabled. If we look at the API documentation for Selenium’s IWebElement Interface, we can see there is an available method called Enabled that can … Read More

How To Run Your Selenium Tests on Chrome Browser Java, Python, Ruby, C#

Yosuva ArulanthuAugust 12, 2022C#, Java, Python, Ruby, Selenium, Test Automation, TestingLeave a Comment

It’s straightforward to get your tests running locally against Firefox. But when you want to run them against a different browser like Chrome, you download the ChromeDriver and mention the file path before creating the WebDriver object. Chrome Driver can be … Read More

How to run Selenium scripts in Safari Browser in Mac using SafariDriver Java, Python, Ruby, C#

Yosuva ArulanthuAugust 12, 2022C#, Java, Python, Ruby, Selenium, Test Automation, Testing, XPATHLeave a Comment

As a prerequisite, we need to enable the Remote Automation feature from the developer menu. To do so, enable the Safari Developer menu first with the steps below: Go to Safari -> Preferences-> Advanced Tick mark the Checkbox with … Read More

How To Handle Exceptions in Selenium Java, Ruby, Python, C#

Yosuva ArulanthuAugust 8, 2022Java, Ruby, Test Automation, TestingLeave a Comment

It doesn’t take long when using Selenium before you run into errors from Selenium that may seem inexplicable (e.g., NoSuchElementException or StaleElementReferenceException). They can be a bit of a shock if you’re not sure what they are, how to handle them, or where to … Read More

How To Take a Screenshot on Failure with Selenium Java, Python, Ruby, C#

Yosuva ArulanthuAugust 8, 2022C#, Java, Python, Ruby, Selenium, Test Automation, TestingLeave a Comment

With browser tests, it can often be challenging to track down the issue that caused a failure. By itself a failure message along with a stack trace is hardly enough to go on. Especially when you run the … Read More

How To Right-click with Selenium Java, Python, Ruby, C#

Yosuva ArulanthuAugust 8, 2022C#, Java, Python, Ruby, Selenium, Test Automation, TestingLeave a Comment

Sometimes you’ll run into an app that has functionality hidden behind a right-click menu (a.k.a. a context menu). These menus tend to be system-level menus that are untouchable by Selenium. So how do you test this functionality? By leveraging Selenium’s Action … Read More

How To Work with Multiple Windows in Selenium Java, Python, Ruby, C#

Yosuva ArulanthuAugust 8, 2022C#, Java, Python, Ruby, Selenium, Test Automation, TestingLeave a Comment

Occasionally you’ll run into a link or action in the application you’re testing that will open a new window. In order to work with both the new and originating windows, you’ll need to switch between them. On the face … Read More

How To Work with HTML Data Tables in Selenium Java, Python, C#, Ruby

Yosuva ArulanthuAugust 8, 2022C#, Java, Python, Ruby, Selenium, Test Automation, TestingLeave a Comment

Odds are at some point you’ve come across the use of tables in a web application to display data or information to a user, giving them the option to sort and manipulate it. Depending on your application it can … Read More

How To Mouse Hovers in Selenium Java, Python, C#, Ruby

Yosuva ArulanthuAugust 5, 2022Java, Python, Ranorex, Ruby, Selenium, Test Automation, TestingLeave a Comment

If you need to work with mouse hovers in your tests it may not be obvious how to do this with Selenium. And a quick search through the documentation will likely leave you befuddled forcing you to go spelunking through StackOverflow … Read More

How To Select from a Dropdown in Selenium Java, Python, Ruby, C#

Yosuva ArulanthuAugust 2, 2022C#, Java, Python, Ruby, Selenium, Test Automation, TestingLeave a Comment

Selecting from a dropdown list seems like one of those simple things. Just grab the list by it’s element and select an item within it based on the text you want. While it sounds pretty straightforward, there is a bit more … Read More

  • Page 1 of 2
  • 1
  • 2
  • →
  • Home
  • About
  • Tools
  • Contact
Toggle the Widgetbar