Android Application - Crosswalk

Mobile Testing, Android App Testing.
JoashM
Posts: 1
Joined: Thu Mar 10, 2016 3:20 pm

Android Application - Crosswalk

Post by JoashM » Thu Mar 10, 2016 3:26 pm

Hi there,

Does Ranorex support testing Android applications with an embedded Crosswalk webview? I have tried other applications and they cannot recognize any elements in the webview.

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

Re: Android Application - Crosswalk

Post by odklizec » Mon Mar 14, 2016 9:04 am

Hi,

I'm afraid, testing web pages on mobile devices (both iOS and Android) is only possible via Ranorex own RxBrowser app (available >here<)/
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

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

Re: Android Application - Crosswalk

Post by Support Team » Mon Mar 14, 2016 3:29 pm

Hi JoashM,

Unfortunately it is not possible to access elements within the CrossWalk WebView. The CrossWalk framework ships its own WebView to host its web content.
 
As a workaround you could use the Android OS Automation as described in the following chapter in our User Guide
 
Please note that automation outside an application is an Android functionality and we therefore cannot guarantee a smooth execution. Thank you for your understanding.

Regards,
Markus (S)
.
Image

SanMan
Posts: 147
Joined: Tue Apr 13, 2010 9:59 am

Re: Android Application - Crosswalk

Post by SanMan » Tue Aug 28, 2018 11:55 am

Hi Markus,

I did not found this tread when posted this:

viewtopic.php?f=23&t=11783&p=47330&hilit=XWalk#p47330

So it could be possible to make some automation test with help of your workaround (Android OS Automation)?

SanMan
Posts: 147
Joined: Tue Apr 13, 2010 9:59 am

Re: Android Application - Crosswalk

Post by SanMan » Wed Sep 26, 2018 8:42 am

"Does Ranorex support testing Android applications with an embedded Crosswalk webview? I have tried other applications and they cannot recognize any elements in the webview."

I have a problem here :(

I should do test automation to this kind of android app, but currently it seem to be impossible with Ranorex.

Have anyone done any automation testing with these kind of apps? Should I try to find some other software? Is there some solutions to use Ranorex to control some other inspect view or some other workaround?

I am not a software developer and not know a much about coding, but developers here said that here are also some references how uses these kind of solutions:
https://cordova.apache.org/
https://ionicframework.com/

Any kind of help would be highly appreciated

dpFourOFour
Certified Professional
Certified Professional
Posts: 38
Joined: Mon Dec 12, 2016 9:24 am

Re: Android Application - Crosswalk

Post by dpFourOFour » Wed Sep 26, 2018 9:20 am

Hi SanMan,

Seems that Crosswalk is dead . The last release is more than a year ago and the project team itself stated, that there wont be updates anymore.

I'm not sure if the Ranorex folks will add support for a technology which is rarely used and not really further developed.

Have you tried the Android OS automation as suggested by the Ranorex support team?

Best,
DP
Please always include the following information to your posts
  • Ranorex Version
  • OS Version

SanMan
Posts: 147
Joined: Tue Apr 13, 2010 9:59 am

Re: Android Application - Crosswalk

Post by SanMan » Wed Sep 26, 2018 10:27 am

Hi DP,

thank you for your answer.

Yes, I did try to work with Android OS automation with little success :(

I have to inform the coding team about the situation about Crosswalk and hope they will soon change to some other (Ranorex friendly :) ) technology.

I the mean time: is there any suggestion what to do. Should I try one of those: https://www.softwaretestinghelp.com/5-b ... lications/

Can I use Ranorex anyway with automation?

dpFourOFour
Certified Professional
Certified Professional
Posts: 38
Joined: Mon Dec 12, 2016 9:24 am

Re: Android Application - Crosswalk

Post by dpFourOFour » Thu Sep 27, 2018 12:51 pm

Hi SanMan,

What exactly do you see or what are you not able to see when using Android OS automation. It worked for me in the most cases without any issues.
Also, I'm afraid I can't give you any recommendation about those tools, since I am not familiar with them.

Maybe you can post a snapshot made with Android OS?

Best,
DP
Please always include the following information to your posts
  • Ranorex Version
  • OS Version

SanMan
Posts: 147
Joined: Tue Apr 13, 2010 9:59 am

Re: Android Application - Crosswalk

Post by SanMan » Fri Oct 05, 2018 7:11 am

Hi,

sorry for late answer...too busy with other testing than mobile.

Seems that I have done something wrong when tried this Android OS

I have done this: "To automate system apps the setting ‘Android OS Automation’ has to be enabled. "

But when I start new recording, Ranorex Spy is started with: /mobileapp[@title='ranorex.RxBrowser']

What I am doing wrong. Phone in use is Nokia3 (Android 8.0.0)

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

Re: Android Application - Crosswalk

Post by odklizec » Fri Oct 05, 2018 12:12 pm

Hi,

At first, Ranorex no longer supports recording of mobile apps (since Ranorex 8.0). What version of Ranorex do you use?
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

SanMan
Posts: 147
Joined: Tue Apr 13, 2010 9:59 am

Re: Android Application - Crosswalk

Post by SanMan » Fri Oct 05, 2018 12:22 pm

Hi,

Ranorex version: 8.2.1

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

Re: Android Application - Crosswalk

Post by odklizec » Fri Oct 05, 2018 12:27 pm

So, because the recording of mobile apps is no longer supported, you need to create the repo elements and their xpaths manually, as shown by this webinar...
https://www.ranorex.com/blog/create-mob ... -0-higher/
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