Category Archives: Selenium Java
How To Setup JUnit Environment For Your First Test?
JUnit is a popular Java-based, open-source framework that is primarily used for unit testing. It can be used with Selenium for testing websites and web applications. Annotations in JUnit are used for identifying test methods.
December 7, 2020
How To Run Junit Tests From The Command Line
JUnit is one of the most popular Java-based open-source frameworks used for testing every unit of the application, i.e., classes and methods. And for automating the testing of web applications, you can use it with the Selenium WebDriver.
November 19, 2020
How To Use Thread.sleep() In Java With Selenium ?
Automating a web application optimizes the work, helps minimize errors and makes the product robust. An automated suite would be successful when the behaviour is predictable. If not so, there would be many hurdles in automation that need to be handled carefully.
October 8, 2020
How To Use DataProviders In TestNG [With Examples]
In our earlier posts, we learned about using TestNG parameters in our TestNG scripts. To jog your memory, Parameterization In TestNG helps us pass data through the code and prevent hard-coding. However, TestNG parameters enable us to pass the values only once per execution cycle.
August 18, 2020
How To Capture Screenshots In Selenium? Guide With Examples
Capturing screenshots is pivotal to realize whether your web-application is rendering seamlessly or not. If not, where is it failing? Traditionally, testers were accustomed to capturing screenshots manually for each and every test they ran, which was painstakingly exhausting and time-consuming.
August 5, 2020
How To Install TestNG In Eclipse: Step By Step Guide
This article is a part of our Content Hub. For more in-depth resources, check out our content hub on A Detailed TestNG Tutorial. As you already know, TestNG or Test Next Generation is one of the most frequently used automation testing frameworks in Java. Inspired by JUnit and NUnit, Cedric Beust created TestNG with the … Continue reading How To Install TestNG In Eclipse: Step By Step Guide
July 27, 2020
Browser Automation With Selenium and Java
As per a Walker report, customer experience will have more weightage in 2020 than both price & product, as 86% of consumers will pay more for a better user experience.
June 24, 2020
JUnit Parameterized Test For Selenium Automation With Examples
As an automation tester, you might often come across Selenium test automation scenarios, where you need to execute the same tests, again and again, but with different inputs and environments, making the task exhausting and redundant.
April 21, 2020
Selenium Java Testing: Page Object Model
Performing Selenium test automation is not a luxury in agile development anymore, with increasing number of features to test, the workload on testers keeps piling up.
April 13, 2020