Everything is not easy at the beginning. Once you start your Selenium automation journey, you will frequently encounter certain exceptions in Selenium WebDriver. But don’t worry, we got you covered. It’s good to have a basic knowledge about 11 of the most common Exceptions in Selenium WebDriver which you may / may not encounter during the course of your test automation.
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.
The overwhelming evolution of the software testing industry is forcing testers to continuously strive to upgrade their skills. In the last couple of years, software testers have seen the writing on the wall: as test operations grow increasingly automated, scripting skills are essential to grow your career in Software Testing. Automation testing is the new ‘necessary’ trade you at least need to know about. Software testers with manual testing skills alone won’t cut it in today’s job market. It all started with Manual Testers, but as the supply grew (it’s really crowded now) the industry needed some measure of Tester’s capability apart from Manual concepts. The easiest was of course – scripting skills – after all IT is all about that ‘lines of code’ ? and hence Automation Testing became the new ‘Generic’. The fact remains that automation testing continues to rise.
What do you think should be the first script in our journey to learn Selenium Automation testing? Yeah! For any web-based testing, first & foremost you need to launch a browser and open the application URL. How? Let’s learn how to launch Chrome browser using Selenium Webdriver!