Leapwork Integration
Easily include Leapwork as part of your Azure DevOps pipeline using Leapwork Azure DevOps extension
More Details
Leapwork’s completely visual, no-code automation platform makes it easy for business and IT users to automate repetitive processes, so enterprises can adopt and scale automation faster. For rapid results, at lower cost, and requiring fewer specialist resources than traditional automation approaches.
Features:
• Setup and test Leapwork connection in few clicks
• Run automation flows in your Azure DevOps pipeline
• Automatically receive results
• Build status-based results
A couple of requirements
There are just a few requirements to ensure seamless integration:
- .NET framework 4.5
- Team Foundation Server 2015 Update 1 minimum required.
- Agent version 1.83.0 minimum required.
Installing
You are just one click away from seamless automation. Simply install the extension from Visual Studio Marketplace.
If you have already installed previous version, delete it first/
Alternatively, you can install it using gallery extension manager. Here is a small guide for you:
- Open extensions manager {hostname}:port/_gallery/manage
- Click "Upload new extension" button
- Choose downloaded VSIX-file
- Install extension
- Choose Collection
- Click Confirm button
- Now you are ready to get started
Instructions
- Azure DevOps: Add build step "Leapwork" to your build definition.
Azure DevOps: Add an agent phase and then add task "Leapwork" to this agent phase.
- Enter Leapwork controller hostname or IP-address.
- Enter your Leapwork controller API port, by default it is 9001.
- Enter your API access key. You can find it in Leapwork controller Settings section.
- Enter time delay (in seconds, by default 5 seconds). While schedule is running extension will check schedule state with a specified delay before the schedule is finished.
- Select how the extension should process "Done" status: “Success” or “Failed”.
- Enter JUnit report file name. The default name is "report.xml".
- Enter schedule titles you want to run, each one must be entered from a new line.
- Enter schedule ids, each one must be entered from a new line. Using id is preferable, because schedule title can be changed.
- Azure DevOps: Add Test build step "Publish Test Results" to your build definition.
Azure DevOps: Add a task " Publish Test Results " to the previously added agent phase.
- Choose JUnit report format. Enter JUnit report file name. It MUST be the same you've entered in point 5.
- Run your schedule and get results. Enjoy!
- Check build results in a detailed report, which can be found in Build summary
- Download logs if needed.
Troubleshooting
- If you catch an error "No such run [runId]!" after schedule starting, increase time delay parameter.
Screenshots