getTestCaseIDByName method not working in Testlink1.8.4 API

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
abadve
TestLink user
Posts: 13
Joined: Wed Feb 18, 2009 1:56 am

getTestCaseIDByName method not working in Testlink1.8.4 API

Post by abadve »

Hello all

I get error when using this method No testcasename provided. A testcase name must be provided!
As you can clearly see the testcase name is what I am providing in my call yet I get the above error. Can somebody give me a working example of the code. Most of the API calls do not seem to work for me and are giving errors. What API calls in Teslink version 1.8.4 are working? Can anybody please provide some working examples so I can try?

When I export Export all Test Suites I get below

<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="" >
<node_order><![CDATA[]]></node_order>
<details><![CDATA[]]>
</details><testsuite name="480i" >
<node_order><![CDATA[1]]></node_order>
<details><![CDATA[]]>
</details>
<testcase internalid="4" name="avencode_480i_high_IP">
<node_order><![CDATA[100]]></node_order>
<externalid><![CDATA[1]]></externalid>
<summary><![CDATA[]]></summary>
<steps><![CDATA[]]></steps>
<expectedresults><![CDATA[]]></expectedresults>
</testcase>
</testsuite></testsuite>

I look forward to your replies.

Thanks
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

sample_clients folder on testlink installation
Locked