java - Robotium : I want to Do data driven Testing using robotium? -


i searching way want test login , not possible write function hard code values have data driven(parametrization) in qtp etc tool fetch data file , keep entering , @ last our inputs executed ..

is possible via roboitum ?

please let me know same.

yes u can make data excel file , u can fetch data excel file

u can use

        file storage = environment.getexternalstoragedirectory();         string filename = "test.xls";         file myfile = new file(storage, filename);         fileinputstream fis = new fileinputstream(myfile);         workbook ws = null;         ws = workbook.getworkbook(fis);         sheet wsheet = ws.getsheet(sheetnum);         string returnvalue ;         returnvalue = wsheet.getcell(colmnnum, rownum).getcontents(); 

same how use excel reading in qtp , works me


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -