Selenium Webdriver Tutorials

How to capture Screenshot in Selenium Webdriver using Java

The basic rule of testing is to always take screenshot to base your claim. You can take screenshots at any stage of the test, but mostly, it is used for when a test fails and taking screenshots helps the analysis so we can see what went wrong during a test failure. The bugs you log should always have a screenshot attached to it. However, it is not necessary that screenshot should be taken only when you encounter a situation where expected result does not match the actual result. Screenshot are also taken as a proof that things are working fine. In this tutorial we will learn how to capture Screenshot in Selenium Webdriver using Java, i.e. TakesScreenshot class.

Selenium Webdriver Tutorials

How to handle frames in Selenium Webdriver

Occasionally you will encounter the below error when trying to locate an element. One of the reason might be that the element is present within a frame. And when writing a test against them, you can easily get tripped if you’re not paying attention. You cannot directly identify an element present in an iFrame. First we have to switch to the frame and then we can identify the elements present using normal Selenium locators. In this article let’s see how to handle frames in Selenium Webdriver.

Error:

Exception in thread “main” org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {“method”:”id”,”selector”:”tinymce”}

Selenium Introduction Testing Tools

Selenium Automation tool | The Android of Web Automation Testing

Someone rightly said “If you automate chaos, all you get is faster chaos.” Selenium Automation tool – one phrase & you can either make the opportunity or lose one. The most talked-about technology in Software Testing industry. For most of the people, what is Selenium Automation tool? Yeah! I know, something related to automation. But it needs Java, and I don’t know it. Blah! Blah! Blah! Let’s see what Selenium Automation tool actually is!