Binding multiple sheets from the Excel to the Test

2 posts, 0 answers
  1. Veera
    Veera avatar
    25 posts
    Member since:
    Jul 2010

    Posted 13 Dec 2010 Link to this post

    Binding multiple sheets from the Excel to the Test

    Right now, using the built-in data binding option, only one data sheet from an excel file can be binded to the test. This will prevent the reusability of data from other sheets. Is there a option to bind multiple sheets to test or change the sheet when even required

  2. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 13 Dec 2010 Link to this post

    Hello Veeraraghavan,

    One approach you could take is to take advantage of the Inherit Parent Data Source feature. To use this feature you have multiple parent tests bound to different data sources, but they can all call the same subtest using the test-as-step feature and have this subtest inherit the data that the parent test is bound to. I have attached a screenshot showing this setting. You get to this setting from Test View in Visual Studio. Select the subtest and view its properties while in Test View.

    Will this approach work for you?

    All the best,
    Cody
    the Telerik team
    Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
Back to Top