Page 1 of 1

getTestCaseIDByName method not working in Testlink1.8.4 API

Posted: Tue Nov 10, 2009 4:31 am
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

Posted: Wed Nov 18, 2009 10:41 pm
by fman
sample_clients folder on testlink installation