Ranorex support for Andriod Applications

Mobile Testing, Android App Testing.
sunilDahiya
Posts: 11
Joined: Tue Jul 31, 2012 2:21 pm

Ranorex support for Andriod Applications

Post by sunilDahiya » Tue Oct 16, 2012 9:58 am

Hi Team,

I have some questions related to Mobile Testing and Android:
1. How far does Ranorex support the Gesture or movements or scroll on APPs/Apps object?
is Ranorex supports only Click, Drag drop functionality or does it also support complex one like zooming in or zooming out, Picker, scroll view?

2. can Ranorex do good Image comparison with Mobile apps?

3. How does Ranorex behaves/communicate with Graphical objects in Apps or general?

4. is it possible to start Mobile Testing using command interface? Does Mobile Testing support External API.

Thanks & Regards,

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

Re: Ranorex support for Andriod Applications

Post by Support Team » Wed Oct 17, 2012 11:52 am

Hello,

1) Gestures are not supported in the current version but this feature is planned to be released.
2) Comparing images works the same for mobile devices as for desktop applications (see image recognition/comparison feature in user guide).
3) User drawn controls are recognized as android base classes (Views, Buttons etc), there is a feature on the roadmap to extract information from custom controls via reflection.
4) Ranorex tests for mobile devices can be started as EXE-files as known for desktop applications.

Could you please describe your last question in more detail what do you want to do?

Regards,
Markus (T)
Support Team
.
Image

sunilDahiya
Posts: 11
Joined: Tue Jul 31, 2012 2:21 pm

Re: Ranorex support for Andriod Applications

Post by sunilDahiya » Wed Oct 17, 2012 12:18 pm

Hi Team,

Thanks for the answers.
I have one more question:

1. Does Ranorex supports Web Apps as well? I mean can we automate web browsing apps?

Thanks again.

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

Re: Ranorex support for Andriod Applications

Post by Support Team » Wed Oct 17, 2012 12:32 pm

Hello,

You are welcome.

Currently, web apps are not supported for Android. Web apps support is planned to be released.
The exact release version is unknown at the moment.

Regards,
Markus (T)
Support Team
.
Image

Splendid
Posts: 2
Joined: Wed Jan 09, 2013 5:03 pm

Re: Ranorex support for Andriod Applications

Post by Splendid » Thu Jan 10, 2013 1:51 pm

Hello,

You told, that gestures feature will be supported in further release.
Do you have information, when new release will be ready?

And how I can emulate drag and drop in current version (4.0.0.20817)?
I tried using:

Code: Select all

repo.App.MainPage.Test.TouchStart(0.5, 0.2);
repo.App.MainPage.Test.TouchEnd(0.5, 0.8);
But I got long tap as a result, but not movement.

Language: C#

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

Re: Ranorex support for Andriod Applications

Post by Support Team » Thu Jan 10, 2013 6:05 pm

Hello,

The gestures feature is planned to be released in one of our next releases.
Currently, we don't have a fixed release date.

Have you tried to use a 'Touch Move' between 'Touch Start' and 'Touch End' to simulate a drag gesture?
Could you please clarify what do you mean with 'long tap'?

Regards,
Markus (T)
.
Image

Splendid
Posts: 2
Joined: Wed Jan 09, 2013 5:03 pm

Re: Ranorex support for Andriod Applications

Post by Splendid » Thu Jan 10, 2013 6:56 pm

Markus,

I also tried this code:

Code: Select all

repo.App.MainPage.Test.TouchStart(0.5, 0.2);
repo.App.MainPage.Test.TouchMove(0.5, 0.8);
repo.App.MainPage.Test.TouchEnd(0.5, 0.8);
And it gives me the same action as:

Code: Select all

repo.App.MainPage.Test.LongTouch();
As a result I receive popup message in test app instead of drag.
Can I simulate drag another way?

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

Re: Ranorex support for Andriod Applications

Post by Support Team » Mon Jan 14, 2013 3:05 pm

Hello,

It should work with both methods. Which popup message do you get?
Is it possible to get the APK file from your application in order to analyze the issue?
Thank you!

Regards,
Bernhard
.
Image

darius.popa
Posts: 20
Joined: Wed Jan 08, 2014 5:15 pm

Re: Ranorex support for Andriod Applications

Post by darius.popa » Wed Nov 12, 2014 3:14 pm

Hello,

I have a similar problem. What I want, is to drag and drop an element. The mechanism is the following:
- Long tap on the element
- Drag the element
- Drop the element
I was able to do it from the left to the right in this way

Code: Select all

repo.ComSnaponScanner.Right_Pane.Select_Vehicle.PIDs_Screen.Row1_Landscape.LeftLayout.TopGraph.TopGraph.TouchStart("255;25");
repo.ComSnaponScanner.Right_Pane.Select_Vehicle.PIDs_Screen.Row1_Landscape.LeftLayout.TopGraph.TopGraph.TouchMove("355;100");
repo.ComSnaponScanner.Right_Pane.Select_Vehicle.PIDs_Screen.Row1_Landscape.LeftLayout.TopGraph.TopGraph.TouchEnd("355;100");
The problem starts when I want to drag that element back, from the right side to the left. As far as I read, the arguments for these methods are percent of the element. I tried with negative values, but it didn't work. If you have any suggestions, please let me know.

Thanks,
Darius

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

Re: Ranorex support for Andriod Applications

Post by Support Team » Fri Nov 14, 2014 1:05 pm

HI all,

Just to keep you up to date, we are already in contact with Darius by email.

We will update this post as soon as we have found a solution for this problem.

Regards,
Markus (S)
.
Image