DevOps Automation

 View Only
  • 1.  How do I read multiple datasets in one script

    Posted Wed June 23, 2021 01:52 PM

    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);

    dp2I.dpInitialize(dp2);


    #RationalFunctionalTester
    #Support
    #SupportMigration


  • 2.  RE: How do I read multiple datasets in one script

    Posted Fri June 25, 2021 08:26 PM

    Greetings,

    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.


    #Support
    #RationalFunctionalTester
    #SupportMigration


  • 3.  RE: How do I read multiple datasets in one script

    Posted Mon June 28, 2021 02:59 PM

    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


    #Support
    #RationalFunctionalTester
    #SupportMigration


  • 4.  RE: How do I read multiple datasets in one script

    Posted Mon June 28, 2021 05:42 PM

    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.


    #SupportMigration
    #Support
    #RationalFunctionalTester