Forum Discussion

andrewa's avatar
andrewa
Contributor
7 years ago

TestNG/Selenium integration looking at strange folder

So my managers want me to start writing some new tests using Selenium. I wanted to be able to run the new Selenium tests from Test Complete. I looked up the documentation on how to set that up in Test Complete, but for some reason it can't seem to find my test files.  When I look at the Additional Info that Test Complete provides, I noticed that it was a including a folder that doesn't exist anywhere in my folder structure.  Is there any way to configure Test Complete so it looks in the correct place for my Selenium code?

 

I've attached some screenshots of the setup and the log file that Test Complete is giving me.

5 Replies

  • Bobik's avatar
    Bobik
    Frequent Contributor

    Have you tried run your pom.xml  by 'mvn.bat' directly? May be you have some errors in your Maven project?

    • andrewa's avatar
      andrewa
      Contributor

      I don't think there is a Maven project problem. When I select 'All Tests' it actually runs all of the tests I have in the project. I was just hoping I could get the 'specific' test feature working.

      • Bobik's avatar
        Bobik
        Frequent Contributor

        Try write class name in TC like "withdrawalTest.loginTest".