Retrieve automatically test case parameters and test cases
Posted: Fri Dec 18, 2015 11:11 am
HI,
sorry for the title, I couldn't come up with a better one
I'm trying to setup a automated pipeline between Ranorex and our Test Management Tool (TMT).
For the first scenario this is successful (ranorex2TMT.png)
Each test case in Ranorex has as parameter the test case id from the TMT. With this I trigger Ranorex to execute the test and with a small extension in Ranorex, test results are uploaded to TMT.
Now I like to start the execution from the TMT by selecting one or more test cases and then trigger with the test case id from the TMT the corresponding test cases in Ranorex (TMT2Ranorex.png).
So for sure I need a custom script that is called by the TMT and then triggers Ranorex, but how can this script identify the correct test case in Ranorex ?
The only solution I know would be to name the test cases in Ranorex simply with the TMT test case id, but this is not nice at all.
Is there any way to query a test suite and retrieve its test cases and then filter out the one for the right test case id ?
I found the listtestcaseparams option, but I assume this does not give me a mapping from a parameter to a test case ?
Any ideas ?
Thanks for any hints, comments etc
sorry for the title, I couldn't come up with a better one
I'm trying to setup a automated pipeline between Ranorex and our Test Management Tool (TMT).
For the first scenario this is successful (ranorex2TMT.png)
Each test case in Ranorex has as parameter the test case id from the TMT. With this I trigger Ranorex to execute the test and with a small extension in Ranorex, test results are uploaded to TMT.
Now I like to start the execution from the TMT by selecting one or more test cases and then trigger with the test case id from the TMT the corresponding test cases in Ranorex (TMT2Ranorex.png).
So for sure I need a custom script that is called by the TMT and then triggers Ranorex, but how can this script identify the correct test case in Ranorex ?
The only solution I know would be to name the test cases in Ranorex simply with the TMT test case id, but this is not nice at all.
Is there any way to query a test suite and retrieve its test cases and then filter out the one for the right test case id ?
I found the listtestcaseparams option, but I assume this does not give me a mapping from a parameter to a test case ?
Any ideas ?
Thanks for any hints, comments etc