data driven test run - iterations without using inherent parent data

4 posts, 1 answers
  1. Doga Ercan
    Doga Ercan avatar
    21 posts
    Member since:
    Jul 2011

    Posted 12 Sep 2011 Link to this post

    Hi,

    Let's say I have 2 test steps, step1 and step2. step1 is bound to data1 and step2 is bound to data2 and each data source has 3 rows.

    Is it possible to use its own data file for each step and run in that way:
    step1-data1 row1
    step2-data2 row1
    step1-data1 row2
    step2-data2 row2
    step1-data1 row3
    step2-data2 row3

    I have known how to use inherit parent data feature but I have too many columns for data that's why i don't want to merge them. Without using inherit parent data feature now it works like:
    step1-data1 row1
    step1-data1 row2
    step1-data1 row3
    step2-data2 row1
    step1-data1 row1
    step1-data1 row2
    step1-data1 row3
    step2-data2 row2
    step1-data1 row1
    step1-data1 row2
    step1-data1 row3
    step2-data2 row3

    Thanks a lot

    Ercan
  2. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 13 Sep 2011 Link to this post

    Hi Doga,
        why not simply have a data source with two separate columns:

        col1 | col2 |
        ------|--------|
    1|  a    |     x    |
    2|  b    |     y    |
    3|  c    |      z   |
              
    Now you can bind the first step to the first column ( $(col1) ) and the second step to the second column ( $(col2).  This will execute like so:
    step1- col1 row1
    step2- col2 row1
    step1- col1 row2
    step2- col2 row2
    step1- col1 row3
    step2- col2 row3
    etc..


    Best wishes,
    Stoich
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Doga Ercan
    Doga Ercan avatar
    21 posts
    Member since:
    Jul 2011

    Posted 14 Sep 2011 Link to this post

    Hi again Stoil,

    Yes, you are right that will solve my problem but as i said in my first post i don't prefer to merge two data since those have too many columns. Anyway I wanted to be sure whether it is possible.

    Thanks for your attention

    Ercan
  4. Answer
    Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 14 Sep 2011 Link to this post

    Hello Doga,
       I'm sorry for the misunderstanding. It's doable but not out of the box. The require custom solution is not going to be very practical - I would recommend against trying to implement it.

    Regards,
    Stoich
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top