Hey @Chris_Trevarthen,
Thanks for the quick reply…!!
My problem is now I can locate other screen in the app. If I try to capture main screen it just highlight the screen boarder. But if I try and capture other screen I can locate the element.
I want to navigate to all other screen from the main screen only.
Attaching the video here so you can get better idea about it.
https://drive.google.com/file/d/1iJCZvOtlqUso1D-_bo4soy639O9UYKH7/view?usp=sharing
Hi @perry.g,
Thanks for the video - it’s very helpful!
From what I know about how Katalon/Appium read what’s on a screen, for iOS, it gets the entire contents of any lists on the screen. So, if the list of items you’re seeing is very long (even if it’s not visible on the screen), it could take a very long time to load the list and interact with it in the Mobile Spy. Based on the video, it looks like this might be the case.
A couple of questions:
- Do you know if this is a native app or is it hybrid?
- Do you have an idea of how long the list of items is on the screen where you’re having issues? Is it all loaded at once or is it an infinite scroll list that loads as you scroll to the bottom of the screen?
– Chris
1 Like
Hi @Chris_Trevarthen,
Yes you are right there is long list which is visible as I scroll down the screen.
1.The application is developed in React native - a cross plate-form tool. But I am not sure whether they are loading web-view any where in the app.I don’t think it can be hybrid app.
2.Yeah it is all loaded at once on the API call and it gets visible when I scroll down the list.So all the data is coming from API at once and is there any new update after API calling there is a socket even to fetch the new data or update if any.
Hope this will be helpful for you.
Again thanks for the reply.
Hi @perry.g,
Thanks for the info. Knowing that the entire list is pulled by the API all at one time, iOS will wait until everything is loaded, then the WebDriverAgent that forms the interaction between iOS and Appium will generate an XML of the entire contents, which Appium (the engine behind Katalon’s mobile interactions) will parse. If it’s a long list and/or deeply nested, this could take a long time.
I am seeing some people on Appium forums talking about upgrading to Appium 1.17.1 to speed things up. I haven’t tried it myself, but it might be worth a shot.
Otherwise, I think you may have to understand that it’s going to be slow interaction when using Spy Mobile and you may have to hit “Capture Object” a few times before getting the correct list. This may also mean that you need to add some Mobile.delay() calls in your tests to wait for the XML to be parsed when a new screen is loaded with a lot of data.
Hope this helps,
Chris
1 Like