LAGraham
13 years agoOccasional Contributor
Saving Test Results with Data Loops
I followed the steps posted on the Tips and Tricks page successfully but I still have three issues.
1) The results are overwritten on data-loops, so I only capture the last instance. I would like to be able to capture all the results.
2) For Test Cases using JDBC configurations to check results in the dB, the data verified is not logged, just that activity occured.
Here is an example of the output -
Status: OK
Time Taken: 146
Size: 239
Timestamp: Wed Mar 13 10:15:15 CDT 2013
TestStep: VerifyAP
----------------- Messages ------------------------------
I am looking for -
<Results>
<ResultSet fetchSize="10">
<Row rowNumber="1">
<MEM_ID>18678546</MEM_ID>
<PM_BANK_NAME>TEST BANK</PM_BANK_NAME>
<PM_ACH_ABA_ROUTING_NO>121000358</PM_ACH_ABA_ROUTING_NO>
<PM_ACH_ACCT_NO>6079308800</PM_ACH_ACCT_NO>
<PMPA_ID>22967591</PMPA_ID>
</Row>
</ResultSet>
</Results>
3) We are working as a team and would like to write to a shared drive. To do this we would need to be able to make each run 's results unique, so we aren't stepping on each other. I tried to work out adding a getDateTimeString() variable to the file name but could quite get it working.
Any advice is appreciated.
Laura
1) The results are overwritten on data-loops, so I only capture the last instance. I would like to be able to capture all the results.
2) For Test Cases using JDBC configurations to check results in the dB, the data verified is not logged, just that activity occured.
Here is an example of the output -
Status: OK
Time Taken: 146
Size: 239
Timestamp: Wed Mar 13 10:15:15 CDT 2013
TestStep: VerifyAP
----------------- Messages ------------------------------
I am looking for -
<Results>
<ResultSet fetchSize="10">
<Row rowNumber="1">
<MEM_ID>18678546</MEM_ID>
<PM_BANK_NAME>TEST BANK</PM_BANK_NAME>
<PM_ACH_ABA_ROUTING_NO>121000358</PM_ACH_ABA_ROUTING_NO>
<PM_ACH_ACCT_NO>6079308800</PM_ACH_ACCT_NO>
<PMPA_ID>22967591</PMPA_ID>
</Row>
</ResultSet>
</Results>
3) We are working as a team and would like to write to a shared drive. To do this we would need to be able to make each run 's results unique, so we aren't stepping on each other. I tried to work out adding a getDateTimeString() variable to the file name but could quite get it working.
Any advice is appreciated.
Laura