[wtr-general] Re: Selecting a drop down option on a Calendar does not refresh the Calendar. (It should refresh the calendar)

2012-04-04 Thread sridhar249
Hi Chuck, Sorry for the late reply. I tried these 2 lines that you sent me. It is also not refreshing the calendar. All it does is setting the drop down option to May b.div(:id = sideMenutimesheet_ctl00).select_list.set(May) b.div(:id =

[wtr-general] Re: watir-webdriver, cannot sign in to twitter

2012-04-04 Thread Nayeem Syed
you can use the wait_until_present to wait until the element is visible, eg require watir-webdriver/wait ... browser.li(:id,example li tag).wait_until_present ... access the element here. more details on wait until present is on here:

[wtr-general] Re: Selecting a drop down option on a Calendar does not refresh the Calendar. (It should refresh the calendar)

2012-04-04 Thread Chuck van der Linden
bit busy at the day job this week, might be a day or two before I have time to take a look. hopefully someone else here can have a look at this and see if they can puzzle it out. On Wednesday, April 4, 2012 12:19:10 AM UTC-7, sridhar249 wrote: Hi Chuck, Sorry for the late reply. I tried

[wtr-general] Re: Silverlight Support

2012-04-04 Thread Chuck van der Linden
Flex is a bit of a different animal.Silverlight is a tad more open so there is more hope for it (at least IMHO) Do you have an example (perhaps on a demo site) of the sort of Silverlight stuff you are trying to interact with? (in the long run, it looks like HTML5 seeks to replace most of

[wtr-general] Re: Web-driver is not able to locate where as watir 2.0 able to

2012-04-04 Thread Chuck van der Linden
Anything that inherits stuff from Element (which Div does, along with just about every other html element) should have the click method. http://rubydoc.info/github/watir/watir-webdriver/Watir/Container#div-instance_method It may be that the div is not what is looking for the click, but some

[wtr-general] Re: send_keys is not working in watir 2.0

2012-04-04 Thread Chuck van der Linden
I believe that watir 2.0 uses RAutomation and not AutoIt http://rubydoc.info/gems/watir/2.0.4/Watir/IE#send_keys-instance_method On Saturday, March 31, 2012 9:30:02 PM UTC-7, srinivasarao jyothi wrote: Hi There, i am facing the following problem(might be i am not loading all the required

[wtr-general] Re: Error:1.9.1/net/http.rb:644:in `initialize': An operation on a socket could not be performed because the system lacked sufficient buffer space

2012-04-04 Thread Chuck van der Linden
it looks a lot to me like that error is in the webdriver code, you might need to ask the webdriver folks about this. On Thursday, March 29, 2012 9:42:56 AM UTC-7, srinivasarao jyothi wrote: Hi All, Can someone help me on the following. When i tried to run my watir- webdriver script from

[wtr-general] Why would a command work in IRB but fail in the script itself?

2012-04-04 Thread Abe Heward
If I run this command in IRB it works: @browser.li(:text=/Text File/i).checkbox.set However, that same line in my test script throws this error: Watir::Exception::UnknownObjectException: unable to locate element, using {:text=/Text\ File/i, :tag_name=li} What is going on, here? Why

[wtr-general] Re: Why would a command work in IRB but fail in the script itself?

2012-04-04 Thread Anthony Hallett
Is your site running JavaScript? Have a look at https://github.com/watir/watir-webdriver/wiki/AJAX-and-waiting-for-elements On Thursday, 5 April 2012 08:04:42 UTC+10, Abe Heward wrote: If I run this command in IRB it works: @browser.li(:text=/Text File/i).checkbox.set However, that same

[wtr-general] Re: Why would a command work in IRB but fail in the script itself?

2012-04-04 Thread Abe Heward
Ah ha! That was the ticket! Thanks. It really didn't seem like I needed a wait, here, but I guess so. On Wednesday, April 4, 2012 3:13:55 PM UTC-7, Anthony Hallett wrote: Is your site running JavaScript? Have a look at

[wtr-general] Re: Silverlight Support

2012-04-04 Thread Litha K
Thanks Chuck, for offering to have a look. Yes, certainly I do a demo site which needs logging in and playing video. Shall I send you the details separately and you can post back your findings back on the forum? Thanks, Jay On Apr 4, 5:56 pm, Chuck van der Linden sqa...@gmail.com wrote: Flex