Page 1 of 1

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

Posted: Fri Apr 30, 2021 9:55 am
by itsmerahul
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

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

Posted: Mon May 03, 2021 6:56 pm
by odklizec
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.

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

Posted: Thu May 27, 2021 8:48 am
by itsmerahul
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

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

Posted: Thu May 27, 2021 9:03 am
by odklizec
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 ;)

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

Posted: Thu May 27, 2021 9:21 am
by itsmerahul
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

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

Posted: Thu May 27, 2021 9:28 am
by odklizec
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.

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

Posted: Thu May 27, 2021 9:36 am
by itsmerahul
Hello

Attaching the ranorex snap



Regards
Rahul

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

Posted: Thu May 27, 2021 9:44 am
by odklizec
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.