How can I upload terminal logs on LambdaTest with JS-TestCafe?
Hello Macy,
Test/terminal report are generated by the testing framework in JSON,XML, txt, or other common format can be uploaded. The uploaded file can then be viewed in the LOGS section of the automation dashboard page. The file size should not be larger than 2MB.
You can use LambdaTest API to upload terminal logs.
Here are the below steps to upload and view terminal logs -
- Navigate to the LambdaTest API page and click Authorize button to enter your valid LambdaTest credentials to authenticate API requests.
- Navigate to the Session section and select the terminal logs POST request.
- Enter your session ID and choose the log file to upload (JSON, XML, .txt).