Codekru

How to Read Data from Excel in TestNG and Selenium

When building test automation frameworks with Selenium WebDriver and TestNG, one of the most common challenges is managing large sets of input data. Hardcoding values into test methods may work for small-scale tests, but for enterprise-level or real-world automation, this approach quickly becomes unscalable and brittle. To solve this, we often turn to data-driven testing, […]

How to Read Data from Excel in TestNG and Selenium Read More »

Constant Throughput Timer in Jmeter with examples

In performance testing with Apache JMeter, maintaining a consistent request rate is often crucial to simulate real-world user behavior and to identify how an application performs under a specific load. The Constant Throughput Timer (CTT) is a built‑in JMeter element designed precisely for this purpose. In this article, we will cover the Constant Throughput Timer (CTT) of

Constant Throughput Timer in Jmeter with examples Read More »

Can we use implicit and explicit waits together?

If you’ve spent any time automating tests with Selenium WebDriver, you’ve probably run into the dreaded “NoSuchElementException” – usually because Selenium tried to interact with an element before it was ready. To deal with such timing issues, Selenium provides wait mechanisms to synchronize your test script with the browser. The two most common types of

Can we use implicit and explicit waits together? Read More »

Wait for element to disappear in Selenium Java with Examples

When automating web applications using Selenium, it is common to encounter elements such as loading spinners, pop-ups, or toast messages that appear temporarily and then disappear. Waiting for these elements to disappear is crucial before moving to the next step; otherwise, your script may fail due to premature actions. In this article, we’ll explore how

Wait for element to disappear in Selenium Java with Examples Read More »

Selenium Locators Speed Test: Fastest to Slowest

When writing Selenium automation tests, selecting an efficient locator strategy directly impacts how quickly and reliably your tests run. We all want our tests to be fast, stable, and easily maintainable. A common question testers often ask is: “Which locator performs the fastest in Selenium?” In this article, we’ll experimentally verify the performance of various

Selenium Locators Speed Test: Fastest to Slowest Read More »

How to capture console logs in Selenium Python?

When working with automated UI tests, one often overlooked but incredibly valuable aspect is browser console logs. Capturing console logs using Selenium in Python helps you identify JavaScript errors, warnings, or any custom logs that might be affecting your application’s functionality or performance. In this article, we’ll walk through how to capture console logs in

How to capture console logs in Selenium Python? Read More »