getRowUsed and getRowContains method returns null

I am trying to execute the same project ‘OnlineStore’ which u uiploaded.
In ExcelUtils class, the methods: getRowUsed and getRowContains returns  null value. Due to this, project does not get executed
Kindly let me know why is it?


atchuuta Default Asked on February 24, 2016 in Selenium WebDriver.
Add Comment
2 Answer(s)

Hi Atchuta,

Please paste your code and requirement so that will make understand better & will going to provide the solution.


raviiichauhan85 Train Answered on February 24, 2016.
Add Comment

Hi Atchuta,

Simply put a null check
Row  = ExcelWSheet.getRow(RowNum);

if(Row ==  null){
Row =ExcelWsheet.createnewRow(Rownum);

ankit ramola Vice Professor Answered on February 25, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.