Join 34,000+ subscribers and receive articles from our
blog about software quality, testing, QA and security.

Table in test run


#1

Hi All

I have a challenge to post a table in my test run results using the API

basicaly one test case will have multiple steps or test data to be verified and all that is captured by my automation framework as a CSV file .

how will i pass this CSV file to my “Add_result” for cases API

pls provide some insight and excat code :

sample look and feel
PageName Status Response(ms) Threshold Links MinLinks Result
MAR 200 90 1000 1 1 Pass
xx 200 . 90 500 1 1 fail

the overall test case shuld be failed if one row is failed
1)how will i send this table as a result to the test result under dynamic run ?
2)how i will mark my test result as fail even if one row is failed
m confused as there are no much specs here and hope gurrock team helps me out


#2

how will i pass a table in the comment of the api which of the below format:

|||:Header 1|:Header 2|:Header 3|:Header 4|:Header 5
|| Row 1 … | | | |
|| Row 2 … | | | |
|| Row 3 … | | | |
|| Row 4 … | | | |
|| Row 5 … | | | |
|| Row 6 … | | | |