Results 1 to 4 of 4
  1. #1
    shikhars is offline Member
    Join Date
    Jan 2014
    Posts
    1
    Rep Power
    0

    Default Maven integration with Testlink tool - Dependencies issue

    I am trying to integrate ny Webdriver scripts withTestlink. But i am not able to download the dependencies required through maven. Below is my pom.


    <dependencies>
    <dependency>
    <groupId>br.eti.kinoshita</groupId>
    <artifactId>testlink-java-api</artifactId>
    <version>1.9.8-1</version>
    </dependency>
    ...
    </dependencies>

    I am able to download this api. But i get below error for some client api.

    package testlink.api.java.client does not exist



    Can someone please guide me from where to download these dependencies.


    Thanks

  2. #2
    wsaryada is offline Senior Member
    Join Date
    Jun 2007
    Location
    Bali, Indonesia
    Posts
    758
    Rep Power
    8

    Default Re: Maven integration with Testlink tool - Dependencies issue

    If this library is a public API you can try to search it in the maven central repo. Search at The Central Repository Search Engine. If it already in you pom.xml then maven should be able to download it.

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,870
    Rep Power
    5

    Default Re: Maven integration with Testlink tool - Dependencies issue

    The dependency is not the issue, it exists. But it does not contain the package mentioned. It may be from an older version.

    EDIT: it is probably in a different library 'Testlink-client-api-2.0.jar'. But that would be weird as that seems to be part of an Eclipse plugin.

    http://code.google.com/p/dbfacade-te...%2Fruntimelibs
    Last edited by gimbal2; 01-24-2014 at 03:35 PM.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  4. #4
    Swapnil111 is offline Member
    Join Date
    Aug 2014
    Posts
    1
    Rep Power
    0

    Default Re: Maven integration with Testlink tool - Dependencies issue

    Hi All,

    I am also facing same issue.I am struggling with dependencies for Java-api-client 2.0.jar file.Please guide me through steps if anyone has resolved this issue-

    Issue-
    When I run selenium test from TestNG, it works fine,Testresults are getting updated in Testlink but when I run entire suite from Maven, error is thrown.
    -------------------------------------------------------
    T E S T S
    -------------------------------------------------------
    Running TestSuite
    Tests run: 3, Failures: 2, Errors: 0, Skipped: 1, Time elapsed: 1.207 sec <<< FAILURE!

    Results :

    Failed tests: setUp(salesForceTest.SampleScenariosTest): testlink/api/java/client/TestLinkAPIException
    tearDownWebDriver(salesForceTest.SampleScenariosTe st): testlink/api/java/client/TestLinkAPIException

    Tests run: 3, Failures: 2, Errors: 0, Skipped: 1

    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 3.573s
    [INFO] Finished at: Tue Aug 05 11:03:37 IST 2014
    [INFO] Final Memory: 5M/15M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project RegressionSuite: There are test fail
    ures.
    [ERROR]
    [ERROR] Please refer to D:\RegressionSuite\target\surefire-reports for the individual test results.
    [ERROR] -> [Help 1]
    org.apache.maven.lifecycle.LifecycleExecutionExcep tion: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test)
    on project RegressionSuite: There are test failures.

    Please refer to D:\SFDC_August\GTCAutomation\RegressionSuite\targe t\surefire-reports for the individual test results.
    at org.apache.maven.lifecycle.internal.MojoExecutor.e xecute(MojoExecutor.java:213)

Similar Threads

  1. Maven - missing POI dependencies
    By Levian in forum Apache Maven
    Replies: 2
    Last Post: 10-18-2013, 03:05 AM
  2. Parent Project Not getting maven dependencies
    By roxy1987 in forum Apache Maven
    Replies: 3
    Last Post: 08-08-2013, 09:06 AM
  3. Replies: 1
    Last Post: 04-23-2013, 04:56 PM
  4. Replies: 0
    Last Post: 04-20-2009, 06:26 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •