is there any JDK which will help to resolve my issue - api

enter image description here
I am not able to run my Test Runner file in my BDD framework
I had change jdk also but still facing same issue

Related

cannot resolve com.sun.jersey

Within web.xml cannot resolve package com.sun.jersey with IntelliJ IDEA Ultimate:
enter image description here
all necessary dependencies are described in pom.xml and appropriate libraries have been downloaded by Maven throughout compile:
enter image description here
This problem occurs under Fedora Linux
under Windows everything seems to be ok.
Who could give some advice, please
thank you

Run Hybris unit test in intellij Idea community edition

i want to run hybris unit test using intellij community edition like how we do it on eclipse.
I don't want to use Hybris intergation plugin as it was failed to defect the unittest that are present in custom directory. when i try to run the test Intellij native build is triggering but not the ant build. and i am resolving the dependencies whenever intellij throws me build fail with those errors.
Can anyone help me to set this up or guide me through what all necessary steps to follow.
I am using latest version of community edition , Junit - 4 & Mockito for writing unit tests.
Thanks in advance.
I was able to Run the tests once i resolved all the errors that was throwing by intellij.
refer the Image here
Once you click on that run button, you get build errors, once you resolve those build errors then automatically that test will run. if it says shorten the command line then
Please refer this article by Intellij, hope this helps.

Robotium Error message

After click on the New test for robotium recoder I am getting error message for Please select the root Java JDK folder.
My JAVA_PATH,HOME_PATH,CLASSPATH are saved properly in the environmetn variables.
I am using windows 10.(64-bit)Screenshot for issue
You wrote about
JAVA_PATH,HOME_PATH,CLASSPATH
Is %JAVA_HOME% configured correctly?
You can simply verify it using cmd.exe
java -version
If yes - add JDK for eclipse.
This article should help:
How to Change JDK version for an eclipse project
UPD:
Here steps for Robotion with screenshots with your issue resolved:
Blog

Installation issues on TestNG?

I have tried to install TestNG in eclipse Help--> Install new software http://beust.com/eclipse
I am getting following error:
Unable to connect repository http://beust.com/eclipse/content.xml
So I have downloaded testng-6.8.6beta.zip and imported those jars in Build Path and added Junit 4 library.
Still when I click Run As in the class (Test case) it does not show me Run As TestNG, shows only java application.
Am I missing anything?
You can try the following:
Open Eclipse -> Help -> Eclipse Marketplace.
and trying installing testNG plugin after searching it.
Try:
Open eclipse
Help > Install new software
Enter the update site URL in "Work with:" http://beust.com/eclipse/6.9.12
Click on ok
Edit:
Just click on http://beust.com/eclipse - it'll show you all the versions available.
Then Add the URL to work with as http://beust.com/eclipse/version_number (like the example given above)

Do we need to install JDK to run WebDriver's TestNG tests through command line?

I am new to Selenium/WebDriver and created a project which I can execute through Eclipse IDE successfully. Now, I plan to run the test through command prompt by creating the proper TestNG1.xml and making sure the testng-6.8.5.jar is correctly pointed in PATH. I even tried giving full path of the testng-6.8.5.jar. Unfortunately I keep getting the error,
Error: Could not find or load main class org.testng.TestNG
I don't have JDK installed (and I don't want to install) so wondering if JDK is mandatory to run TestNG tests from Command line? From above error it looks like it's not even trying to access the TestNG1.xml I have.
I plan to distribute these tests as group of files to my fellow Business Analyst who only have JRE installed on their machine.
Yes, you need JDK installed where you are going to run your Test Here is some documentation of TestNG
Having JRE is enough to run the TestNG tests, or no need to install JDK to run the TestNG tests through command line
the issue was with the testng-6.8.5.jar library as selenium-server-standalone-2.32.0.jar was allowing me to run the project with no errors.