Android UI

Mobile Testing, Android App Testing.
dsrcsebit
Posts: 2
Joined: Tue Jul 09, 2013 11:46 am

Android UI

Post by dsrcsebit » Wed Jul 10, 2013 4:39 am

Hello,

I am working on a client side android app. The application UI will have dynamic Images depending on the cover pages of books fetched from Server .

I need to compare the UI using Ranorex in multiple android devices. But the images on the UI will be different in each case depending on what is available from Server.

Is there a way by which the layout of the UI(Alignment of images/buttons etc.) can be validated using Ranorex?? Rather than checking the images itself.

I am also not sure whether it can be used to validate text input using regular expression or based on conditions using variables.?? Eg: Validating EmailId of Users.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Android UI

Post by Support Team » Thu Jul 11, 2013 3:24 pm

Hello,

Sorry but such property is not available at the moment. You can use the image based automation to validate if the button/image has the correct alignment (see Image-Based Automation).

It's possible to use a regular expression for validation using 'AttributeRegEx' in your validation method.
Please take a look at our User Guide about RanoreXPath with Regular Expressions
Using regular expression with variables is a bit tricky. You would need to write User Code for that.
Please take a look at the following posts in our forum: http://www.ranorex.com/forum/add-regula ... t2874.html

Regards,
Markus (T)