Problem in your XPATH: You are not filtering with current object → selected test cycle
Your XPATH must look like something below.
[HybridTM.testspecs_testcases/HybridTM.testspecs/HybridTM.testcycles_testspecs/HybridTM.testcycles
[id='[%CurrentObject%]']
[isDeleted=false()]
]
When you use association as Anna suggested, you will loose the possibility of search.
Regarding optimizing the domain model or association, it is purely as per business need, so I will leave this up to you
Hi Tobias,
try to select the xpath database for your testcases via association.
In the picture below, the entity Lauf (e.g. your testcases) is retrieved over the association Athlet (e.g. your testcycles).
I would also recommend to associate the testcases and testcycles directly and connect the testspecifications to either of the two and thereby define what ‘specs’ your tests have, if that is possible.
Also, you have twice a many-to-many association. A one-to-many association is always easier to maintain. If that is sufficient, I would recommend changing it.
Hi
Can you try with this x path
[HybridTM.testspecs_testcases/HybridTM.testspecs/HybridTM.testcycles_testspecs/HybridTM.testcycles/id='[%CurrentObject%]']
[HybridTM.testspecs_testcases/HybridTM.testspecs/HybridTM.testcycles_testspecs/HybridTM.testcycles/isDeleted=false()]