Working with the ranorex dropbox validation- The renorex service is not detecting the apps

Mobile Testing, Android App Testing.
itsmerahul
Posts: 4
Joined: Fri Apr 30, 2021 9:39 am

Working with the ranorex dropbox validation- The renorex service is not detecting the apps

Post by itsmerahul » Fri Apr 30, 2021 9:55 am

Hello all

I was working with the renorex app and was trying to work with the example

https://www.ranorex.com/automated-testi ... on-demand/

Unfortunately the renorex service app is not detecting the dropbox in the andoid tab..

Attaching the screenshot.

I would like to know What is the error.

I had restarted the app , restarted the tab, checked the wifi connection etc..

Thanks and Regards

Rahul
You do not have the required permissions to view the files attached to this post.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7465
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Working with the ranorex dropbox validation- The renorex service is not detecting the apps

Post by odklizec » Mon May 03, 2021 6:56 pm

Hi,

I'm afraid, Ranorex service app is supposed to work only with your own (and instrumented) apps! It will not work with 3rd party or system apps, which are not properly instrumented with Ranorex instrumentation wizard. And 3rd-party/native apps are usually impossible to instrument, due to obfuscation.
Pavel Kudrys
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

itsmerahul
Posts: 4
Joined: Fri Apr 30, 2021 9:39 am

Re: Working with the ranorex dropbox validation- The renorex service is not detecting the apps

Post by itsmerahul » Thu May 27, 2021 8:48 am

Hey thank you .

I have sorted out the issue .

Right now I am having an issue of not detecting the entire elements in an list.

Spy is able to detect only 15 elements. Where as I am having almost 50 elements in the list.

I had worked with the user code - Droped the list to the user code declaraed the variable as well as I had added an for loop for getting the element which I need from the list .

But still its only detecting 15.



How can I detect the entire element from the list.

Thanks And Regards
Rahul
Last edited by itsmerahul on Thu May 27, 2021 9:59 am, edited 1 time in total.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7465
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Working with the ranorex dropbox validation- The renorex service is not detecting the apps

Post by odklizec » Thu May 27, 2021 9:03 am

Hi,

Could you please post a Ranorex snapshot of the problematic list?

My best guess is, that the list in question is lazy-loaded, which means that only certain number of elements is loaded to UI, to save memory and increase UI response speed. In this case, your only hope is to programmatically scroll the list and store in a virtual list. Check these posts for general approach how to work with lazy-loaded lists/tables:
viewtopic.php?f=4&t=12247&p=49169#p49169
select-an-item-from-scroll-able-web-tab ... tml#p54578

BTW, next time, please create a new post regarding new issue. It's not good to use the same post for multiple problems ;)
Last edited by odklizec on Thu May 27, 2021 9:51 am, edited 1 time in total.
Pavel Kudrys
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

itsmerahul
Posts: 4
Joined: Fri Apr 30, 2021 9:39 am

Re: Working with the ranorex dropbox validation- The renorex service is not detecting the apps

Post by itsmerahul » Thu May 27, 2021 9:21 am

Hello sir

I will post the questions as new topic from next time onwards.

I am attaching the snap of the spy(1st image) which shows the elements ie, 15.

As well as the the total number of elements which are availiable in the list which are displayed in the mobile device.

Thanks and Regards
Rahul
Last edited by itsmerahul on Thu May 27, 2021 9:49 am, edited 1 time in total.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7465
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Working with the ranorex dropbox validation- The renorex service is not detecting the apps

Post by odklizec » Thu May 27, 2021 9:28 am

Hi,

Unfortunately, screenshots are not useful, what I've asked for is Ranorex snapshot! Anyway, as I mentioned in my previous post, it's so called lazy-loading, where app loads only certain number of elements to UI, not all of them. So if you scroll the UI up/down, the invisible items are unloaded from UI/memory and there are loaded new items. And this is why Ranorex see only certain number of them. So you will have to use the technique I mentioned before. There is no way around.
Pavel Kudrys
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

itsmerahul
Posts: 4
Joined: Fri Apr 30, 2021 9:39 am

Re: Working with the ranorex dropbox validation- The renorex service is not detecting the apps

Post by itsmerahul » Thu May 27, 2021 9:36 am

Hello

Attaching the ranorex snap



Regards
Rahul
Last edited by itsmerahul on Thu May 27, 2021 10:11 am, edited 2 times in total.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7465
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Working with the ranorex dropbox validation- The renorex service is not detecting the apps

Post by odklizec » Thu May 27, 2021 9:44 am

Hi,

Thanks. Anyway, the answer is the same. It's lazy-loaded list and you will have to scroll it up/down programmatically, to get the item(s) you want.
Pavel Kudrys
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