{"id":18995326,"url":"https://github.com/testpointcorp/vansah-csharp-binding","last_synced_at":"2026-02-02T10:12:53.052Z","repository":{"id":175125784,"uuid":"650344957","full_name":"testpointcorp/Vansah-CSharp-Binding","owner":"testpointcorp","description":"The Vansah API binding for C# can be used to access Vansah's API from C# based languages.","archived":false,"fork":false,"pushed_at":"2024-08-21T04:19:05.000Z","size":103,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"prod","last_synced_at":"2025-06-13T20:44:15.317Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://vansah.com/connect-integrations/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/testpointcorp.png","metadata":{"files":{"readme":"readme.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-06T21:53:00.000Z","updated_at":"2024-08-21T04:19:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"c7f0f12b-6973-411d-ba75-fa05eff06960","html_url":"https://github.com/testpointcorp/Vansah-CSharp-Binding","commit_stats":null,"previous_names":["testpointcorp/vansah-csharp-binder","testpointcorp/vansah-csharp-binding"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/testpointcorp/Vansah-CSharp-Binding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testpointcorp%2FVansah-CSharp-Binding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testpointcorp%2FVansah-CSharp-Binding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testpointcorp%2FVansah-CSharp-Binding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testpointcorp%2FVansah-CSharp-Binding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testpointcorp","download_url":"https://codeload.github.com/testpointcorp/Vansah-CSharp-Binding/tar.gz/refs/heads/prod","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testpointcorp%2FVansah-CSharp-Binding/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29009762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T08:40:12.472Z","status":"ssl_error","status_checked_at":"2026-02-02T08:40:10.926Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T17:30:00.178Z","updated_at":"2026-02-02T10:12:53.035Z","avatar_url":"https://github.com/testpointcorp.png","language":"C#","readme":"# Vansah Integration for .NET (C#)\n\n## Overview\nThe `VansahNode` class provides a .NET interface to interact with the Vansah API, enabling automated testing workflows and integration with Vansah's test management capabilities. This class allows for the creation, updating, and deletion of test runs and logs, including support for uploading screenshots associated with test steps.\n\n## Features\n- Set custom API URL and tokens for authentication.\n- Add, update, and remove test runs and logs.\n- Support for JIRA issue and test folder associations.\n- Automated screenshot uploads for test logs.\n\n## Prerequisites\n- .NET compatible development environment.\n- Newtonsoft.Json package for JSON handling.\n- An active Vansah account with API access.\n\n## Installation\n1. Ensure the Newtonsoft.Json package is installed in your project.\n2. Include the `VansahNode.cs` file in your project directory.\n\n## Usage\n\n### Configuration\nBefore sending requests to Vansah API, configure the `VansahNode` with your API token and URL (if not using the default).\n\n```csharp\nVansahNode vansahNode = new VansahNode();\nvansahNode.SetVansahToken = \"Your Token Here\";\n// Optional: Set a custom API URL\nvansahNode.SetVansahURL = \"https://custom.vansahnode.app\";\n```\n\n### Creating a Test Run\nYou can create a test run associated with a JIRA issue or a test folder.\n\n```csharp\n// For a JIRA issue\nvansahNode.AddTestRunFromJiraIssue(\"JIRA_ISSUE_KEY\");\n\n// For a test folder\nvansahNode.AddTestRunFromTestFolder(\"TEST_FOLDER_ID\");\n\n// Quick Test\nvansahNode.AddQuickTestFromJiraIssue(testCaseKey, result);   \n\nvansahNode.AddQuickTestFromTestFolder(testCaseKey, result);   \n\n```\n\n### Adding a Test Log\nAdd a test log to a run, optionally including a screenshot.\n\n```csharp\n// Without screenshot\nvansahNode.AddTestLog(result, \"Comment about the result\", testStepRow);\n\n// With screenshot\nvansahNode.AddTestLog(result, \"Comment about the result\", testStepRow, @\"path\\to\\screenshot.png\");\n\n```\n\n### Updating and Removing Logs/Runs\nYou can update or remove test logs and runs using their respective methods.\n\n```csharp\n// Update a test log\nvansahNode.UpdateTestLog(result, \"Updated comment\");\n\n// Remove a test log\nvansahNode.RemoveTestLog();\n\n// Remove a test run\nvansahNode.RemoveTestRun();\n```\n\n## Developed By\n\n[Vansah](https://vansah.com/)\n\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestpointcorp%2Fvansah-csharp-binding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftestpointcorp%2Fvansah-csharp-binding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestpointcorp%2Fvansah-csharp-binding/lists"}