Forum Discussion
JMcKinley
17 years agoContributor
Well, I was premature saying it completely worked... I was able to return properties to the calling test case (I will call this the parent test case)... but now, I want to pass that property to another test case that is also called by the parent test case.
In the parent test case:
1. I returned the value from the first child test case to the parent test case in a property step property.
2. I created a "run test case" step for the new child test case.
3. before this "run test case" step, I have a property transfer step. The source for this step is the property in the parent test case that I want to pass to the child test case. The target is a test case property in the child test case.
In the child test case:
1. I defined a test case property (the one that the parent test case tries to set)
2. I have a property trasnfer step that is supposed to take whatever is in the test case property (from the previous step) and transfer it into a property step property.
This is not working... if I run the parent test case, the data stored in the parent property step is not getting to the child test case property... which means it does not get transferred to the child test case property step...
I hope this makes sense...
What am I doing wrong?
Thanks!
Jim
In the parent test case:
1. I returned the value from the first child test case to the parent test case in a property step property.
2. I created a "run test case" step for the new child test case.
3. before this "run test case" step, I have a property transfer step. The source for this step is the property in the parent test case that I want to pass to the child test case. The target is a test case property in the child test case.
In the child test case:
1. I defined a test case property (the one that the parent test case tries to set)
2. I have a property trasnfer step that is supposed to take whatever is in the test case property (from the previous step) and transfer it into a property step property.
This is not working... if I run the parent test case, the data stored in the parent property step is not getting to the child test case property... which means it does not get transferred to the child test case property step...
I hope this makes sense...
What am I doing wrong?
Thanks!
Jim