kinow / testlink-java-api

TestLink Java API
http://kinow.github.io/testlink-java-api/
MIT License
64 stars 88 forks source link

Error While Integrating TestLink with Maven Pojects #69

Closed shabana-parveen closed 8 years ago

shabana-parveen commented 8 years ago

I am shabana, I tried to integrate TestLink with Selenium webDriver using Maven Framework, I use below dependency, but it showing TestLinkAPIClient symbol doesn't exist. What I observed here is TestLinkAPIClient package is missing from the dependency, So to solve the problem I added TestlinkApIClient api dependency inside Plugin then TESTLINKAPICLIENT problem is resolved but now Maven is unable to understand WebDriver, Also, When I integrate my framework using TestNG Framwork after downloading full testlinkapiclient package jar, execution results successfully updated in Testlink. I went through various site but nothing seem to working.

    <dependency>
        <groupId>org.apache.xmlrpc</groupId>
        <artifactId>xmlrpc-common</artifactId>
        <version>3.1.3</version>
        <type>jar</type>
        <scope>compile</scope>
    </dependency>
    <dependency>
        <groupId>org.apache.xmlrpc</groupId>
        <artifactId>xmlrpc-client</artifactId>
        <version>3.1.3</version>
        <type>jar</type>
        <scope>compile</scope>
    </dependency>
    <dependency>
        <groupId>xml-apis</groupId>
        <artifactId>xml-apis</artifactId>
        <version>2.0.2</version>
        <type>jar</type>
        <scope>compile</scope>
    </dependency>
    <dependency>
        <groupId>commons-httpclient</groupId>
        <artifactId>commons-httpclient</artifactId> 
        <version>3.1</version>
        <type>jar</type>
        <scope>compile</scope>
    </dependency>

    <dependency>
        <groupId>br.eti.kinoshita</groupId>
            <artifactId>testlink-java-api</artifactId>
            <version>LATEST</version>
    </dependency> 

PS:

  1. I have created a group on Googlegroup as well but didn't get any reply from any one : https://groups.google.com/forum/#!forum/selenium-webdriver-integration-maven
  2. I have one more question, can I import executed test report through java?, basically do we have any API to import the excuted report through code.

Please help me for same ASAP.

rafikaranam commented 8 years ago

hi

On Mon, Jun 13, 2016 at 4:14 PM, Shabana Parveen notifications@github.com wrote:

I am shabana, I tried to integrate TestLink with Selenium webDriver using Maven Framework, I use below dependency, but it showing TestLinkAPIClient symbol doesn't exist. What I observed here is TestLinkAPIClient package is missing from the dependency, So to solve the problem I added TestlinkApIClient api dependency inside Plugin then TESTLINKAPICLIENT problem is resolved but now Maven is unable to understand WebDriver, Also, When I integrate my framework using TestNG Framwork after downloading full testlinkapiclient package jar, execution results successfully updated in Testlink. I went through various site but nothing seem to working.

<dependency>
    <groupId>org.apache.xmlrpc</groupId>
    <artifactId>xmlrpc-common</artifactId>
    <version>3.1.3</version>
    <type>jar</type>
    <scope>compile</scope>
</dependency>
<dependency>
    <groupId>org.apache.xmlrpc</groupId>
    <artifactId>xmlrpc-client</artifactId>
    <version>3.1.3</version>
    <type>jar</type>
    <scope>compile</scope>
</dependency>
<dependency>
    <groupId>xml-apis</groupId>
    <artifactId>xml-apis</artifactId>
    <version>2.0.2</version>
    <type>jar</type>
    <scope>compile</scope>
</dependency>
<dependency>
    <groupId>commons-httpclient</groupId>
    <artifactId>commons-httpclient</artifactId>
    <version>3.1</version>
    <type>jar</type>
    <scope>compile</scope>
</dependency>

<dependency>
    <groupId>br.eti.kinoshita</groupId>
        <artifactId>testlink-java-api</artifactId>
        <version>LATEST</version>
</dependency>

PS:

  1. I have created a group on Googlegroup as well but didn't get any reply from any one : https://groups.google.com/forum/#!forum/selenium-webdriver-integration-maven
  2. I have one more question, can I import executed test report through java?, basically do we have any API to import the excuted report through code.

Please help me for same ASAP.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kinow/testlink-java-api/issues/69, or mute the thread https://github.com/notifications/unsubscribe/AFs3x5XkvAhtPto9u9l31BAYDtB0q3Cnks5qLTSogaJpZM4I0NDM .

shabana-parveen commented 8 years ago

rafikaranam, hi,

Please add me on shabanaparveen2001@gmail.com

Thanks

rafikaranam commented 8 years ago

can u tell me ur mail id

On Mon, Jun 13, 2016 at 4:45 PM, Shabana Parveen notifications@github.com wrote:

rafikaranam, hi,

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kinow/testlink-java-api/issues/69#issuecomment-225553096, or mute the thread https://github.com/notifications/unsubscribe/AFs3x-MpAgWupgq65YE_ssASc39Nt8PHks5qLTvFgaJpZM4I0NDM .

rafikaranam commented 8 years ago

please acept my skype req

On Mon, Jun 13, 2016 at 5:31 PM, Shabana Parveen notifications@github.com wrote:

Shabanaparveen2001@gmail.commailto:Shabanaparveen2001@gmail.com Skype ID: its_shabanapaveen

Regards shabana

From: rafikaranam [mailto:notifications@github.com] Sent: 13 June 2016 17:08 To: kinow/testlink-java-api Cc: Shabana Parveen; Author Subject: Re: [kinow/testlink-java-api] Error While Integrating TestLink with Maven Pojects (#69)

can u tell me ur mail id

On Mon, Jun 13, 2016 at 4:45 PM, Shabana Parveen <notifications@github.com mailto:notifications@github.com> wrote:

rafikaranam, hi,

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/kinow/testlink-java-api/issues/69#issuecomment-225553096 , or mute the thread < https://github.com/notifications/unsubscribe/AFs3x-MpAgWupgq65YE_ssASc39Nt8PHks5qLTvFgaJpZM4I0NDM

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub< https://github.com/kinow/testlink-java-api/issues/69#issuecomment-225557237>, or mute the thread< https://github.com/notifications/unsubscribe/AMupwyO23Vwtj10N8ceKwb4ZP0o_rhpwks5qLUETgaJpZM4I0NDM

.

IMPORTANT NOTICE: "This email is confidential containing HT Media confidential information, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offense. Please delete if obtained in error and email confirmation to the sender." Experience news. Like never before. Only on www.hindustantimes.com

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kinow/testlink-java-api/issues/69#issuecomment-225561475, or mute the thread https://github.com/notifications/unsubscribe/AFs3x9GzBzLU8HjLu_TZ80OBVQ5VMVcvks5qLUaHgaJpZM4I0NDM .

kinow commented 8 years ago

Hi shabana,

Your problem seem to be related to your local environment, Java, and the project you are developing. Not really related to the testlink-java-api, or to TestLink.

Marking the ticket as won't fix.

You probably need to check how you are building your project, how to use Maven (or Gradle, or Ivy, if you are more familiar with these tools). Then import the project and use it. Once you have that working, if you have any problems, then please feel free to report issues here.

Thank you Bruno