Questions tagged as 'test-ng'

1
answer

DbUnit Tests with SilkCentral

I am trying to run a DbUnit test using SilkCentral on a remote virtual machine that acts as the execution server. The .class that I want to run is in the \p6621va\ucd\ucdmain_TEST\bin\es\bde\aps\ucdmain\ias\tests\AllTests.class director...
asked by 03.01.2017 / 14:10
3
answers

ERROR TO CORRECT MY PROJECT (Error: A JNI error has occurred, please check your installation and try again)

When I try to run my test project (Selenium and testNG) I get this error: Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.NoClassDefFoundError: com/beust/jcommander/ParameterEx...
asked by 29.09.2016 / 18:19
1
answer

Error: A JNI error has occurred, please check your installation and try again

I have the following exception: how could I resolve it? Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.NoClassDefFoundError: com/beust/jcommander/ParameterException at java.la...
asked by 03.10.2016 / 21:48
1
answer

Help with a webdriver test with geckodriver and selenium ide

I'm using selenium ide the oldest version where you can export the script in testng driverweb format, the issue is that I tried several ways to run the test but I still have problems with the test, here's the code: @BeforeClass(alwaysRun = tru...
asked by 20.11.2018 / 01:44
1
answer

I have this exception testng: Caused by: java.lang.NoSuchMethodError: org.apache.http.params.HttpConnectionParams.setSoReuseaddr

What should I do to avoid this exception when I try to run my selenium tests with testNG.    org.testng.TestNGException: Can not instantiate class   TestCaseJuntos.BeforeandAfterclass at   org.testng.internal.ObjectFactoryImpl.newInstance (Ob...
asked by 29.09.2016 / 20:49
2
answers

I have several dropdown with the same ID in the xpath (SELENIUM)

What should I do if I have 2 dropdown, for example, but the name on the xpath is the same? How can I do to identify them? There is no name and the ids are the same. The code for both is this: <input id="dropdown-input" c...
asked by 13.12.2016 / 21:02
1
answer

I have an exception when I try to run my project and I do not understand why (Selenium and TestNG)

I have the following exception when I try to do some tests with selenium using testng, but it tells me that I have an exception caused by Selenium web driver; as I understand it is by FireFox but I do not know how to fix it. org.testng.TestNGE...
asked by 21.09.2016 / 23:43
0
answers

Class module-info missing a super type

I'm trying to make a test case with Appium on Android with some dependencies, but one of them is causing this error:    Illegal class file: Class module-info is missing a super type. The dependency that causes the problem is selenium-serv...
asked by 25.09.2018 / 09:25
0
answers

TestNG / Java - Can I define in an XML that a TestNG group executes certain parameters?

I happened to have: @BeforeClass(groups = {"group1","group2"}, //Codigo que se ejecuta antes de iniciar la prueba } @BeforeMethod(groups = {"group1", "group2"}, //codigo base para todos mis casos de prueba } @AfterMethod(...
asked by 21.05.2018 / 23:20
0
answers

Selenium TestNG - java.lang.NullPointerException

I've been trying to do a testng test in selenium, but it's throwing the following exception to me when executing: FAILED: Login java.lang.NullPointerException at Vejez.prueba1Vejez.Login(prueba1Vejez.java:30) at sun.reflect.NativeMethodAccesso...
asked by 03.04.2018 / 00:50