[wtr-general] Re: Issue with Select List

2012-07-19 Thread tkp
Hello, I am facing a similar issue with Watir 3.0.0. Clearing the select_list() entry using sdiv.select_list(:name,User).select gives undefined method `parent' for nil:NilClass [Note : sdivs is a variable use to access a series of divs.] Please let me know if there is any workaround for

[wtr-general] Re: Issue with Select List

2009-07-13 Thread Željko Filipin
On Sat, Jul 11, 2009 at 6:15 AM, Ravinder Singroha ravindersingr...@gmail.com wrote: The site only works with IE so cannot do reverse engineering with Firebug, is there something similar as firebug for IE?

[wtr-general] Re: Issue with Select List

2009-07-10 Thread Ravinder Singroha
I agree with you, If this helps, whenever i do a select event on that list using watir, it kinda like hangs the UI and then the select list doesn't performs it normal operation, which was whatever is selected on the list should be displayed in the text box. The text box is a read only so i

[wtr-general] Re: Issue with Select List

2009-07-09 Thread Ravinder Singroha
Hi Bhaskar We tried almost all set of combination like onchange,onblur n all events but its not working. is there another way ? Thanks Regards Ravinder Singroha On Jul 9, 3:26 am, Powerglide bhaskar.sundar...@gmail.com wrote: Hi,    Did you try issuing onblur or onchange    

[wtr-general] Re: Issue with Select List

2009-07-08 Thread Powerglide
Hi, Did you try issuing onblur or onchange ie.select_list(:name,ABC).select(value) ie.select_list(:name,ABC).fire_event(onblur) # if this does'nt work then try ie.select_list(:name,ABC).fire_event(onchange) Regards, Bhaskar On Jul 7, 11:10 pm, Ravinder Singroha

[wtr-general] Re: Issue with Select List

2009-06-11 Thread Pallavi Sharma
Hi George/Chuck/Zeljko I tried the following script: require 'watir' require 'watir/ie' require 'win32ole' ie=Watir::IE.attach(:title,//) ie.frame(:name, pageserverFrame).frame(:id, ContentFrame).select_list(:name, MIR-CVG-STBL-1-CD).clearSelection ie.frame(:name, pageserverFrame).frame(:id,

[wtr-general] Re: Issue with Select List

2009-06-11 Thread George
Is there a site we can go to in order to see this? On Jun 10, 11:12 pm, Pallavi Sharma write2pall...@gmail.com wrote: Hi George/Chuck/Zeljko I tried the following script: require 'watir' require 'watir/ie' require 'win32ole' ie=Watir::IE.attach(:title,//) ie.frame(:name,

[wtr-general] Re: Issue with Select List

2009-06-11 Thread Pallavi Sharma
Hey George/Chuck Thanks for the response so far, i am afraid the site is internal so you wont be able to access it. I tried the same with QTP, it worked, i will try it with other open source available today like selenium and sahi and see if they work in this scenario. Also i am going to try

[wtr-general] Re: Issue with Select List

2009-06-10 Thread George
Hi Pallavi, I've been having similar issues where manually using a select list exhibits different behavior than coding a selection. I had to figure out how to best mimic how a user would interact with the form. Eventually I found that, if I select the field label, set the value in the select

[wtr-general] Re: Issue with Select List

2009-06-09 Thread Željko Filipin
On Tue, Jun 9, 2009 at 7:49 AM, Pallavi Sharma write2pall...@gmail.com wrote: I tried the fire events also but no help. Which events did you fire? Looks like you should fire onChange and/or onfocus. Did you ask a developer how that code works and what events should be fired? Željko --

[wtr-general] Re: Issue with Select List

2009-06-09 Thread kiran
Hi, After selecting or before selecting the value ,use fire_events on select list. It might help you. Thanks, kiran. On Jun 9, 1:02 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Jun 9, 2009 at 7:49 AM, Pallavi Sharma write2pall...@gmail.com wrote: I tried the fire events

[wtr-general] Re: Issue with Select List

2009-06-09 Thread Pallavi Sharma
Hi I fired the onchange and onfocus event. could you please let me know when should i try fire them before selecting the value or after selecting the value? Please let me know. On Tue, Jun 9, 2009 at 1:32 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Jun 9, 2009 at 7:49

[wtr-general] Re: Issue with Select List

2009-06-09 Thread Željko Filipin
On Tue, Jun 9, 2009 at 3:00 PM, Pallavi Sharma write2pall...@gmail.com wrote: could you please let me know when should i try fire them before selecting the value or after selecting the value? Do you have access to developers? Because you should ask them that question. Željko

[wtr-general] Re: Issue with Select List

2009-06-09 Thread Pallavi Sharma
Okie Zeljko Thanks for the input. On Tue, Jun 9, 2009 at 6:34 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Jun 9, 2009 at 3:00 PM, Pallavi Sharma write2pall...@gmail.com wrote: could you please let me know when should i try fire them before selecting the value or after

[wtr-general] Re: Issue with Select List

2009-06-09 Thread Pallavi Sharma
Hi The developers told to fire onfocus then onchange event, after selecting the value. i tried that and other combination too but no success so far. is there anything else i am missing on in here. can anyone enlighten me a bit more about how to handle this particular scenario in watir.??? On