android - How to read a string array from external file in Roboium -


can 1 me how read array external file in robotium, parameterize test project. how can export result in robotium.

scanner scanner = new scanner(getactivity().getresources().openrawresource(r.array.login_arr)); list<string> list = new arraylist<string-arrays>(r.array.); while (scanner.hasnext()) { string data = (scanner.next()); //read data record  string [] values = data.split(",");  for(int i;i<=values.length;i++){ solo.entertext(0, values[i]);  } 


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -