Posts: 6
Threads: 2
Joined: Jul 2012
Reputation:
0
07-20-2012, 07:44 AM
(This post was last modified: 07-20-2012, 07:53 AM by RA185112.)
Hi,
I have encountered an issue, where in I am working on 2 resuable actions within a same script.
One resuable action has local data table with values.
Now I want to use the same data table values in the 2nd reusable actions.
Any ideas on how to get the value into 2nd reusable action.
Regards,
Rash
Posts: 426
Threads: 4
Joined: Aug 2011
Reputation:
0
07-20-2012, 10:49 AM
Hi,
Jsut make ur local datasheet which u want to use is loaded with the corresponding action, Then in 2nd action use Datatable.GetSheet(sheetName), this will use the specified sheet as the current sheet and u can use the values of this particular data sheet.
Let me know in case of any help required.
Regards,
Sankalp
Posts: 6
Threads: 2
Joined: Jul 2012
Reputation:
0
07-20-2012, 12:04 PM
(This post was last modified: 07-20-2012, 12:05 PM by RA185112.)
Thank you for your response.
Could you please let me know how to load the inbuilt local datasheet of 1 action to 2nd action?
Regards,
Rash
Posts: 426
Threads: 4
Joined: Aug 2011
Reputation:
0
07-20-2012, 01:22 PM
U don't have to load the datatable to action2, when ur script runs datatable to corresponding actions loads automatically if it is its local datatable. Just use Datatable.Getsheet(<action 1 local datasheet>) it will make datasheet of action 1 as a active datasheet and u can fetch the values from that.
Regards,
Sankalp