求助 RFT 如何获得DataPool里的总行数
RFT 中如何获得DataPool里的总行数 int nRows = 0;File datapoolFile = new File( "path to datapool file" );
IDatapool dp = dpFactory().load(datapoolFile, true);
IDatapoolIterator dpIterator = dpFactory().open(dp, null);
dpIterator.dpInitialize(dp);
while (!dpIterator.dpDone()) {
nRows++;
dpIterator.dpNext();
}
页:
[1]