how to import cucumber eclipse plugin manually? - eclipse-plugin

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!

Related

How to setup TestNG in selenium webdriver?

I am using selenium webdriver for website testing. Now I want to setup TestNG in my selenium webdriver. How it possible? Is there any JAR files for testng?
Add testng maven dependency to your pom.xml file. Jars will be auto downloaded. Then you can start using testng in your project.
https://mvnrepository.com/artifact/org.testng/testng
YOu can see all versions her, download the JAR files or use the dependencies in your POM.xml if you use Maven
You can get the testng from the eclipse market place by searching Testng,simple install that you can now use testng on your project.
You can also find this jar for testng libraries and add it to your project.
http://testng.org/testng-6.8.zip
You can install testng from Market place if not found install as software. Details are provided in documentation
https://testng.org/doc/download.html
Once installation is done and eclipse restarted then add TestNG library to you project and then good to go.
For build tools you need testng jars, you can download from maven repository. If you are using maven add dependency in pom.xml as said in another answer.
First you need to install TestNG from - TestNG P2 - https://testng.org/testng-p2-update-site. Steps are mentioned below:-
Launch Eclipse and go to Help option present at the top and select -"Install New Software".
A new dialog box will appear. Mention Name as TestNG and location as "http://beust.com/eclipse/" and click on Add button.
This time we will see TestNG added in Install dialog box.
Once the installation is completed, you will get a message to Restart the Eclipse and select to Restart the Eclipse.
You are all set. In case you want to know more about TestNG, you can refer this link.

how to work in selenium with testNG in Netbeans IDE?

I am new in automation testing. I know that how to configure testNG with eclipse IDE but I did not get that how to configure testNG with netbeans IDE.
I have already included selenium webdriver library files in netbeans.
can anyone help me?
Thanks
Rohit Joshi
Download latest version of NetBeans
Download the TestNG plugin for NetBeans
If you are going to use Maven then get the TestNG Maven plugin for NetBeans
Start NetBeans IDE and go to Tools -> Plugins
NetBeans IDE
Go to Downloaded tab and select Add Plugins
Navigate to the location on your hard disk where you have saved the .nbm file and select it and click Open
The plugin is made visible in the Downloaded window
Select it and Install
There it is!! You are now privileged to use TestNG with your NetBeans.
To use TestNG, right click anywhere in the editor window and you can see TestNG. Mouse over it and create Test using TestNG.
You can also visit the following link https://netbeans.org/kb/docs/java/testng-screencast.html

Sonar Intellij integration on a multi-module Gradle project

I have a multi-module Gradle java-based project. I have a Sonar server configured with a host of rules. I have tried to integrate Sonar rules into the project in the three following ways, none of which yield a solution where the IDE issues flagged match the Sonar server's flagged issues.
Has anyone integrated Sonar Findbugs, PMD and Checkstyle rules with Intellij on a multi-module Gradle-built java project?
I've tried these steps:
Attempt #1
Sonar has put out an Intellij plugin (https://github.com/SonarSource/sonar-intellij). I attempted to install and configure it with my Sonar server. The plugin was able to hit the Sonar server to pull down profiles, but it was not able to integrate with our gradle project. Right now only multi-module Maven projects appear to be supported by this plugin.
Attempt #2
There is a community developed Sonar Intellij plugin (https://github.com/sonar-intellij-plugin/sonar-intellij-plugin). I stepped through documentation install steps and did troubleshooting to integrate the plugin with individual modules and the top level project. Neither works. When i select 'sync with sonar' I am not able to see the sonar profile when I edit the profiles in 'Analyze code' within the Intellij IDE.
Attempt #3
I found another Intellij plugin called QAPlug (http://plugins.jetbrains.com/plugin/4594) and followed some instructions to export Sonar Findbugs, PMD & Checkstyle rules so that I could import them into this QAPlug and analyze the code using the same rules as the Sonar server. I followed these instructions (http://qaplug.com/about/tutorials/) and got errors when trying to import the FindBugs config I had exported from Sonar. I did some Regex and reformatted the Findbugs component of the export from Sonar to convert it to the format that is importable to the QAPlug plugin in Intellij. I was able to import this ruleset, but got different results from those in Sonar itself. I got the same effect when I followed the advice from post: Sonar, QAPlug, IntelliJ Integration - Multiple profiles?
I contacted Intellj directly and their response to me was to use the community developed plugin (Attempt #2 above).
Given that answer and the lack of additional feedback here, the answer appears to be sonar integration with Intellij 13 is not supported for multi-module gradle java projects by the currently available plugins.

How to download eclipse plugin separately

Hi im gonna install javafx plugin for my eclipse ide.I want to download the Archive and then install it offline from my computer.the url is http://javafx.com/downloads/eclipse-plugin/
So How can I do that?
Thanx in advance
There is no eclipse plugin at the URL from your question.
The JavaFX 2 eclipse plugin is e(fx)clipse.
Here are the installation instructions.

How to configure Aspectj for Eclipse

I am trying to configure Aspectj in eclipse but its not working can someone please share the full configuration of aspectj. I also explored different tutorials but of no use if some one has usefull stuff regarding this please share.
Can i download the eclipse ide having builtin support for Aspectj
I don't think Eclipse comes bundled with AspectJ. You can download it here:
http://eclipse.org/ajdt/downloads/
Install it as you would any other Eclipse plugin, e.g. via Help -> Install New Software (in Eclipse 3.7.1).
http://eclipse.org/ajdt/gettingstarted.php
Once installed, you can create AspectJ projects using the New -> Project menu.
Now you will have an AspectJ project that you can write aspects (.aj files) in.
http://eclipse.org/aspectj/doc/released/progguide/starting-aspectj.html#aspects