[wtr-general] Re: WatiRspec 0.1.0

2010-04-08 Thread chandu.tennety
While we are on names, how about SpectiR? :) If no one else wants it, I'll take it. Chandu On Apr 7, 3:38 pm, Jarmo Pertman jarm...@gmail.com wrote: I understand what you're getting at. Of course i don't want to be impolite nor rude. I'm wondering, what does Jari himself think about this

Re: [wtr-general] Re: Error in IRB: LoadError: no such file to load -- watir

2010-04-08 Thread Ethan
Watir being a library for ruby, some familiarity with ruby is assumed as a prerequisite for using it. That includes familiarity with ruby's environment, including irb and rubygems. Likewise, opening a command prompt is something we assume people know how to do. There are many excellent resources

Re: [wtr-general] Re: ajax and unable to locate element

2010-04-08 Thread windy
please open irb, try 'browser.show_frames' maybe it's in a frame, so you can't get it . hope it's useful. 在 Thu, 08 Apr 2010 11:26:55 +0800,Sal Jamil salem.m.ja...@gmail.com 写道: I am sorry, it is not available on the web. I can give you the source of the page but it references a lot of

Re: [wtr-general] Re: ajax and unable to locate element

2010-04-08 Thread Sal Jamil
Thanks. I tried that using IRB and I got There are 0 frames BUT Watir did not have a problem locating the new input field using IRB but it still throws the same Exception running the test from a file. I am going to google further on this issue. Thanks again. On Thu, Apr 8, 2010 at 12:12 PM, windy

[wtr-general] Re: Stop Firefox?

2010-04-08 Thread Nate
Hey thanks guys, Overriding the wait function worked perfectly! Thanks! nate On Apr 7, 1:23 pm, ravi pulipaka ravi8...@gmail.com wrote: the above method works fine but the problem is sometimes the page needs more time than you mention in such cases it will fail you can use a function called

Re: [wtr-general] Re: ajax and unable to locate element

2010-04-08 Thread windy
That's a strange thing . You should check the code of the file again . Google is good, Good luck to you. 在 Fri, 09 Apr 2010 00:24:47 +0800,Sal Jamil salem.m.ja...@gmail.com 写道: To unsubscribe, reply using remove me as the subject. -- Before posting, please read http://watir.com/support.

Re: [wtr-general] Re: ajax and unable to locate element

2010-04-08 Thread Sal Jamil
I added a sleep(5) after the fire_event and Watir was able to find the new field: b.radio(:id, entryModeManual).fire_event(onclick) sleep(5) b.text_field(:name, 'order_ref[1]').set('OE123') Thanks for the help On Thu, Apr 8, 2010 at 12:24 PM, Sal Jamil salem.m.ja...@gmail.com wrote: Thanks. I

[wtr-general] Re: Error in IRB: LoadError: no such file to load -- watir

2010-04-08 Thread Adam Reed
Not to further hammer the point here, but I've found that this message board has provided MANY helpful how-to's and JIRA bugs for WATIR. When an issue is discovered that has not been discussed previously, someone always asks the original poster to update the Wiki or log a JIRA bug. So, now that

[wtr-general] Re: How to use the Firewatir in Mac

2010-04-08 Thread John Williams
Thank you Zhong. After I open Firefox with: /Applications/Firefox.app/Contents/MacOS/firefox-bin -jssh I still get errors trying to use jssh. I believe there is a difference between Mac OS X 10.5 and 10.6 in how they allow arguments such as - jssh. For example, when I try to telnet to the port:

Re: [wtr-general] Re: How to use the Firewatir in Mac

2010-04-08 Thread chatur vidur
Hi I had a similar problem, but i want to know /Applications/Firefox.app/Contents/MacOS/firefox-bin -jssh what is this contents where do i get it from? i have firefox- bin- jssh Btw, I have a mac os x 10.4.11 firefox 3.6 firefox- bin- jssh is on my desktop should i move it else where? On Thu,

[wtr-general] Re: ajax and unable to locate element

2010-04-08 Thread Adam Reed
If you'd like to be a little more exact in your approach, instead of using sleep you could wait_until the element exists. http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir On Apr 8, 11:45 am, Sal Jamil salem.m.ja...@gmail.com wrote: I added a sleep(5) after the fire_event and Watir was

[wtr-general] a method that will always executes.

2010-04-08 Thread Shlomit Gazit
Is there a way to call a module in watir test that will always run at the end of the test no matter what? I thought teardown would do that but I was wrong. The aim is to call a module that is checking if the test has failed or not (by a variable) and send email accordingly. Since I was

Re: [wtr-general] Re: Error in IRB: LoadError: no such file to load -- watir

2010-04-08 Thread Charley Baker
This is an open note to all Watir users, despite my personalization. The older one click installers had this checked on by default I believe. It's not common on other systems - Linux, Mac - and the new installer from what I recall as my systems are going down, doesn't explicitly set that value.

[wtr-general] Re: Experience with testing Apples Web Objects

2010-04-08 Thread dt_nz
Sure, you could take a look at http://store.apple.com/us (a huge WO app with lots of AJAX bits) -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to

Re: [wtr-general] Re: ajax and unable to locate element

2010-04-08 Thread Wesley Chen
Please don't use the method: try again The method below is really helpful. Watir::Waiter.wait_until{$ff.div(:id, addAlbumLink).exists?} Wesley. For life, the easier, the better. On Fri, Apr 9, 2010 at 2:00 AM, Sal Jamil salem.m.ja...@gmail.com wrote: mber of tries and wait between tries --