Configuration error while running tests in TestNG through eclipse - selenium-webdriver

While I was running my tests through TestNG, I am getting the error mentioned below. Can anyone help me in getting this resolved?
org.testng.eclipse.maven.MavenTestNGLaunchConfigurationProvider.getClasspath(Lorg/eclipse/debug/core/ILaunchConfiguration;)Ljava/util/List;

Today I had a same issue and solved with below steps.
While installing TestNG, please uncheck the chck box for M2E Maven related one and continue the installation process.
Restart the Eclipse and execute a test case....

Related

'abp' is not recognized as an internal or external command,

I just started exploring the Abp features, I created a sample project from their website and able to build the project successfully. But When I run the dbmigrator project getting an exception,
Below is the screenshot of the error,
I followed this article to run the app
https://docs.abp.io/en/abp/latest/Getting-Started-Running-Solution?UI=MVC&DB=EF&Tiered=No
Do we need to install any additional package to make it work?
Any help would be appreciated.
I think you are missing the abp cli.
dotnet tool install -g Volo.Abp.Cli
Just install it using the above command and try again in a new prompt. it should fix the issue.
If you sure about abp.cli is already installed, you can run the command using by abp.exe file path like this:
C:\Users\username\.dotnet\tools\abp.exe new Acme.BookStore

Facing issue "Error Code: EPERM" while conducting a build for hawtio which includes typescript and Angular files

I am getting this issue during a build on my project. I am trying to modify the typescript and angular files in Hawtio API.
It gives the error message as Error Code : EPERM.
Using --force and other similar commands, goves successful build but doesnt give required output.
Below is the screenshot of the prompt.
It does not specify any errors but the build fails everytime.
Can anyone suggest what should be the approach to rectify it?
PhantomJs on windows machine usually causes this issue. Issue log related to the same.

Gradle assembly debug failing for Gearvr

I am trying to run an gearVR application from android studio. I am seeing the following error from framework.
Missed few configuration/settings.
Follow this https://github.com/Samsung/GearVRf/releases/tag/v3.0.1 to upgrade the version.

Error: Could not find chromedriver while following angularjs official tutorial

At first I have to say this is my first touch with angularjs and node.js so this will be probably a stupid issue, but I want to learn to work with angularjs so I followed this tutorial https://docs.angularjs.org/tutorial and everything went as expected, until I got to Running End to End Tests part.
When I run this command:
npm run update-webdriver
it says:
selenium standalone is up to date.
chromedriver is up to date.
Then I turn on the local server:
npm start
And while its running I run tests:
npm run protractor
which in my terminal results into:
o
Using ChromeDriver directly...
[launcher] Error: Could not find chromedriver at
/home/qw/www/angular-phonecat/node_modules/protractor/selenium/chromedriver.exe
Th file chromedriver.exe really doesnt exists (there is chromedriver_2.10.zip), and I really dont think an .exe file should be there, considering Im using ubuntu 14.04 (this tutorial shoul be for angular version is 1.4.0).
Is this a tuto for some windows version?
Could anyone help me (the way a beginner could understand :) )?
You need to use the webdriver-manager from inside the protractor package:
node_modules/protractor/bin/webdriver-manager update
I was following the tutorial on AngularJS step 3 and had the same issue, but it was caused by missing chromedriver file. I solved it by the following steps:
Go to folder angular-phonecat\node_modules\protractor\selenium to see if you have the following two files:
chromedriver.exe
selenium-server-standalone-2.42.2.jar
If not, download the chromedriver from here: http://chromedriver.storage.googleapis.com/index.html
and the selenium from here:
http://docs.seleniumhq.org/download/
Then put the downloaded files to the angular-phonecat\node_modules\protractor\selenium folder
In the command window, enter npm start to startup the app and in the second command window, enter npm run protractor to run the end to end test with protractor.
Then you will see the lovely Chrome window come up and run the tests.

Debugging AngularJS Code in JHipster (Intellij)

I am running Application.java from within IntelliJ and Grunt Serve from the Command Window. Thus, I can debug Java code and Live Reload changes to Html. But I cannot set breakpoints or trace Javascript files.
I know I could debug in Chrome, but I rather debug in IntelliJ if at all possible.
I would appreciate any suggestions.
Thanks
You should be able to do this with the NodeJS plugin for IntelliJ. I have it installed on my machine and I'm able to right-click on my project's Gruntfile.js and select Run or Debug.

Resources