Forum Discussion

easyfish's avatar
easyfish
Contributor
9 years ago

DataSource loop in data driven testing

 

DataSource Loop  in data driven testing

 

As far as I know, DataSource Loop  is valid for test steps that have the same properties.

 

My project  has hundreds of test steps which have various number of request and results.

 

such as

test step 1:  request has property1, property2, property3, I need to check assertions for result property A,  property B, property C

test step2:   request has property1, property2, property3, I need to check assertions for result property B,  property C, property D, property E

test step3:   request has property1, property2, property3, property4,  I need to check assertions for result property A,  property B,  property C, property B,  property C,  property D

etc

 

In my project almost all the test steps have different properties.

Now I have to create 3 different data source for each test step1 ,2,3, data source loop cannot be used.  If I want to use data source loop in my project, Is there any solution for it?

 

 

 

No RepliesBe the first to reply