Dear folks,
I just followed this documentation to let Ranorex tests run in Azure DevOps pipeline after every commit:
https://www.ranorex.com/help/latest/int ... o-project/
which works flawlessly.
But, following this documentation (and if I understood it right) it is necessary to put the development project of the application and the Ranorex solution in the same project - which is something I do not like.
Does anyone of you know if it is possible to keep the application and the Ranorex solution separated, in two different projects/respositories?
thank you, BR mrt
Azure DevOps pipeline integration two different projects?
Re: Azure DevOps pipeline integration two different projects?
Hi mrt!
To my knowledge this is possible so long as both repos are in the same organization. Here's some better documentation from Microsoft that may help out.
--Jacob
To my knowledge this is possible so long as both repos are in the same organization. Here's some better documentation from Microsoft that may help out.
--Jacob
Re: Azure DevOps pipeline integration two different projects?
Thanks Jacob, I will have a closer look.
Re: Azure DevOps pipeline integration two different projects?
Hi,
Here is an example of pipeline (its initial part), in which I'm doing checkout from two different projects. Hope this helps?
Here is an example of pipeline (its initial part), in which I'm doing checkout from two different projects. Hope this helps?
Code: Select all
schedules:
- cron: "30 14 * * *"
always: true
branches:
include:
- master
trigger:
none
resources:
repositories:
- repository: CommonLibs_TA
type: git
name: CompanyOrg/CommonLibs_TA
jobs:
- job: CimarronTA
timeoutInMinutes: 0
pool:
name: CPRAN04
steps:
- checkout: self
- checkout: CommonLibs_TA
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Azure DevOps pipeline integration two different projects?
I will check that.
Has anyone experience with variable values passing from pipeline to Ranorex?
I am thinking of e.g. the baseURL where to run the Ranorex tests.
When running from different projects each could have its own pipeline with baseURL parameter, but I have no clue how to pass this to Ranorex execution (if possible at all).
Has anyone experience with variable values passing from pipeline to Ranorex?
I am thinking of e.g. the baseURL where to run the Ranorex tests.
When running from different projects each could have its own pipeline with baseURL parameter, but I have no clue how to pass this to Ranorex execution (if possible at all).
Re: Azure DevOps pipeline integration two different projects?
Hi,
Basically, you must create a pipeline variable and pass it to test as shown on below image: In your case, you need to create a global parameter in test suite and then use "/pa:" command line parameter to pass the pipeline variable to test.
Pipeline variable can be declared also directly within the pipeline:
Basically, you must create a pipeline variable and pass it to test as shown on below image: In your case, you need to create a global parameter in test suite and then use "/pa:" command line parameter to pass the pipeline variable to test.
Pipeline variable can be declared also directly within the pipeline:
Code: Select all
variables:
- name: RXRUNCONFIGURATION
value: Development
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Azure DevOps pipeline integration two different projects?
Wow great, thanks!