IBM Application Runtimes Come for answers. Stay for best practices. All we’re missing is you. Join / Log in Ask a question
Can you provide me with a java code for reading multiple datasets in one script. With datapools I could use the following code:
java.io.File dpFile = new java.io.File((String) getOption(IOptionName.DATASTORE), "SecondDatapool.rftdp");
IDatapool dp2 = dpFactory().load(dpFile, true);
IDatapoolIterator dp2I = dpfactory().open(dp2, null);
At present there is no programmatic way to accomplish these same functions within the RFT Functional Test perspective. There is a Request For Enhancement file to (re)create this functionality in a future release. If the dpFactory()-related functionality is crucial to you at this time, I would recommend holding off on product upgrade.
As I say that, I am admittedly unaware of the rest of the factors that may be driving your upgrade.
The product upgrade was driven by my employer. Using multiple datapools was intregral part of my testing with RFT. I hope this functionality can be restored soon. Thanks
It's not the use of "multiple datapools" that presents the problem; the problem is that details of mapping old datapool-related APIs to new dataset-related APIs. is still in-progress.
This actually came up doing an internal tech session with development today. If you are able to open a support ticket and provide the Java file(s) in which you are using datapool APIs, they are willing to take a look at what alternatives might be available on a best-effort basis.