05-17-2011, 12:46 PM
Hi Malathy,
Refer the below example as per your requirement.
Tip: it is better to maintain the test data in Datatable and use/pass the data from Datatable.
If you do so then we can make use of available Datatable Methods efficiently
Refer the below example as per your requirement.
Code:
DataTable.GetSheet ("Bal_DDA").AddParameter "DDA",""
DataTable.GetSheet ("Bal_DDA").AddParameter "BanklD",""
DataTable.Getsheet ("Bal_DDA").AddParameter "Avail_Bal",""
Datatable("DDA","Bal_DDA")=44357
Datatable("BanklD","Bal_DDA")=182
Datatable("Avail_Bal","Bal_DDA")=300
Datatable.GetSheet("Bal_DDA").SetCurrentRow(2)
Datatable("DDA","Bal_DDA")=41210
Datatable("BanklD","Bal_DDA")=182
Datatable("Avail_Bal","Bal_DDA")=0
Tip: it is better to maintain the test data in Datatable and use/pass the data from Datatable.
If you do so then we can make use of available Datatable Methods efficiently