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

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -