Not able to add teststep
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2021
08:59 AM
05-27-2021
08:59 AM
Not able to add teststep
Hi ,
I am not able to add multiple teststeps using the REST endpoint
/testresult
I am sending the below sample body but I only see the index 0 on the webpage
[
{
"status": "Pass",
"testCaseKey": "TTT-T84",
"comment": "The test has failed on some automation tool procedure.",
"executionTime": 180000,
"executedBy": "tomation01",
"assignedTo": "tomation01",
"actualStartDate": "2016-02-14T19:22:00-0300",
"actualEndDate": "2016-02-15T19:22:00-0300",
"scriptResults": [
{
"index": 0,
"status": "Pass",
"comment": "This step has pass."
},
{
"index": 1,
"status": "Pass",
"comment": "This step has failed."
},
{
"index": 2,
"status": "Pass",
"comment": "This step has failed."
}
]
}
]
11 REPLIES 11
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2021
12:47 PM
06-07-2021
12:47 PM
Just an update from the support ticket . The testcase needs to have the same amount of steps as test run . So , in my case the testcase had only one step and hence it was only updating one step. For test run to have multiple steps, first the testcase needs to have the same number of step
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2021
12:26 AM
06-08-2021
12:26 AM
Thanks for posting. It all makes sense now 🙂
Need more help? Feel free to connect with me on LinkedIn: https://www.linkedin.com/in/andrew-barbet-548a234/

- « Previous
-
- 1
- 2
- Next »
- « Previous
-
- 1
- 2
- Next »