Testng
Can i use two dataproviders in a single @Test method?
I have and Excel with data in two sheets(DataPool and Controls). Both the data have some common values like IDs which is common in both the sheets.[详细]
2023-02-26 11:16 分类:问答Stop Suite Execution After First Failure In TestNG
I am using Ant to execute a set of TestNG tests as follows: <testng suitename=\"functional_test_suite\" outputdir=\"${basedir}/target/\"[详细]
2023-02-25 17:45 分类:问答Where to find 5.x Testng eclipse plugin
Anyone knows where I can find TestNG eclipse plugin 5.x (5.14 for example)? the update site http://beust.com/eclipse only lists 6.x which is 开发者_开发知识库causing problems for me. http://beust.com/[详细]
2023-02-24 10:19 分类:问答TestNG parallel tests failing
First let me put out the structure of my tests: There is BaseTest(Singleton) containing a setUp() method which runs @BeforeSuite. This setUp() method initializesMyObject which is declared as:[详细]
2023-02-23 21:52 分类:问答NullPointerException during using verifyTrue(boolean)
I am using Selenium with Java, TestNG. My java code is as follows: public static SeleneseTestCase seleneseTestCase; (class level variable)[详细]
2023-02-23 15:17 分类:问答TestNG - how to change the DefaultSuite and DefaultTest to your choice of name in the results file
I am running TestNG with Selenium 2.0 and Eclipse. My results get generated in the /test-output folder. The index.html and emailable-report.html files show the test name as default test and suite name[详细]
2023-02-23 06:12 分类:问答Mock @org.jboss.seam.annotations.in behaviour for unittest
The test: public class BeanTest { private SomeBean target; @Test(groups = \"integration\") public void checkIfAuthenticationWorks() {[详细]
2023-02-22 10:48 分类:问答how can I dynamically schedule the tests to be run by TestNG?
In a given suite which uses 10 threads and has 100 tests I want to provide tests to be run dynamically so that next to be run test case out of remaining tests need to determined by my own logic and gi[详细]
2023-02-22 04:11 分类:问答Maven/Surefire not finding unit tests
I tried creating a test project with maven and the unit testing worked fine. However, when trying to do the same for a j2ee project, the unit tests cannot be found by surefire. The tests are in the co[详细]
2023-02-22 00:34 分类:问答Can we retrieve XML data into DataProviders in TestNG? if so how?
I have an XML file with data of popup information. I need to retrieve them one by one and use it in my test method in Java.[详细]
2023-02-21 22:39 分类:问答