• Post Reply Bookmark Topic Watch Topic
  • New Topic

Record Number start index.

 
Carl Jokl
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This may be a simple question which has just occurred to me for the sake of the automated portion of the testing. What record number index pattern should be used? Should it be array style (0 based) or start at 1. Getting that wrong could potentially make the automated testing fail but maybe that much wasn't made clear or I missed it.
 
Roel De Nijs
Sheriff
Posts: 10763
148
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Carl,

Here is another recent discussion about this topic.

Kind regards,
Roel
 
Anne Crace
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used 1 as my start number because I displayed it in my table - more intuitive to the user. I documented it in my choices.txt. I don't think this one is going to make or break you. Roel passed using 0, I passed using 1. You can choose whichever one feels better to you. I might add my decision added complexity to my solution.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!