[wtr-general] Accident an error when updating installed gems....

2009-11-24 Thread Capricorn
Hi, all.now, i have a new os that is xp_sp3 and ie6, but when i updated ruby, an error had happend ,The following is that error: Updating installed gems ERROR: While executing gem (Gem::RemoteSourceException) HTTP Response 403 I know http response 403 is said that forbid visit, what sh

[wtr-general] Extending Test::Unit::TestCase twice

2009-11-24 Thread chhsiung
Hi I have 2 classes... BaseTestCase < Test::Unit::TestCase couple of test cases to do some stuff that i want all test cases to do end SpecificTestCase < BaseTestCase test cases to do some more specific stuff stuff end When I'm running SpecificTestCase, it's actually executing the BaseTes

[wtr-general] Re: Where to download gem watir 1.5.1.1100 ?

2009-11-24 Thread b...@pettichord.com
This will be hard to build. We've updated our build instructions to match the current code in developement. Back then we were using SVN and I think you would need to pull from our old SVN repository on OpenQA to build this. The "1100" was the SVN revision number of the source it was built from. I

[wtr-general] Re: Issue trying to click on a span element using safariwatir

2009-11-24 Thread ravi pulipaka
generally i feel span doesnot support text refer to supported methods by element in watir wiki but confirm with others anyways try this browser.span(:text, /.*butterfly/).click ravi On Thu, Nov 19, 2009 at 2:57 PM, Tiffany Fodor wrote: > > Hi! > > Since you're already using a regex, could you

[wtr-general] Re: Absolute best way of handling popups?

2009-11-24 Thread Tiffany Fodor
We have a pretty large section on popups on the wiki: http://wiki.openqa.org/display/WTR/Pop+Ups Lots of different types of popups are addressed. Hope this helps! -Tiffany On Nov 24, 10:33 am, xguarder wrote: > Thanks for the reply. I actually reinstalled 186-26, and now the > click_no_wait

[wtr-general] Re: Absolute best way of handling popups?

2009-11-24 Thread xguarder
Ok great, I was able to make it work with the following example I found: require 'watir/ie' require 'watir/contrib/enabled_popup' # Main method to click a modal dialog button. def click_modal_button(ie, type='OK', sleep_time=6, timeout=20) hwnd = ie.enabled_popup(sleep_time) if (hwnd)

[wtr-general] Re: Absolute best way of handling popups?

2009-11-24 Thread xguarder
Thanks for the reply. I actually reinstalled 186-26, and now the click_no_wait method is working now. What are some of the common variations on popup implementations though? On Nov 24, 12:19 pm, Tiffany Fodor wrote: > Hi! > > There are many different solutions because there are many different >

[wtr-general] Re: Absolute best way of handling popups?

2009-11-24 Thread Tiffany Fodor
Hi! There are many different solutions because there are many different implementations of popups. Unfortunately, there is no sure-fire way to deal with them. I would suggest working with the developer to learn more about how the popup you're dealing with was implemented. This will help you pic

[wtr-general] Absolute best way of handling popups?

2009-11-24 Thread xguarder
Hello, I have scoured various sources online for all the ways people have come up with for handling popups (using Watir on IE7). Many of these solutions involve the click_no_wait method, which is supposedly functional if you have Ruby 186-26, which I do. However, that method comes up as undefined

[wtr-general] Re: select_item_in_select_list no longer working as expected

2009-11-24 Thread James
Well, I sort of resolved my own issue by using getAllContents and then selecting a value from that array. Unfortunately, this means if there are multiple options with the same value, there is no way to pick any of these duplicate options except the first. Anyone have any idea how to get around t

[wtr-general] Re: help required - Re-usable framework watir sql server/oracle database

2009-11-24 Thread Tiffany Fodor
Hi Venky! If you were looking at my example Test::Unit harness: http://wiki.openqa.org/display/WTR/Test+Unit+Excel+Data+Driven+Framework+with+Database+Verifications DataVerification.rb connects to SQL and Oracle, retrieves value using select statements and verifies then against an expected valu

[wtr-general] Re: Where to download gem watir 1.5.1.1100 ?

2009-11-24 Thread andoy
On Nov 24, 8:40 pm, Željko Filipin wrote: > On Tue, Nov 24, 2009 at 1:27 PM, andoy wrote: > > Just making sure I can revert to this version. I'm in the process of > > migrating to 1.6.5. > > You can always uninstall 1.6.5 and you will be reverted automatically to > what you had before. I had 1

[wtr-general] Re: Where to download gem watir 1.5.1.1100 ?

2009-11-24 Thread Željko Filipin
On Tue, Nov 24, 2009 at 1:27 PM, andoy wrote: > Just making sure I can revert to this version. I'm in the process of > migrating to 1.6.5. You can always uninstall 1.6.5 and you will be reverted automatically to what you had before. > Do you have a local copy you could send me? No. I think you

[wtr-general] Re: Where to download gem watir 1.5.1.1100 ?

2009-11-24 Thread andoy
Hi Željko, Just making sure I can revert to this version. I'm in the process of migrating to 1.6.5. Do you have a local copy you could send me? Thanks, Andro On Nov 24, 7:55 pm, Željko Filipin wrote: > On Tue, Nov 24, 2009 at 12:24 PM, andoy wrote: > > Do you guys have a copy of watir 1.5.1.

[wtr-general] Re: Where to download gem watir 1.5.1.1100 ?

2009-11-24 Thread Željko Filipin
On Tue, Nov 24, 2009 at 12:24 PM, andoy wrote: > Do you guys have a copy of watir 1.5.1.1100 gem? I do not think we have it online anywhere. Why do you need it? Željko -- watir.com - community manager watirpodcast.com - host --~--~-~--~~~---~--~~ You received thi

[wtr-general] Where to download gem watir 1.5.1.1100 ?

2009-11-24 Thread andoy
hi, Do you guys have a copy of watir 1.5.1.1100 gem? I've been browsing and couldn't find a copy anywhere. thanks, andoy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group,

[wtr-general] help required - Re-usable framework watir sql server/oracle database

2009-11-24 Thread venkat
Hi, I am venkat, started using watir for the last 3 to 4 weeks. I understand basic watir scripting since opening of the browser to navigating pages by identifying the elements etc. and I feel WATiR is an excellent tool. Also I have gone through the datadriven framework with excel data examples. I

[wtr-general] unable to get db fields ...pls. help me

2009-11-24 Thread venkat
Hi, I have started using watir for the last few weeks and understanding the scripting. now it's time for me to define framework using watir with sql server or oracle I have to login the application with login id, password variables which their values are stored in db. my watir login scripts work