fetch row count for effective data set

Ask general questions here.
rsudhak
Posts: 72
Joined: Fri Jan 04, 2019 1:38 pm

fetch row count for effective data set

Post by rsudhak » Tue Mar 26, 2019 12:41 pm

Hello,

How can I fetch effective data set row count?

I have around 16000 rows in my csv and I am running them in chunks, I trying to write the results by creating a new csv , for which I need to get the count of the effective data set. Any idea as to how this can be done.

Thanks,
rajee

rsudhak
Posts: 72
Joined: Fri Jan 04, 2019 1:38 pm

Re: fetch row count for effective data set

Post by rsudhak » Thu Mar 28, 2019 2:12 pm

Any idea on this one?

User avatar
qwertzu
Posts: 265
Joined: Wed Jan 25, 2017 11:08 am

Re: fetch row count for effective data set

Post by qwertzu » Fri Mar 29, 2019 11:16 am

hi rsudhak,

You can try this one here:
TestSuite.Current.GetTestContainer("TestCase").DataRange.MaxRange;
This will get an integer of the effective data set from a specific test case.

regards, qwertzu

rsudhak
Posts: 72
Joined: Fri Jan 04, 2019 1:38 pm

Re: fetch row count for effective data set

Post by rsudhak » Tue Apr 02, 2019 11:24 am

Thank you