| || |
can anyone suggest me how to use the following function? i'm using silktest 6.5
Help gives the syntax as follows, but i'm not sure where to copy this function in my functions.inc or .t or .g.t files? it would be great if anyone can give me a sample example to use this function.
void DefaultRunDataDrivenTestCase (sTestCaseName[, lsRowsToRun])
sTestCaseName the name of the testcase to run. STRING
lsRowsToRun A list of queries that define the rows to run, or specify that the sample record should be run. If this argument is not passed in, then all rows for all tables are run. OPTIONAL. LIST OF STRING. Specification of lsRowsToRun:· If NULL, all rows will be run for all tables.· At most, one string may be passed for each table. The string can have one of the following forms:- "USE_SAMPLE_RECORD_<Table>": Only the sample record will be used for <Table>.- "select * from ""<Table>"" where ...": The query will be executed in order to collect the rows to run for <Table>.- If no string is passed for a table, then all rows will be run for that table.
The statement used to run the testcase is:
[ ] @(sTestCaseName) (laDataRecords)
Re: DefaultRunDataDrivenTestCase function?
Am trying to download a dbf file and read the contents of the file. I also need to verify some of the values in the dbf file and then identify whether the file is formatted or not. I am unable to read the entire dbf file using FileReadLine function. Do I have to go in for a data driven test case. It would be fine if I can read just a few lines of the file and get record headings of the dbf. Can any one please help me on reading the entire contents of file. There is no help in Seague regarding why SILK Test 6.0 cannot read the DBF File fully.