Open instrumented IPA through pipeline to be visible in Ranorex Service App

Mobile Testing, Android App Testing.
User avatar
HugovdB
Posts: 6
Joined: Fri Sep 18, 2020 2:31 pm

Open instrumented IPA through pipeline to be visible in Ranorex Service App

Post by HugovdB » Wed Mar 10, 2021 10:59 am

As part of our continuous integration I've set up pipeline in Azure DevOps in order to test our apps. For Android I've set up a pipeline where the Ranorex Service App gets installed on the target phone (real device connected to the pipeline agent(laptop)) followed by the instrumented app (Instrumentation of the app takes place in a seperate pipeline). I've used command line tasks to achieve this and adb commands in the command line task. When these tasks are completed and the apps are installed on the device(s) the ranorex solution task starts with a freshly installed app on the device(s).

I'm trying to achieve the same for iOS and I've come as far as setting up a pipeline where the IPA gets instrumented and deployed to the device where the Ranorex Service App is allready installed. However, as mentioned in the documentation for the instrumentation wizard (https://www.ranorex.com/help/latest/int ... izard/ios/) the app will only become visible for the Ranorex Service App after the app is started manually. Since this is all taking place in an automated pipeline and at night I'm unable to start it manually. Is there a way to automate this so that the Ranorex Service App recognizes the instrumented app befor the ranorex solution starts?
Hugo van den Berg
Test Lead at4PS

Chartlon
Posts: 4
Joined: Sun Dec 06, 2020 10:08 am

Re: Open instrumented IPA through pipeline to be visible in Ranorex Service App

Post by Chartlon » Sun Mar 28, 2021 9:17 am

HugovdB wrote:
Wed Mar 10, 2021 10:59 am
As part of our continuous integration I've set up pipeline in Azure DevOps in order to test our apps. For Android I've set up a pipeline where the Ranorex Service App gets installed on the target phone (real device connected to the pipeline agent(laptop)) followed by the instrumented app (Instrumentation of the app takes place in a seperate pipeline). I've used command line tasks to achieve this and adb commands in the command line task. When these tasks are completed and the apps are installed on the device(s) the ranorex solution task starts with a freshly installed app on the device(s).

I'm trying to achieve the same for iOS and I've come as far as setting up a pipeline where the IPA gets instrumented and deployed to the device where the Ranorex Service App is allready installed. However, as mentioned in the documentation for the instrumentation wizard (https://www.ranorex.com/help/latest/int ... izard/ios/) the app will only become visible for the Ranorex Service App after the app is started manually. Since this is all taking place in an automated pipeline and at night I'm unable to start it manually. Is there a way to automate this so that the Ranorex Service App recognizes the instrumented app befor the ranorex solution starts?
have you finished your work? because which pipeline you are trying to develop it seems very interesting and I would like to use it at once.

User avatar
HugovdB
Posts: 6
Joined: Fri Sep 18, 2020 2:31 pm

Re: Open instrumented IPA through pipeline to be visible in Ranorex Service App

Post by HugovdB » Mon Mar 29, 2021 7:59 am

Chartlon wrote:
Sun Mar 28, 2021 9:17 am
have you finished your work? because which pipeline you are trying to develop it seems very interesting and I would like to use it at once.
I have not, you are the only reply so far. As mentioned, I do have the android pipeline ready and the iOS partially but am still unable to open an app from the pipeline...
Hugo van den Berg
Test Lead at4PS