Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.29 KB

File metadata and controls

27 lines (21 loc) · 1.29 KB

BrowserStack Logo

BrowserStack Example - Specflow Script

Sample test case to demonstrate integration of a Specflow test on BrowserStack.

Pre-requisites

  • Identify your BrowserStack username and access key from the BrowserStack Automate Dashboard and export them as environment variables using the below commands.
    • For *nix based and Mac machines:
      export BROWSERSTACK_USERNAME=<browserstack-username> &&
      export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
      
    • For Windows:
      set BROWSERSTACK_USERNAME=<browserstack-username>
      set BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
      
  • You can view your test results on the BrowserStack Automate dashboard
  • To test on a different set of browsers, check out our platform configurator

Steps to run

  • Restore Nuget packages - dotnet restore
  • Build the project - dotnet msbuild
  • Run the test - dotnet test