Re: [wtr-general] safariwatir also did not work on a mac

2010-03-29 Thread Željko Filipin
On Sat, Mar 27, 2010 at 7:26 PM, chatur vidur wrote: > $ gem -v > /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:92:in `load_specification': /usr/local/lib/ruby/site_ruby/1.8/rubygems/version.rb:116:in `initialize': Malformed version number string 1.3.6.pre.3 (ArgumentError) Looks lik

[wtr-general] synchronisation in ruby

2010-03-29 Thread arihan sinha
Hi , > can I use the synchronisation statement in the ruby test rather than sleep statement. I am using some similar kind of code as below where the for loop runs with 0.5 secs gap unless the assert gets passed. once passed then it would come out of the for loop. Any other approach? Any where i

Re: [wtr-general] synchronisation in ruby

2010-03-29 Thread Željko Filipin
On Mon, Mar 29, 2010 at 4:22 PM, arihan sinha wrote: > can I use the synchronisation statement in the ruby test rather than sleep statement. Did you read this? http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir Željko -- watir.com - community manager pledgie.com/campaigns/2982 - donate t

[wtr-general] Watir version on Mac

2010-03-29 Thread RSMelkon
I am trying to get the Watir version on Mac: is it the follwoing command? for Watir: ruby -e 'require "watir"; puts Watir::IE::VERSION' I know IE doesn't exist on Mac, and trying to figure it out what should i put instead of it. any advice? Thanks, -R -- Before posting, please read http://wa

[wtr-general] Help required on Flash-Watir

2010-03-29 Thread Krapa
Hi All, I am new to flash/flex testing. As i came to know using flash watir, we can automate flex apps. Can you please tell me how to automate the following application. http://funfx.rubyforge.org/Flex/FlexObjectTest/FlexObjectTest.html My goal is to click on tree view and its sub elements.and a

Re: [wtr-general] New to Watir

2010-03-29 Thread RSMelkon
Thanks Zelijko -Raffi On Fri, Mar 26, 2010 at 4:24 PM, Željko Filipin wrote: > On Fri, Mar 26, 2010 at 8:56 PM, Watir_Beginner wrote: >> I am new to Watir tool > > Welcome! :) > > Željko > -- > watir.com - community manager > pledgie.com/campaigns/2982 - donate to Watir > watirpodcast.com - hos

Re: [wtr-general] Watir version on Mac

2010-03-29 Thread Željko Filipin
On Mon, Mar 29, 2010 at 6:02 PM, RSMelkon wrote: > I know IE doesn't exist on Mac, and trying to figure it out what > should i put instead of it. Take a look at Mac headline: http://watir.com/installation/ You can take a look at this too: http://zeljkofilipin.com/2010/01/12/watir-on-webdriver/

Re: [wtr-general] Help required on Flash-Watir

2010-03-29 Thread Željko Filipin
On Mon, Mar 29, 2010 at 5:54 PM, Krapa wrote: > As i came to know using flash watir I do not think there are a lot of FlashWatir users or developers on this list. You should post this to FlashWatir list. Željko -- watir.com - community manager pledgie.com/campaigns/2982 - donate to Watir watirpo

Re: [wtr-general] safariwatir also did not work on a mac

2010-03-29 Thread chatur vidur
I just uninstalled ruby, I will re install it and then the gems also I found a link for mac users which could help them... uninstall http://pivotallabs.com/users/chad/blog/articles/407-removing-old-ruby-source-installation-after-a-leopard-upgrade On Mon, Mar 29, 2010 at 2:34 PM, Željko Filipin <

[wtr-general] Re: Watir issue with AutoIt on Vista 64 bit

2010-03-29 Thread joedio
Thanks Charley, That solved the issue. Once the AutoItX3.dll was registered, the browser methods (minimize, maximize, restore etc.). all worked. One thing to note: When I launched the Windows Console (C:\WINDOWS \system32\cmd.exe) I right clicked on it and selected 'Run as Adminisrator' . Just a

Re: [wtr-general] Watir version on Mac

2010-03-29 Thread RSMelkon
Thanks, Below is what i am getting: $ ruby -e'require "Watir";puts watir::FF::VERSION' -e:1:in `require': no such file to load -- Watir (LoadError) from -e:1 I On Mon, Mar 29, 2010 at 12:09 PM, Željko Filipin wrote: > On Mon, Mar 29, 2010 at 6:02 PM, RSMelkon wrote: >> I know IE doesn'

Re: [wtr-general] Re: Watir issue with AutoIt on Vista 64 bit

2010-03-29 Thread Charley Baker
Hey Joe, Glad to hear it worked. Good point about running command line as administrator. I briefly had a working Windows7 64bit install until my hard drive died. I need to get that up and running again. Charley Baker Lead Developer, Watir, http://watir.com QA Architect, Gap Inc Direct On Mon,

[wtr-general] modal_dialog breaks in Rasta?

2010-03-29 Thread Ross W
Hi all, I'm finding that I can run Watir scripts that use the modal_dialog method fine by themselves, but running the same script from Rasta gives me: NoMethodError: IE#modal_dialog not supported with the current version of Ruby (1.8.6). See http://jira.openqa.org/browse/WTR-2 for details. undefi

[wtr-general] Re: Page loaded more than once

2010-03-29 Thread Shlomit Gazit
We found in the code that some pages were loading more than once because of a duplicate of code done in two different ways. This slowed the page loading quite a bit, since this page has a good amount of hierarchical view, and it was loading twice. Is there a way to check if everything has finish l

[wtr-general] Re: modal_dialog breaks in Rasta?

2010-03-29 Thread Ross W
Ok - think I found a fix. Evidently Rasta's use of win32ole for working with spreadsheets is conflicting with Watir's modified version of win32ole. In ...\lib\rasta\spreadsheet.rb, in the Book class, I replaced "require 'win32ole'" with "require 'watir/win32ole'" (line 156 in rasta 0.1.10), and voi