How to use datapool in a class method in RFT-Java?
please help me out with this problem.
I am trying to use a datapool in a class method in RFT. Though my script is associated with a datapool, which is working very well when used in the script's main method. But it is throwing exception like: -
"Exception occurred during playback of script [sp_TestScript2] [CRFCN0019E: RationalTestScriptException on line 189 of script sp_TestScript2 - com.rational.test.ft.DatapoolException: CRFCN0020W: No datapool has been initialized for this script.]."
when I am using it in a class method. The exception is thrown at the "while(!dpDone())" line. Somebody plz provide a solution to this problem.