I'm not 100% clear on what the requirements are in terms of ids and that 
sort of thing is with iOS apps, but I don't see an id attribute in the 
appium inspector.  Even the appium documents don't say anything about using 
ids?

https://github.com/appium/appium/blob/master/docs/finding-elements.md

<https://lh4.googleusercontent.com/-UPXmqImJGq4/UtBoU7qQCII/AAAAAAAAAWo/0EQA_CJeSsI/s1600/Screen%2BShot%2B2014-01-10%2Bat%2B4.38.11%2BPM.png>




On Friday, January 10, 2014 4:25:35 PM UTC-5, Oscar.Rieken wrote:
>
> I just make sure everything I need to interact with has an id and it works 
> just fine.
>
>
> On Fri, Jan 10, 2014 at 4:22 PM, Dan <[email protected] <javascript:>>wrote:
>
>> Actually, I've gotten it to work with watir-webdriver.  It seems that in 
>> the element locator that :name is not a valid finder, but this is used 
>> pretty heavily in iOS.  I was able to patch and add it back in.  Let's see 
>> how much farther I can get.
>>
>> require 'rubygems'
>>
>> require 'watir-webdriver'
>>
>> module Watir
>>
>>   class ElementLocator
>>
>>     include Watir::Exception
>>
>>
>>     WD_FINDERS =  [
>>
>>       :class,
>>
>>       :class_name,
>>
>>       :css,
>>
>>       :id,
>>
>>       :link,
>>
>>       :link_text,
>>
>>       :name,     # deliberately excluded to be watirspec compliant
>>
>>       :partial_link_text,
>>
>>       :tag_name,
>>
>>       :xpath
>>
>>     ]
>>
>>   end
>>
>> end
>>
>> On Friday, January 10, 2014 12:47:27 PM UTC-5, Dan wrote:
>>>
>>> Hey everyone.  Anyone know if there are plans to build in support for 
>>> appium tests into watir-webdriver?  Alister has a great post on getting 
>>> started with selenium-webdriver, but support in watir-webdriver is missing 
>>> currently.
>>>
>>> http://watirmelon.com/2013/11/05/using-appium-in-ruby-for-
>>> ios-automated-functional-testing/
>>>
>>  -- 
>> -- 
>> Before posting, please read http://watir.com/support. In short: search 
>> before you ask, be nice.
>>  
>> [email protected] <javascript:>
>> http://groups.google.com/group/watir-general
>> [email protected] <javascript:>
>>  
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Watir General" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to