04-02-2013, 09:22 PM
In QTP it is said that actions datatable are local and values in it could be accessed only the code in the specific actions (like value in Action1 datatable could accessed only by Action1 script), and thats why we have to use global sheet.
But I came across the below function which would take data from different actions table, like if data in Action1 data table and code in Action 2.
Could anyone calrify me if this is feasible and if yes why is it generalized that values in Action data table is local and only values in Global datasheet could be accessed from anywhere?
But I came across the below function which would take data from different actions table, like if data in Action1 data table and code in Action 2.
Could anyone calrify me if this is feasible and if yes why is it generalized that values in Action data table is local and only values in Global datasheet could be accessed from anywhere?
Code:
DataTable.Getsheet("Action1").GetParameter(A).Value