Facing issues in indentifying elements in Flex UI

16 views
Skip to first unread message

indrashyam

unread,
Feb 21, 2011, 2:15:07 PM2/21/11
to FunFX
Hi All,

This is Neela Shyam new to FunFx. Using 0.2.2 version.

For combo box:-
when given as flex.combo_box(:id,'qCurrency').select '€'

`build_flex_locator': undefined method `keys' for :id:Symbol
(NoMethodError)

when given as flex.combo_box(:id => 'qCurrency').select '€'
says - `method_missing': wrong number of arguments (1 for 2)
(ArgumentError)

For link_button it says FunFX:Flex::Elements::FlexLinkButton
(NameError) - in elements.rb file link_button is not available.

Struggling a lot in order to identify the elements and trigger them.

With 0.2.2 flexSpy and record options are coming, when try to record
link_button it works there. Where as in code it's not working.

Please help me out.

code snippet:-
Watir::Browser.default="firefox"
browser = Watir::Browser.new
browser.goto("http://localhost:8500")
flex = browser.flex_app('app','app')
flex.link_button({:id => 'nextPage', :automationName => 'Next
>', :automationIndex => 'index:11', :automationValue => 'Next
>'}).click('0')
flex.combo_box(:id,'qCurrency').select '€'
Reply all
Reply to author
Forward
0 new messages