For the complete documentation index, see llms.txt. This page is also available as Markdown.

Artifacts

The Artifacts feature enables teams to centrally store and manage files required during test execution. Instead of using local file paths, which are accessible only on the creator's machine, files can be uploaded as artifacts and referenced within test cases using an Artifact ID. This ensures that all team members can successfully execute the same test case without modifying file paths.

Why Use Artifacts?

  • Eliminates dependency on local file paths.

  • Makes files accessible to all project members.

  • Ensures consistent test execution across different systems.

  • Simplifies collaboration by maintaining a centralized repository of files.

Uploading an Artifact

  • Log in to WalnutAI.

  • Click your Profile (Name) icon in the top-right corner of the application.

  • Select Artifacts from the dropdown menu.

  • Click Upload, then browse and select the required file from your local system.

  • Once uploaded, the file appears in the Artifacts list.

  • Each uploaded file is assigned a unique Artifact ID, which is used to reference the file within test cases.

Using an Artifact in a Test Case

  • Open the required test case.

  • Type / and select the Upload action. The Upload action is added to the test step.

  • Once the Upload action is added, a file_path field is created in the Test Data section. Enter the required Artifact ID in the file_path field.

  • During execution, WalnutAI retrieves the corresponding file from the Artifacts repository and uploads it automatically.

Uploading an Artifact from Within a Test Case

  • If the required file has not yet been uploaded, you can upload it directly from the test case.

  • After adding the Upload action, a file_path field is created in the Test Data section.

  • Click the file_path field and select Upload File Artifact.

  • Browse and select the required file from your local system.

  • Once the upload is complete, the Artifact ID is automatically generated and populated in the file_path field.

  • The uploaded file is added to the Artifacts repository and can be reused by all project members in any test case.

Last updated