Posts: 8
Threads: 3
Joined: Sep 2012
Reputation:
0
02-19-2013, 01:07 AM
Good Day, I was wondering why one would want to use an excel spreadsheet to store your data in as opposed to just an array?
I am creating test cases and have used arrays to store my variables in. I was thinking about using an excel spreadsheet, but then wondered why I should -- any thoughts?
Posts: 516
Threads: 17
Joined: Jul 2009
Reputation:
3
02-19-2013, 01:50 AM
Hi csutter,
there is no hard and fast rule to follow the data in excel file. But by keeping advantages people are going with excel like
1) user friendly, even non-automation guys can update the test data
2) Easy of maintenance
3) can quickly migrate to db with very minimal effort
4) can get perfect dictionary and you the advantages of Dictionary compare to array
hope this will be helpful.
Thanks,
SUpputuri
Posts: 8
Threads: 3
Joined: Sep 2012
Reputation:
0
02-19-2013, 01:54 AM
(This post was last modified: 02-19-2013, 02:24 AM by csutter2002.)
Hi Supputuri,
Thank-you for this answer. It makes sense to me. I appreciate your time.
What about if you are just checking fields on a page? Does it still make more sense to use excel?
csutter
Posts: 516
Threads: 17
Joined: Jul 2009
Reputation:
3
02-19-2013, 02:47 AM
What do you mean by checking fields?
Is it a data validation or fields validation or object status validations?
Thanks,
SUpputuri
Posts: 8
Threads: 3
Joined: Sep 2012
Reputation:
0
02-19-2013, 02:50 AM
I am doing field checking as well as looking at the lists for the pages and making sure that the default data lists are still the same.
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
02-19-2013, 07:04 AM
If you are validating run time data then use arrays. For eg: You have value in field A and you expect the same to come up on Field B during runtime then use arrays for your validation.
If you have a static data which you need to validate against the run time data, then you will need the data stored somewhere which probably may need to be updated at a later stage. Hence, you may have to use any file system for your maintenance.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.