Use a different Datasets on a nested case [message #1383682] |
Mon, 26 May 2014 13:39 |
Dominik Gabriel Messages: 113 Registered: June 2013 |
Senior Member |
|
|
Hi,
i have a problem. i want to use a case thats run n times (parametrized by dataset). this case is set into another case, in addition to some steps i need to execute once.
an example: U have a tree an would like to check the existence of childs and if the amount of childs are correct.
my Tree:
parent A
child 1
child 2
child 3
Parent B
child 1
child 2
child 3
child 4
child 5
So i made 2 cases:
Case 1:
#Select Parent x
#Init Variable CNT = 1
#Reference Case 2 (With Dataset containing childs)
#check theres no child with index of CNT
Case 2:
#check child y exists (parameter)
#increment CNT
I wanna use Case 1 on parent A AND parent B, but the problem is that they have a different ammount of childs, so i cant use parameters in the Dataset
Does anybody have an idea how to solve that, or see any different way to manage that?
[Updated on: Tue, 27 May 2014 13:24] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02501 seconds