[wtr-general] Error in script as button is disable for some time

2010-12-02 Thread Sudeep
Hi, I am automating an application which adds goals for the day. It contains a text area in which a goal is written and when the Submit Goal is clicked, it is added to the Goal List. The user then can add the next goal. When the goal is being addeed to the goal list, till the action is

Re: [wtr-general] Error in script as button is disable for some time

2010-12-02 Thread Željko Filipin
On Thu, Dec 2, 2010 at 12:20 PM, Sudeep sudeeppattn...@gmail.com wrote: Do we have any feature to make the control wait for sometime till the button is enabled again. Sure: http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir I remember people saying wait syntax changed in the new Watir

[wtr-general] Re: click_no_wait not working for Checkbox

2010-12-02 Thread Babitha
Try increasing the sleep time. When it works through IRB, but not in code, most often than not, the issue is related to timing. On Nov 30, 3:30 am, Deep dedeepya.kanipa...@gmail.com wrote: Hi, I need to clear the checkbox which gives a pop up with OK and Cancel buttons. Then I have to click

[wtr-general] Accessing internal FireWatir methods -- get_links()

2010-12-02 Thread dave
I was checking out the showLinks() method http://wtr.rubyforge.org/rdoc/1.6.5/classes/FireWatir/Firefox.html#M000133 and checking out the source # File firewatir/lib/firewatir/firefox.rb, line 782 def show_links links = Document.new(self).get_links puts There are #{links.length}

[wtr-general] WatirRecorder being forked and resurrected.

2010-12-02 Thread watirboy
Hey Guys, I dont know how else to tell people about this, and I hate promoting it, but I have recently resurrected the WatirRecorder that Hanselman did back in the day. It is updated to use more modern WATIR standards and calls a config.xml file for template changes.

[wtr-general] I can find an element with irb, but when I run the test it cannot be found, and also not by SciTE tool.

2010-12-02 Thread Shlomit Gazit
The watir code I have is: ie.cell(:class,c2p-action-down-arrow-horizontal).click When I do inspect element I see: td class=c2p-action-down-arrow- horizontal /td When I do view source I cannot find 'c2p-action-down-arrow- horizontal'. Any idea why? -- Before posting, please read

Re: [wtr-general] WatirRecorder being forked and resurrected.

2010-12-02 Thread Charley Baker
Hey Enrique, Good work. We generally have an anti-recorder philosophy for Watir, and for any issues/user support you might want to resurrect WatirRecorder lists or set up a new one. I'm assuming you've talked to Scott about this as well? I don't know what the original license was. People will

[wtr-general] Re: I can find an element with irb, but when I run the test it cannot be found, and also not by SciTE tool.

2010-12-02 Thread Darryl Brown
Hi, What happens if you: ie.cell(:class,c2p-action-down-arrow-horizontal).flash -or- if ie.cell(:class,c2p-action-down-arrow-horizontal).exists? puts yes else puts no end Regards, Darryl On Dec 2, 2:29 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote: The watir code I have is:

[wtr-general] Re: Issues to sync with page correctly in watir1.6.7

2010-12-02 Thread Darryl Brown
Hi, Are your pages using AJAX ? Watir does not wait for AJAX objects. In our scripts, we wait until the last AJAX object to exist before continuing. Regards, Darryl On Nov 25, 10:54 am, alex.ikhelis alex.ikhe...@gmail.com wrote: Raised it as a tickethttp://jira.openqa.org/browse/WTR-466 --

[wtr-general] Error while running script

2010-12-02 Thread Sudeep
Hi, I got the following error after the line which is inin the script below. C:\Documents and Settings\sudeepp\Desktop\Ruby Programsruby GPS_GoalEntry.rb.txt Test Started C:/Ruby186/lib/ruby/gems/1.8/gems/watir-1.6.7/lib/watir/ input_elements.rb:374:in `method_missing': select