| || |
AddColumn in Globalsheet for multiple Iterations
I am using Reusable Action in Script where the Reusable actions performs some checks and then have to pass the values to MainScript.
For this I am using Globaldatasheet as means of communication between ReusableAction and Main script.
DataTable.GlobalSheet.AddParameter "Disp", PrdName
the Above line works great if there is only one iteration for the second iteration in dataTable it is unable to write Disp value in second row.
How can I do this?
Note: I have tried using environment variables but as I am new to that concept was not clear on that so I am using Globaldatasheet
Re: AddColumn in Globalsheet for multiple Iterations
I am all set for this.
Got the answer from one of the SQA forums itself.Thanks a bunch to this Forum.
On error resume next
CheckForParam = DataTable("Display", dtGlobalSheet)
If err.number <> 0 Then
'Param does not exist and must be added
'Param exists and should be updated
DataTable.Value("Display",dtGlobalSheet) = PrdName