Step By Step Instructions setting up Selenium Tests

Jeremy Roelfs January 18, 2018

Hello!

1) What are the best practices for running a continuous integration system (with Selenium) with Bamboo?

2) How do you run selenium tests from a Bamboo build on a different EC2 Instance?
 

*We use C#/Selenium/NUnit. Build with Bamboo, deploy and run with AWS.

Thank you so much for your time. I know this is a big question but not a lot of info on the intra web.

1 answer

0 votes
Jeremy Roelfs January 22, 2018

Setup Remote Executable - RESOURCE

  1. Click Agents (left side)
    1. In Remote agents
    2. Click: Shared remote capabilities
      1. Under Add capability
        1. Capability Type: Executable
        2. Type: NUnit Runner
        3. Executable lable: My Tests
        4. Path: C:\My Tests\test.dll
          1. The Path will be the location of your NUnit Console.exe??? Please see my comments below.
  2. Setup Task
    1. Go to the Job
    2. Add a new NUnit Runner Task 
      1. The Executable will show up in the NUnit Runner Task only. It will not appear in any other command or other task. Which makes sense, but was confusing...
      2. This NUnit Test Files will be the .dll of your tests
      3. I am assuming that whatever agent is currently being used... is the agent that this Executable will be ran on...? Is that correct?
Jeremy Roelfs January 22, 2018

 

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events