Forum Discussion

todd2's avatar
todd2
Contributor
3 years ago

Attach TestComplete to Selenium Java project

Hello.  I am new to the SmartBear community.  I am trying to connect my TestComplete installation to an existing Java/Selenium project.  I saw a video that explained the steps but when I right clicked TestNG, my target framework, I received errors in the logs.  I have 10 or more classes that I want TestComplete to read and launch the browser and run the tests in my project.  I have excel files that contain xpath that I want TestComplete to read and execute.  I dont want to use Test Complete xpath because it does not seem standard to me but that could be my lack of experience.  I look forward to your advice.

 

The error I see is 

 

mvn.cmd test-compile
The system cannot find the file specified

 

 

  • What file is being accessed there? Is the file path correct and is it accessible from the TestComplete computer?

    • todd2's avatar
      todd2
      Contributor
      Hello. Thank you for replying. It’s a Pom.xml file and it’s living in a
      place TestComplete can reach.

      Todd
      • Marsha_R's avatar
        Marsha_R
        Moderator

        Can you show us a screenshot of where you set the file path?