-
-
Notifications
You must be signed in to change notification settings - Fork 299
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
Can't get sortkey of testcases in a testplan through XML-RPC API #444
Comments
Why do you need this ? What is your use-case ? |
@atodorov Thanks for the reply. |
@soul916 do you have your test cases added to a TestPlan before you start adding them to TestRun via the API ? I think it will be much more beneficial to have an API method that creates a TestRun from a TestPlan and uses all the test cases from the plan instead of adding them one by one. |
@atodorov Yes, you are right, an API create TestRun from a TestPlan is more convenient. |
Returns information about TestCase position inside TestPlan. For example `TestCase.sortkeys({'plan': 3})`
Returns information about TestCase position inside TestPlan. For example `TestCase.sortkeys({'plan': 3})`
Description of problem
When use XML-RPC API create testruns, can't get sortkey of testcases from testplan
Component (web, API, etc)
API
Version or commit hash (if applicable)
4.2
How often reproducible
Always
Steps to Reproduce
1.use rpc_client.TestCase.filter({'plan': planid]}) get testcases from a testplan
2.use rpc_client.TestRun.create create a new testrun
3.use rpc_client.TestRun.add_case(testrunid, testcaseid) add testcases to the new testrun
Actual results
The sortkey lost in all testcases of the new testrun, can't find a way to read the sortkey of testcases from a testplan.
Expected results
Need a method read the sortkey of testcases from a testplan.
Additional info
NA
The text was updated successfully, but these errors were encountered: