I am using a ActiveData to access the external data in Visual test, Here my question is ONce the data (first Row) is used for one set i want that row to be deleted from the excel sheet, To delete a row i have written a funtion which is an external script which i call in VT .But i facing a problem here, it shows me RunTime Error and says active data file is still read only.
Can anyone help me on this, how to avoid this..
Thanks in advance
I am confused as to why you need to delete the data row,. but there is an box in the Active Data area (Otions) where you can mark the file as read only or not. But, I believe this only affects making changes to the file within TP. I believe that when TP is using the file, no other changes can be made (opened as read only). Hope this helps. don
don, CSTP, QAD/TP user since 06
Test Partner 6.3; QAD 6.1; QADLoad 5.9
What I'd do instead is have another column in the spreadsheet called "IGNORE" (or something like that). When you've used the row, in your script use the SetString command to update that column. Then, re-engineer your script that if the IGNORE column contains true, move on to the next row. Then you still have the data for historical purposes.
AUT: Web app - Java/SQL
Using TestPartner since 2008
Using QTP since 2002