Is TestNG eclipse plugin version workability dependent on TestNG jar version in pom.xml? - eclipse-plugin

Do the version have to be compatible? How do I find the compatibles?

since testng-eclipse 6.9.10, testng versions below 6.5.1 are not supported any more, please see more details in the change log: https://github.com/cbeust/testng-eclipse/blob/master/CHANGES.md#6910

I hope below link helps you..
http://testng.org/doc/download.html
Now a days all are Eclipse 3.4 and more.. you can happily use latest testng dependent in pom.xml
Thanks

Related

Is Serenity compatible with Junit 5?

I have been working on a Spring boot project and started testing it using Serenity but I can't seem to use it with Junit 5.Can someone please help me? Thanks in advance.
Well, the day after I posted the question, there was an update that became available which makes Serenity compatible with Junit 5.Just add the following dependency:
<dependency>
<groupId>io.github.fabianlinz</groupId>
<artifactId>serenity-junit5</artifactId>
<version>1.2.1</version>
</dependency>
To run a JUnit5 test with Serenity BDD, simply add the annotation #net.serenitybdd.junit5.SerenityTest (instead of #org.junit.runner.RunWith(net.serenitybdd.junit.runners.SerenityRunner.class) for JUnit4)
For more details refer to: https://github.com/fabianlinz/serenity-junit5
Serenity 2.6.0 added beta support for JUnit 5
https://github.com/serenity-bdd/serenity-core/releases/tag/2.6.0

Error while Installing TestNG Eclipse Plugin 6.14.3 Version

I am getting the following error while installing TestNG plugin( 6.14.3) in Eclipse.
Missing requirement: TestNG Eclipse Support 6.14.3.201902250526
(org.testng.eclipse 6.14.3.201902250526) requires 'bundle
org.eclipse.jdt.launching 3.10.0' but it could not be found Cannot
satisfy dependency: From: TestNG 6.14.3.201902250526
(org.testng.eclipse.feature.group 6.14.3.201902250526) To:
org.testng.eclipse [6.14.3.201902250526]
I am using Eclipse Oxygen- March Edition. Could anyone please help me here?
Your version on Eclipse (Oxygen) is too old for that version of TestNG.
Version 3.10.0 of org.eclipse.jdt.launching was not introduced until Eclipse Photon so you need at least that version of Eclipse, but preferably the current version (Eclipse 2018-12 at time time of writing)
We had same issue for several employees. In our case it doesn't relate to Eclipse version.
Seems as new WebSense antivirus blocked the installation of the TestNG from default location. Eclipse showed the error from the description and continued to look for "alternative solution" which took many hours, but finally TestNG was installed successfully. Just have patience. Or try to disable antivirus.
let process to continue in spite of the error
Thanks Greg and Ilana.
TestNG installed successfully when the Eclipse was updated to 2018-12 Version.
If you are facing issue while installing TestNG in Eclipse version there are few simple steps to follow:
Download zipped latest version of Eclipse from below location (http://dl.bintray.com/testng-team/testng-eclipse-release/)
Store it your drive (zipped folder suppose in C drive)
After that go to Eclipse and install new software, click on add, archive, and complete the installation by selecting Next option when prompted)
Restart Eclipse you will see TestNG option in there.
while installing from add new software ,there is an option to check for solution rather than default selection. Please select different version of TestNG which is compatible with your eclipse version .This solution worked for me while using eclipse Mars(4.5.2)

how to import cucumber eclipse plugin manually?

I couldn't install cucumber eclipse plugin from "http://cucumber.github.com/cucumber-eclipse/update-site
" from Help--> Install New software because of firewall restriction.
Can anyone provide the jars for recent cucumber eclipse plugin and provide the steps to manually add them to eclipse please ?
This website might be helpful for you:
http://toolsqa.com/cucumber/download-cucumber-jvm-eclipse/
There are 3 options available:
1. Download Cucumber Jars from Online Maven Repository
2. Download Cucumber Jars from oss.sonatype.org
3. Download Cucumber Jars from Maven dependencies
All of them are detailed on the website.
Hope it helps!

Installing plantuml plugin in Netbeans 8.1+

Is there an available plantuml plugin version compatible with Netbeans 8.1+. The one available (1.4/1.5) in the Netbeans plugin network is not.
Thanks in advance.

How do I install Robot framework and selenium 2 library with Jython?

I searched a lot regarding this. Still I didn't get any definite answer for this. Someone Please explain me on how to do this. Please mention the compatible versions also.
You can use the Selenium 2 java robot framework.
Just add the following dependency to the pom file (if you use maven)
<dependency>
<groupId>com.github.markusbernhardt</groupId>
<artifactId>robotframework-selenium2library-java</artifactId>
<version>1.4.0.6</version>
</dependency>
If you don't use maven, just download the jar from
https://github.com/MarkusBernhardt/robotframework-selenium2library-java
(You can find a link there to the jar with the dependencies in it)
This is compatible with all jython versions (since it's java based)