15 years ago
Adapt report: Current row, when using EXCEL as Datasource
Best member / Employee,
We are using Excel as datasource, when selecting 10 rows the testsuite(program) will start (somehow) with the latest row (Testcase M300301-T010, ant not with T001 why Is this?) This row M300301-T010 will be called it in the report as "Current Row = 1".
To make it as a official reference between Excel testcase and the “Current Row” we like to make a change in the report.
As. Example the testdata:
Testcase MESSAGE_IDENTIFIER MESSAGE_TIMESTAMP IMEI_NUMBER TELEPHONE_NUMBER
M300301-T001 300 0 987654321 0612345678
M300301-T002 300 0 987654321 0612345678
M300301-T003 300 0 987654321 0612345678
M300301-T004 300 0 987654321 0612345678
M300301-T005 300 0 987654321 0612345678
M300301-T006 300 0 987654321 0612345678
M300301-T007 300 0 987654321 0612345678
M300301-T008 300 0 987654321 0612345678
M300301-T009 300 0 987654321 0612345678
M300301-T010 300 0 987654321 0612345678
When we create a report we get the following Assertion:
OK <time> STEP 3 [DATASOURCE LOOP] OK: took 0 ms -> Current Row = 1
It would be nice if we could adapt the report from "current Row = 1" to “Current Testcase” ${DataSource#TestCase-Nr}
We will get the number “M300301-T010” out the datasource, ${DataSource#TestCase-Nr}
Can someone tell us if this is possible? Perhaps an example?
Manny thanks in advance.
(See attachement for a better view)
We are using Excel as datasource, when selecting 10 rows the testsuite(program) will start (somehow) with the latest row (Testcase M300301-T010, ant not with T001 why Is this?) This row M300301-T010 will be called it in the report as "Current Row = 1".
To make it as a official reference between Excel testcase and the “Current Row” we like to make a change in the report.
As. Example the testdata:
Testcase MESSAGE_IDENTIFIER MESSAGE_TIMESTAMP IMEI_NUMBER TELEPHONE_NUMBER
M300301-T001 300 0 987654321 0612345678
M300301-T002 300 0 987654321 0612345678
M300301-T003 300 0 987654321 0612345678
M300301-T004 300 0 987654321 0612345678
M300301-T005 300 0 987654321 0612345678
M300301-T006 300 0 987654321 0612345678
M300301-T007 300 0 987654321 0612345678
M300301-T008 300 0 987654321 0612345678
M300301-T009 300 0 987654321 0612345678
M300301-T010 300 0 987654321 0612345678
When we create a report we get the following Assertion:
OK <time> STEP 3 [DATASOURCE LOOP] OK: took 0 ms -> Current Row = 1
It would be nice if we could adapt the report from "current Row = 1" to “Current Testcase” ${DataSource#TestCase-Nr}
We will get the number “M300301-T010” out the datasource, ${DataSource#TestCase-Nr}
Can someone tell us if this is possible? Perhaps an example?
Manny thanks in advance.
(See attachement for a better view)