Field for URL entry in iOS different from Android
Posted: Thu Oct 15, 2015 6:33 pm
Ranorex version 5.4.2
For iOS:
Ranorex Services v 2.1.0
RxBrowser v 2.1.2
For Android:
Ranorex Services v 1.8.3
RxBrowser v 1.8.5
I tried to run the scripts that work in iOS device in an Android device and finding out that the field where you enter the URL or web address of your AUT is different in Android device.
What needs to make this generic for both iOS and Android?
The Path I have for iOS is:
?/?/text[@accessibilitylabel='Url']
or
/mobileapp[@title='ranorex.RxBrowser']/form/?/?/text[@accessibilitylabel='Url']
The Path I have for Android is:
.//container[@rid=UrlHeader']/text[@accessibilitylabel='Url']
or
/mobileapp[@title='ranorex.RxBrowser']/form//container[@rid='UrlHeader']/text[@accessibilitylabel='Url']
Thanks.
Gilbert
For iOS:
Ranorex Services v 2.1.0
RxBrowser v 2.1.2
For Android:
Ranorex Services v 1.8.3
RxBrowser v 1.8.5
I tried to run the scripts that work in iOS device in an Android device and finding out that the field where you enter the URL or web address of your AUT is different in Android device.
What needs to make this generic for both iOS and Android?
The Path I have for iOS is:
?/?/text[@accessibilitylabel='Url']
or
/mobileapp[@title='ranorex.RxBrowser']/form/?/?/text[@accessibilitylabel='Url']
The Path I have for Android is:
.//container[@rid=UrlHeader']/text[@accessibilitylabel='Url']
or
/mobileapp[@title='ranorex.RxBrowser']/form//container[@rid='UrlHeader']/text[@accessibilitylabel='Url']
Thanks.
Gilbert