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
Post a Comment