We are using RFT 126.96.36.199 version.
We have some HR related scenarios, where i have to capture the EmployeeID which gets generated at the end of NewEmployeeEnroll Script and i have to re-use the same EmployeeID for enrolling them for paystubs, benefits and all, either in the same script or enrolling can be in another script.
Does RFT can capture the value from first script and save it in Datapool? and reuse it again? If so please help me understand how i can do that. We got RFT recently from January onwards, and trying to learn this tool.
Pinned topic RFT to capture the Output and use further in the Script
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-03-20T07:57:24Z at 2013-03-20T07:57:24Z by SystemAdmin
mbachu 0600003DGG26 Posts
Re: RFT to capture the Output and use further in the Script2013-02-27T16:31:35ZThis is the accepted answer. This is the accepted answer.When you capture an employee id, write the captured employee id in to a (New)table and when you need to add the benefits, use the new(table) entries (like emplyee id) to add benefits.
Re: RFT to capture the Output and use further in the Script2013-02-27T18:06:13ZThis is the accepted answer. This is the accepted answer.
- mbachu 0600003DGG
Also , please explain, "write the captured employee id in to a (new) table" how do i do this?
Appreciate your help!
Re: RFT to capture the Output and use further in the Script2013-03-20T07:57:24ZThis is the accepted answer. This is the accepted answer.Hi, you can return a value from a script and use it in the calling one. Just return a value from testMain of the called script. Then cast the returned Object from callScript to your type, in the calling script.