Hello Selenium Experts,
I have implemented Page Factory Object model with selenium webdriver for my new automation project. Currently i have all my test data hardcoded in separate class file that is called upon my multiple tests. So far it's been pretty awesome.
Now, I was thinking of using excel sheet for test data storage for data-driven framework and i've done before that as well. However, i have 100+ test data type variables which means i need to assign one column for every test data type which i'm not that comfortable to do. Also to add on that, i am not authorized to use database(DB) for test data storage.
So my final question, Is there any alternative to Excel for data-driven automation? I have used Database before for storing and extracting the data but
that option is not viable now.
What are your suggestions/advice on this particular issue?
Any help would be appreciated.
Thanks
Sirus
XML or JSON are much better models for storing values that would be represented sparsely as a spreadsheet. Plus, they’re not spreadsheets, which means you don’t have to bend over backwards to read them in code.
Ross
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Any decent programming language will allow you to iterate over a collection of elements, whether they’re XML or JSON, just like you could (painfully) iterate over a collection of rows in a spreadsheet. As to generating the values, well, you’d have that problem with a spreadsheet too, so solve it the same way.
--