Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'testlink' has no attribute 'TestLinkHelper' #2

Open
ashakn-murthy opened this issue Nov 11, 2019 · 1 comment

Comments

@ashakn-murthy
Copy link

Hi,

I used your updater.py file to integrate with my Robot Framework output.xml file parsing. I get the following error .

I am using Python3 version. I edited the xmlrpclib to xmlrpc.client as it was giving error for Python 3 .

python Updater.py -p "TestProject" -t "TestPlan1" -f "Chrome" -b "Build1" --file output.xml
Traceback (most recent call last):
File "Updater.py", line 183, in
testlink_feeder = TestlinkFeeder(args.project, args.testplan, args.platform, args.build)
File "Updater.py", line 128, in init
self.robotI = RobotI()
File "Updater.py", line 18, in init
tl_helper = testlink.TestLinkHelper()
AttributeError: module 'testlink' has no attribute 'TestLinkHelper'

@Beanking77
Copy link
Owner

Hi @ashakn-murthy,

Sorry for really late reply. It's been a while not maintaining this tool.
But I'm try to run following command:

OS: Ubuntu 20.04.2 LTS

$ apt update && apt install python3
$ apt-get install python3-pip
$ pip3 install TestLink-API-Python-client
$ python3
>>> import testlink
>>> tl_helper = testlink.TestLinkHelper()
>>> testlinker = tl_helper.connect(testlink.TestlinkAPIClient)

Seems fine, though I not sure are those library were still support python3 or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants