Page 1 of 1

Android UI

Posted: Wed Jul 10, 2013 4:39 am
by dsrcsebit
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.

Re: Android UI

Posted: Thu Jul 11, 2013 3:24 pm
by Support Team
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)