Forum Discussion
The documentation reference you provided not have the row index. Not sure where you get that screen shot which shows the index thing.
Any ways, have you tried
${DataSource_CaseHistory#bknCaseHistoryID::0} ? Assuming that "bknCaseHistoryID" is the column name.
- srandall7 years agoContributor
I created my datasource for the test case for pulling back CaseHistory:
In my DataSource, I am pulling back the data I need:
I'm pointing to my DataSource to use the data my source has provided to apply my assertion:
I navigate to my DataSource Property:
I have tried point to the row by adding ':00' and I receive this message:
I also tried adding '[0]' as sanj suggested, but have not been able to get a successful result as of yet.
Any suggestions would be greatly appreciated. :-)
- sanj7 years agoSuper Contributor
Do the following to access the current row
${DataSource_CaseHistory#bknCaseHistoryID}
I am giving a screenshot of how i do datasource tests
It also includes the dataloop setting your start and end row to whatever you want to test
Hit run on datasource so it reflects data you trying to test and then run the whole test which would be
datasource
your test step that does the compare and the dataloop
I hope this answers your question and concerns
You like the reply. How to give a Kudos / Accept as solution?
- srandall7 years agoContributor
I 'do' set my rows in my datasource. And I'm not seeing how a DataSourceLoop changes anything.
Related Content
- 6 years agoristokochevski