java - Data Creation from spreadsheet for Parameterized Junit Test -


i have written test class few of test cases inside using selenium junit. need run these tests based on configuration values stored in spread sheet. 1 please me how write parameterized junit cases can execute tests based on values in spreadsheet.

i trying below still no luck,

could please provide me sample example in test executed based on data stored in file (spreadsheet).

@parameters          public  static collection read_config() throws exception          {                            string file_path;                 string s3;                 sheet s;                 arraylist<string> list1 = new arraylist<string>();                 ....                                 ....                          /*return arrays.aslist(new object[][] {                                });*/                   }                   //}                     }   public mytest (arraylist<string> list) {              .... 


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -