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

Mobile Testing, Android App Testing.
User avatar
HugovdB
Posts: 12
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: 3
Joined: Sun Dec 06, 2020 10:08 am
Location: https://gbapps.net/gbwhatsapp-apk/
Contact:

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: 12
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

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

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

Post by HugovdB » Tue Jul 06, 2021 10:09 am

Still no progress here, I have not found a way yet to start and/or stop an iOS app through a pipeline so that the Service App can interact with it. If I ever do I will make sure to post my solution here.
Hugo van den Berg
Test Lead at4PS

immortalGoku1452
Posts: 1
Joined: Thu Jul 01, 2021 5:27 pm

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

Post by immortalGoku1452 » Tue Sep 07, 2021 12:40 pm

HugovdB wrote:
Tue Jul 06, 2021 10:09 am
Still no progress here, I have not found a way yet to start and/or stop an iOS app through a pipeline so that the Service App can interact with it. If I ever do I will make sure to post my solution here.
Same here, I don't seem to connect with the app by any means. Every time I try to open the app, it just crashes.

Mary98
Posts: 2
Joined: Tue Nov 09, 2021 5:27 am
Contact:

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

Post by Mary98 » Tue Nov 09, 2021 5:44 am

whatsapp modWhere is the solution exactly? Sorry, but i didn't find a post here with the solution.

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

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

Post by HugovdB » Tue Nov 09, 2021 4:07 pm

Mary98 wrote:
Tue Nov 09, 2021 5:44 am
whatsapp modWhere is the solution exactly? Sorry, but i didn't find a post here with the solution.
Pretty sure the replies above are nonsense. there is no solution for this yet. You still need to start an instrumented app manually on iOS in order for the service app to use them...
Hugo van den Berg
Test Lead at4PS

Julion
Posts: 2
Joined: Tue Dec 21, 2021 7:36 am

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

Post by Julion » Tue Dec 21, 2021 7:38 am

fmwhatsappThanks for the response. I will try it manually.

kirito
Posts: 2
Joined: Mon Jul 05, 2021 6:45 pm

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

Post by kirito » Fri Dec 24, 2021 10:26 am

Julion wrote:
Tue Dec 21, 2021 7:38 am
Thanks for the response. I will try it manually.nulls clash
Share with us too how you do it if you got success. I'm a lazy one here. :D
stand for something or you will fall for anything. And nulls clash game is all you need.

Julion
Posts: 2
Joined: Tue Dec 21, 2021 7:36 am

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

Post by Julion » Tue Jan 11, 2022 9:16 am

Julion wrote:
Tue Dec 21, 2021 7:38 am
gbwhatsappThanks for the response. I will try it manually.
no luck so far...if anyone is interested in trying it out with me, PM me. It will help me too.

hoobdk
Posts: 1
Joined: Sat Jan 22, 2022 7:27 am

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

Post by hoobdk » Sat Jan 22, 2022 7:32 am

Restart all Ranorex tools and the AUT with the same privileges, preferably as an administrator.YoWhatsApp APK Download