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

Test as Step to run Iterations from excel

1 Answer 67 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Maria
Top achievements
Rank 1
Maria asked on 17 Dec 2015, 12:09 PM

Hello

Is it possible for a Test as Step to run Iterations which are data bound via an excel spreadsheet?  My test only seems to run the first line of the spreadsheet then stop.

Currently I have the following

1) Create Event Test - Databound to excel spreadsheet and InheritParentData ticked

2) Add, Edit Delete all event types - Databound to its own excel spreadsheet with 9 lines; 1 for each event type we have

I have Test 1 inserted into Test 2 as a Test as Step - but whenever I run it Test 2, it only runs line 1 of the data set bound to Test 2 - How do I make it run all lines effectively creating all 9 event types?

Hope that makes sense,

Thanks

Maria

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 18 Dec 2015, 05:37 PM
Hi Maria,

Yes this most certainly can be done. You just have to rearrange your test configuration a little bit. Instead of data binding the parent test you must data bind the child test and not use InheritParentDataSource. Now the child test will run all the rows of the data that the child test is bound to instead of using the data from the parent test.

I hope this helps. Let me know if you need additional assistance.

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Maria
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or