Skip to main content

Can I use Sharepoint to manage my test cases?

Scenario: you are using Excel files hosted in Sharepoint for writing Botium test cases.

Solution: register the Sharepoint link in Botium as Download Link.

Create a Sharepoint App Registration

  1. Follow this guide to create an app registration.
  2. Add JSON with clientId and clientSecret attributes.
  3. Record the clientId and clientSecret.
  4. Assign read permissions.

Register the Download Link in Botium

  1. In your Test Set, go to Linked Test Case Repositories and click Register Download Link.
  2. Copy and paste the SharePoint link. It should look like:
    https://mysharepoint.sharepoint.com/sites/mysite/Shared Documents/My Botium Excel.xlsx
    
  3. Enter your clientId and clientSecret, then click SET SHAREPOINT CLIENT HEADERS to generate the JSON headers.
  4. Click SAVE.

Test the Credentials

  1. Click DOWNLOAD to test the credentials.
  2. Botium will use FETCH FILE CONTENT to download and check if the file contains Botium content.

Note: Botium will automatically download the latest file content during each test execution.

Was this article helpful?

0 out of 0 found this helpful