About 7,210,000 results
Open links in new tab
  1. TestNG option not showing in RunAs option in Eclipse

    Jul 13, 2015 · After you have installed TestNG eclipse plugin, you need to create a TestNG run configuration. From the menu bar select: Run > Run Configurations. Select 'TestNG' from the …

  2. java - How to run TestNG from command line - Stack Overflow

    Aug 10, 2012 · How exactly do I run a .java TestNG project from a command line? I have read through the TestNG documentation, and tried the following to no avail: C:\\projectfred> java …

  3. TestNG ERROR Cannot find class in classpath - Stack Overflow

    Sep 30, 2011 · I'm trying to run testng via command line and I have following things in classpath: testng jar, jar of compiled test case file, and other required jars. testng.xml points to …

  4. Order of execution of tests in TestNG - Stack Overflow

    9 If you don't want to use the @Test(priority = ) option in TestNG, you can make use of the javaassist library and TestNG's IMethodInterceptor to prioritize the tests according to the order …

  5. java - How to disable TestNG console logging [main] INFO …

    May 14, 2024 · I have an automation framework using Selenium, TestNG, and Log4j for logging. When running the tests, TestNG generates a specific log to the console that I'd like to …

  6. java - FAILED CONFIGURATION: @BeforeTest beforeTest . MAVEN; …

    Oct 5, 2017 · Hi I'm trying to run Selenium script with Maven, TestNG in Eclipse. First I right click on my project and select TestNG | Convert to TestNG(testing.xml is created). Then I go to the …

  7. java - parameter is required by @ Test but has not been marked ...

    Jul 11, 2017 · Step1:- In Testng.xml define class name as: "packagname.abc" Step2:- Now right click on testng.xml and Run As-> TestNG Suite. Note: If you directly run testng class …

  8. JNI error has occurred. Please check your installation

    May 8, 2015 · As Akanksha Singh mentioned, we should add the same version of TestNG dependency in a POM.xml file. Check the version of TestNG installed: Help > Install New …

  9. java - How to integrate log4j with TestNG? - Stack Overflow

    I am trying to run my selenium-testng program using log4j.properites. i would like to know how to integrate my testng class with log4j.properties. I have create a sample google logintest using …

  10. java - Error: org.testng.TestNGException: Cannot find class in ...

    Aug 28, 2014 · I faced the similar issue on importing maven with testng project. This was solved by converting again into TestNg project by right click on eclipse project > TestNG > Convert to …