Questions tagged [testng-eclipse]

Experience the seamless integration of TestNG with Eclipse using the TestNG Eclipse plug-in. Effortlessly run your tests directly from Eclipse and conveniently track their progress and results in real-time.

When executing a testNG.xml file with multiple classes in Eclipse, WebDriver windows are not properly closed

I am encountering an issue with my TestNG suite consisting of more than 10 classes. When I initiate the testNG.xml as a suite, the browsers (ff) do not close before moving on to the 2nd class where I have coded to open and close the browser in each class ...

Issue encountered with Windows Handle Selenium operation

Here is the code I wrote to validate a new window opening after clicking on a link: package pages; import java.io.IOException; import org.openqa.selenium.By; import org.testng.Assert; import org.testng.annotations.AfterMethod; import org.testng.annotatio ...

The order in which the test cases are executed by TestNG has been altered with the latest update to version 6.14

After updating the TestNG version to 6.14.2, I started encountering issues with running sequences that were not present when using version 6.8.8. Despite trying various solutions such as changing priorities, the tests did not run as expected. For more deta ...

What steps are needed to generate a testng.xml file that meets these specific criteria?

Execute tests simultaneously in three different browsers - Chrome, Firefox, and IE. Each browser should launch 2 instances, resulting in a total of 6 browser instances when the testng.xml file is triggered. <suite thread-count=3 parallel="tests"> & ...

I keep encountering the error message "The method timeouts() isn't recognized within the WebDriver.Options type"

I have implemented my implicit wait as shown in the code snippet below: //import import org.openqa.selenium.WebDriver; //driver declaration public static WebDriver driver = null; //implicit wait driver.manage().timeouts().implicitlyWait(30, TimeUnit.SE ...

Getting elements from a table in Selenium Web Driver in JAVA is a common task for automating

Seeking ways to pinpoint Elements within the page. A table is present with numerous rows containing multiple Inputs. How can I retrieve Input from the various table rows? Below is my Java class definition: public class Setting extends Page { /**L ...