Recording on mobile

Best practices, code snippets for common functionality, examples, and guidelines.
theraviz
Posts: 111
Joined: Sun Apr 14, 2019 9:46 am

Recording on mobile

Post by theraviz » Sun May 01, 2022 5:59 pm

Hi,

Need a help in recording test cases for my ios automation.
I am not able to perform “Record” option while automating a Mobile App. (Tried versions 10.1.1 and 10.1.6) Is this feature not available like how we can record on a browser?

Also, when I try to add all controls to the repository, the track button is always disabled (screenshot 1). The only way to add a control is as below.

Step 1 : Click on Record button

Step 2 : Choose the app and click on “Create” (Screenshot 2) and then the Element Browser Ranorex Spy opens and then I have to add controls.

But the hectic task here is every time I have to repeat step 1 and 2 since the “Track” button is always disabled.

Please let me know Why the button is not working at all?

Or why the app selection (screenshot 2) window always pops up when I try to add a control?
You do not have the required permissions to view the files attached to this post.

Jacob
Certified Professional
Certified Professional
Posts: 120
Joined: Mon Mar 22, 2021 10:01 pm

Re: Recording on mobile

Post by Jacob » Fri May 13, 2022 6:41 pm

Hey theraviz,

With mobile testing, it looks like you have your endpoint setup properly in Ranorex Studio, otherwise you wouldn't get that popup. Because of the limitations of both iOS and Android, we cannot directly record like we do with desktop or web-based tests. Instead, we'll have to use the Ranorex Spy Tool to inspect the application and add the elements we need to access via Spy. You can find more information in the iOS and Android webinars.

--Jacob
Image