Service Virtualization

  • 1.  How to get the last row of an excel dataset

    Posted May 15, 2017 08:54 AM

    Hi All,

     

    I need to find the last row number of an excel data set. Can you please help me.

     

    Thanks

    Ram



  • 2.  Re: How to get the last row of an excel dataset
    Best Answer

    Posted May 15, 2017 11:49 AM

    you can use Execute script (JSR-223) step to get the last row num of the excel data set as below.

     

    testExec.getLocalDataSet("test").getSize()-1;