Hi,
I have created two datasource file a.xls with 3 records and b.xls with 5 records.Both excel file contains three columns named a,b,result.
After that i have created one API script and referred add function from math tool box and created one datasource where i referred a.xls file by enabling three options (**excel file contain header rows,make copy of excel file and allow other source to overwrite data**).
Once data source gets created i referred this with **for each loop** and mapped a,b and result field with excel columns and then stored this script to ALM(version 11).
Under **ALM –>Test resource** i created new resource named **add** and uploaded b.xls.
From **TesPlan—>Parameters** section i selected resource named add then clicked on Map Parameters option and entered resource names.
After that i selected **TestPlan–>Test Configurations–>Dynamic–>Override test data resource** and under data source selected data source named **add**.
Now when i try to execute this script from TestLab sometimes it gets executed with a.xls and sometimes with b.xls.
can anybody give me some hints to solve this issue.
Thanks in advance.