Giter Site home page Giter Site logo

python-testlink-runner's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

python-testlink-runner's Issues

Test Case version is already linked to Test Plan

facing below issue even though all the details are already added

testlink: WARN: Unable to update result: test_214_method
testlink: Check if the test case is not linked to test plan!
b'Test Case version is already linked to Test Plan

Please help me what I'm doing wrong . Using python 3

bug while executing the test

testlinkURL = "http://servername/testlink/lib/api/xmlrpc/v1/xmlrpc.php"
userKey = "857f401ec22e47ee5bf6dadd1f839a20"
suite = unittest.TestLoader().loadTestsFromTestCase(demonstratingTLRunner)
runner = TestLinkRunner(testlinkURL,userKey,_testPlanId=1,_buildName="testbuild1")
runner.run(suite)

I ran the above code, it's executing the test cases, but not updating in the Testlink.
I have given the correct devKey.

Can't seem to get pass/fail to upload to TestLink

Hey.

I know this project is a few years old, but I was trying to get my python unittest results uploaded to TestLink and I'm having some issues.

My script is actually using android's monkeyrunner cmds, and it looks like this:

import unittest
import TestLinkRunner
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice
device = MonkeyRunner.waitForConnection()


class TestOne(unittest.TestCase):
    def test_one(self):
        pass

if __name__ == '__main__':
  unittest.main()

testlinkURL = "http://MYTESTLINKHOST/testlink/lib/api/xmlrpc/v1/xmlrpc.php"
userKey = "MYKEY"
suite = unittest.TestLoader().loadTestsFromTestCase(TestOne)
runner = TestLinkRunner(testlinkURL,userKey,_testPlanId=1324,_buildName="test")
runner.run(suite)

The tests pass when I run them, but I don't see the results in testlink. I added the test with the corresponding testPlanId into the build "test" which is in the test plan of the same name. Do I need to name the test something specific to get upload to work? Are there logs anywhere that can tell me why the upload is failing?

I don't see any errors.. The test just passes and that's it.

Any help would be appreciated.
Thanks,
Cory

How to add Testlink Runner in my testcase

I am trying to use your Testlink Runner .. I cloned Testlink runner to my local machine and followed rest all setps as you have mentioned. Now I am using Robot framework so all my testscripts are in one single file now how to testlink runner on each testscript's failure or success.
I am not able to understand your example code "def Test_23_TestFailure(self):
self.fail(test fail)

All that I want to do is in my test script If my testscript passses I want to call a method which should update my testcase in testlink as pass or else should call a fail method (which should update testcase status as failed in TestLink) how to do this? .. please help

robotframrework ride with testlink

hello parthibann
how to integrate my robotframework file to testlink?
like I testing the login page using python robotframework ride IDE using Selenuim library to test ,how to use this to testlink

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.