problem with GetTestPlanByName

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
aborraz
TestLink user
Posts: 1
Joined: Fri Feb 18, 2011 11:26 am

problem with GetTestPlanByName

Post by aborraz »

Hello:

I have a short problem with the method getTestPlanByName.

I call it from my application as follows:

Code: Select all

            TestPlan tplan = null; 
            try
            {
                tplan = tl.GetTestPlanByName("N2A", "Plan de Test N2A"); 
            }
            catch (TestLinkException ex)
            {
                MessageBox.Show("Error retrieving TestPlan!!!");
            }
I receive an error indicating that there is no Plan Names on this project.

If I perform a search on my database I get the TestPlan, but tesproject_id is not the ID of my TestProject. It's and Id of a node with value 7 (the id of my tesproject is 74).

What I'm doing wrong??

Thanks in advance.
Post Reply