Forum Discussion

nisgupta's avatar
nisgupta
Valued Contributor
9 years ago

selenium webdriver java program from testComplete

I have created the Selenium webdriver java program . I have used maven. I have used intelliJ 

 

Now I have installed the trial version of  TestComplete . I am trying to run the selenium java program from TestComplete 

 

I have 7 test suites corresponding to 7 java programs for e.g.

abctest.java

xyztest.java

pqrsttest.java and so on.

I am able to run all 7 testsuites using the option selected - Use Maven Project

 

Run all tests

 

All 7 test suites ran.

 

Now I want to run only 1 test suite . I am not able to run . It give me the following error 

"java.exe" org.junit.runner.JUnitCore C:\Users\nisgupta\IdeaProjects\mydirectdeposit\src\test\java\edu\ttu\itis\testcases\CohortsAttributesTest

 

JUnit version 4.11 Could not find class: C:\Users\nisgupta\IdeaProjects\mydirectdeposit\src\test\java\edu\ttu\itis\testcases\CohortsAttributesTest Time: 0.001 OK (0 tests)

 

I selected the options

 

Use Maven project 

 

Run the following test classes - I put the values edu.ttu.itis.testcases.CohortsAttributesTest

 

Let me know what I am missing here. I am suprised when I select to run all the tests , it ran but when it I select any one test suite it fails to run.

 

Please advise

 

Thanks

NG