RE: getRowUsed and getRowContains method returns null

Hi,
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?

Regards,
Atchuta

atchuuta Default Asked on February 24, 2016 in Selenium WebDriver.
Add Comment
2 Answers

Hi Atchuta,

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

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

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.