This is a migrated thread and some comments may be shown as answers.

Nested Variable Capture

2 Answers 49 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 28 May 2013, 02:17 PM
I am using nested tests and I am trying to do an extraction of a value in a sub test and use the extracted value in the calling test. I have even tried using the get and setextractedvalue methods in a coded step. What can I do to accomplish this task?

2 Answers, 1 is accepted

Sort by
0
Accepted
Mario
Telerik team
answered on 28 May 2013, 10:09 PM
Hello Michael,

Thank you for contacting Telerik Support.

Please refer to this knowledge base article for specific instructions on how to accomplish your task of passing a variable between tests (see latter half of article for parent to child scenario). I've also attached an additional image which should help illustrate how to assign your extracted variable to a data-bound step.

Let me know whether my suggestion helps.

Regards,
Mario
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Michael
Top achievements
Rank 1
answered on 30 May 2013, 01:55 PM
Not quite sure what I was doing wrong but by following the guide step by step everything is now working.
Tags
General Discussions
Asked by
Michael
Top achievements
Rank 1
Answers by
Mario
Telerik team
Michael
Top achievements
Rank 1
Share this question
or