--
http://appium.io
---
You received this message because you are subscribed to the Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/appium-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
I should mention the expected solution to this problem is attaching
content descriptions to elements.
https://github.com/bootstraponline/android_content_description
On Wed, May 1, 2013 at 1:51 PM, bootstrap online
<ma...@bootstraponline.com <mailto:ma...@bootstraponline.com>> wrote:
It's not possible to find elements by id when using uiautomator on
Android. They're only accessible when using instrumentation. I'm
working on a fix for this by preprocessing the APK to extract ids.
On Wed, May 1, 2013 at 1:46 PM, satyajit malugu <sa...@malugu.com
<mailto:sa...@malugu.com>> wrote:
This is image from hierarchy viewer
I want to be able to find it by 'home'.
I tried find_element(:name, 'home') and find_element(:id,
'home'). This is using ruby bindings.
This is what is going through to appium
Pushing command to appium work queue:
["find",{"strategy":"name","selector":"home","context":"","multiple":false}]
I don't want to find by tag name and if possible avoid xpath.
--
http://appium.io
---
You received this message because you are subscribed to the
Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to
appium-discus...@googlegroups.com
Yes. I'm currently using only res/strings.xml however I can easily
support them all if there's a benefit.
On Wed, May 1, 2013 at 1:59 PM, satyajit malugu <sa...@malugu.com
<mailto:sa...@malugu.com>> wrote:
That's very clever. Are you planning to use res/*.xml files for
extracting these?
bootstrap online wrote:
I should mention the expected solution to this problem is attaching
content descriptions to elements.
https://github.com/bootstraponline/android_content_description
On Wed, May 1, 2013 at 1:51 PM, bootstrap online
<ma...@bootstraponline.com <mailto:ma...@bootstraponline.com>
<mailto:ma...@bootstraponline.com
<mailto:ma...@bootstraponline.com>>> wrote:
It's not possible to find elements by id when using
uiautomator on
Android. They're only accessible when using instrumentation. I'm
working on a fix for this by preprocessing the APK to extract
ids.
On Wed, May 1, 2013 at 1:46 PM, satyajit malugu
<sa...@malugu.com <mailto:sa...@malugu.com>
<mailto:sa...@malugu.com <mailto:sa...@malugu.com>>> wrote:
This is image from hierarchy viewer
I want to be able to find it by 'home'.
I tried find_element(:name, 'home') and find_element(:id,
'home'). This is using ruby bindings.
This is what is going through to appium
Pushing command to appium work queue:
["find",{"strategy":"name","selector":"home","context":"","multiple":false}]
I don't want to find by tag name and if possible avoid xpath.
--
http://appium.io
---
You received this message because you are subscribed to the
Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to
appium-discus...@googlegroups.com
<mailto:appium-discuss%2Bunsu...@googlegroups.com>
<mailto:appium-discuss%2Bunsu...@googlegroups.com
<mailto:appium-discuss%252Buns...@googlegroups.com>>.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discus...@googlegroups.com.
Visit this group at
http://groups.google.com/group/appium-discuss?hl=en.
For more options, visit
https://groups.google.com/groups/opt_out.
>>>> <mailto:appium-discuss%252Bunsubscribe@googlegroups.com>>.
>> >>>> <mailto:appium-discuss%252Bunsubscribe@googlegroups.com>>.
>> >> >>>> <mailto:appium-discuss%252Bunsubscribe@googlegroups.com>>.
So, how could be accessed the elements that have their IDs defined in the layout file?
For the ContactManager application I see that the “Add Contact” button has the ID addContactButton => so I want to perform a click by finding this ID and NOT the text on the button because the texts might change.
Is it possible? As I know this is possible with selendroid…but the button is not found when writing the test.