Clear cache on Android Devices

Mobile Testing, Android App Testing.
xeronar
Posts: 28
Joined: Mon May 22, 2017 8:19 pm

Clear cache on Android Devices

Post by xeronar » Wed Oct 18, 2017 4:02 pm

Hi all,

so I've searched the forum for any advice how to clear the cache on the Ranorex Mobile Browser, but I haven't found a decent answer yet. Here's what I want to do plus some specs:

Ranorex Version: 7.2.0
Device: Samsung Galaxy S7 Edge with Android 6.0.1, connected via WiFi
RxServiceApp 1.8.9
RxBrowser: 1.8.10

I just want to test a website via Ranorex Mobile Browser, but unfortunately, my tests need to start with a cleared cache, otherwise it won't work. I've seen a solution where the adb.exe is included (see the thread "How can I restart android app via C#?"), but I don't want to deploy any apps at the moment, I just want to test websites right now. So is it possible to clear the cache without installing the Android SDK? If it's not possible, I'm willing to make a feature request for this.

Best regards

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Clear cache on Android Devices

Post by Support Team » Thu Oct 19, 2017 7:47 pm

Hello Xeronar,

Thank you for posting this topic on clearing the Ranorex Web Testing (browser) app cache in the Ranorex forums.

You can clear the data stored by any app in the system settings of Android. Please touch the settings (cog) button in android, and then find the "Apps" section. Find the Ranorex Web Testing (browser) app, and open it. You will see "Storage", "Data Usage", "Permissions", etc. for the Ranorex Web Testing app. Please touch the "Storage" section, and you will see "Clear Data" and "Clear Cache" buttons. Try the "Clear Cache" button first, and the "Clear Data" button if the clear cache button does not work for what you require.

This is a great topic to submit into the User Voice section of our website. I searched and did not see where someone has previously added this topic. If you add it, then other people in the community can help up-vote this topic, so it will gain importance level in the community, and our development will know what features are the most important to the community. Your participation on other topics is also greatly appreciated, and you can see what has already been submitted, and up-vote topics that are important to you.

Here is the User Voice section of our website:

https://www.ranorex.com/uservoice.html

I hope this information is helpful to you, and I look forward to your response.

Sincerely,

- M. Kendall McIntosh
Automation Support Engineer
.
Image

xeronar
Posts: 28
Joined: Mon May 22, 2017 8:19 pm

Re: Clear cache on Android Devices

Post by xeronar » Sat Oct 21, 2017 2:39 pm

Hello Support Team,

thank you for the answer. I've made a feature request right here: https://uservoice.ranorex.com/forums/15 ... tion-to-th

So at all, go out and vote please :D