[wtr-general] Re: Error occured while working with firefox browser
Which JSSh extension you have installed and from where? - Angrez On Sun, Oct 25, 2009 at 5:31 PM, rrash586 rrash...@gmail.com wrote: Hi All, I want to use Firefox browser for testing one of the webpplication. But after following all the steps mentioned on link mentioned below http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirInstallation-4%29%28Optional%29RunFireWatirunittests 1) Install the FireWatir Gem 2) Install the JSSH Firefox Extension 3) Ensure Firefox settings are correct 4) (Optional) Run FireWatir unit tests but when i execute the 4 th steps i am getting following error c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- unittests/setup/lib (LoadError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/unittests/ setup.rb:15 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from mozilla_all_tests.rb:3 I am not getting what is the exact error. I tried the sample script mentioned in one of the jssh post which are 1.require 'watir' Watir.options[:browser]='firefox' ff=Watir::Browser.new ff.goto ('www.google.com') 2. require 'firewatir' system(C:\\Program Files\\Mozilla Firefox\\firefox.exe -jssh) sleep(5) $ie = FireWatir::Firefox.new $ie.goto(google.com) puts $ie.title 3. require 'firewatir' system(C:\\Program Files\\Mozilla Firefox\\firefox.exe -jssh) sleep(5) $ie = FireWatir::Firefox.attach(:title,Google) $ie.goto(google.com) puts $ie.title in all the above three cases firefox browser opened but the execution of the script hanged and script not navigate to proper url i.e to www.google.com I am using Firefox 3.0.10 and FireWatir 1.6.2 Please tell me if anything or any steps i am missing or what the exact problem and how can i overcome the same . Thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Not Able to Use Rspec framework
Thanks. do was missing after Enter Username On Oct 23, 7:45 pm, Bret Pettichord b...@pettichord.com wrote: abhisheksreepal wrote: include Watir::Container Don't do this. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Not Able to Use Rspec framework
require 'rubygems' require 'watir' require 'spec' describe Blah do before :all do @b = Watir::Browser.new end it does something do @b.goto http://google.com; end describe some other thing do @b.goto http://watir.com; end end Jarmo On Oct 23, 4:45 pm, Bret Pettichord b...@pettichord.com wrote: abhisheksreepal wrote: include Watir::Container Don't do this. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] FireWatir Issue with Regular expressions
Hi I have a weird situation where the Fire-watir sometimes work very smoothly with the scripts involving regular expression to identify the objects but in another case, the script just hangs. and also this scenario happens on different systems, which have the same configuration. Can anyone advice me on this? I believe there is more to this issue. Can anyone please tell me what else should i check or provide with to the group. The script for the same is here: require 'firewatir' ff=FireWatir::Firefox.new ff.goto('http://www.makemytrip.com') ff.link(:href,/international-flights/).click I don't face any issues with IE and watir though. Thanks, Pallavi. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] FireWatir Issue with Regular expressions
Hi I have a weird situation where the Fire-watir sometimes work very smoothly with the scripts involving regular expression to identify the objects but in another case, the script just hangs. and also this scenario happens on different systems, which have the same configuration. Can anyone advice me on this? I believe there is more to this issue. Can anyone please tell me what else should i check or provide with to the group. The script for the same is here: require 'firewatir' ff=FireWatir::Firefox.new ff.goto('http://www.makemytrip.com') ff.link(:href,/international-flights/).click I don't face any issues with IE and watir though. Thanks, Pallavi. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Error occured while working with firefox browser
I agree with you .. all I wanted is to make the project read only in google code and move everything to openqa - Angrez On Mon, Oct 26, 2009 at 2:38 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Oct 26, 2009 at 7:44 AM, Angrez Singh ang...@gmail.com wrote: Which JSSh extension you have installed and from where? Angrez, I hope I am not pushing this too much, but you would not need and from where if we had firewatir stuff located only in one place. Željko -- watir.com - community manager watirpodcast.com - host --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: FireWatir Issue with Regular expressions
Your code works for me. I am using Firewatir 1.6.5rc2 with Firefox 3.5.3 - Angrez On Mon, Oct 26, 2009 at 2:17 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi I have a weird situation where the Fire-watir sometimes work very smoothly with the scripts involving regular expression to identify the objects but in another case, the script just hangs. and also this scenario happens on different systems, which have the same configuration. Can anyone advice me on this? I believe there is more to this issue. Can anyone please tell me what else should i check or provide with to the group. The script for the same is here: require 'firewatir' ff=FireWatir::Firefox.new ff.goto('http://www.makemytrip.com') ff.link(:href,/international-flights/).click I don't face any issues with IE and watir though. Thanks, Pallavi. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Error occured while working with firefox browser
On Mon, Oct 26, 2009 at 10:33 AM, Angrez Singh ang...@gmail.com wrote: all I wanted is to make the project read only in google code and move everything to openqa Sure, I will reply in another thread about what to do. I hope I did not sound rude, I just wanted to point it as an example why I am pushing so hard towards the merge of everything watir related. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: FireWatir Issue with Regular expressions
Hi Angrez So can it be a possibility that this might fail with other firewatir and firefox versions? Please let me know. Thanks Pallavi. On Mon, Oct 26, 2009 at 3:04 PM, Angrez Singh ang...@gmail.com wrote: Your code works for me. I am using Firewatir 1.6.5rc2 with Firefox 3.5.3 - Angrez On Mon, Oct 26, 2009 at 2:17 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi I have a weird situation where the Fire-watir sometimes work very smoothly with the scripts involving regular expression to identify the objects but in another case, the script just hangs. and also this scenario happens on different systems, which have the same configuration. Can anyone advice me on this? I believe there is more to this issue. Can anyone please tell me what else should i check or provide with to the group. The script for the same is here: require 'firewatir' ff=FireWatir::Firefox.new ff.goto('http://www.makemytrip.com') ff.link(:href,/international-flights/).click I don't face any issues with IE and watir though. Thanks, Pallavi. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: FireWatir Issue with Regular expressions
The version on which we are checking is Firefox 3.0, maybe it is because of this. On Mon, Oct 26, 2009 at 3:22 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Angrez So can it be a possibility that this might fail with other firewatir and firefox versions? Please let me know. Thanks Pallavi. On Mon, Oct 26, 2009 at 3:04 PM, Angrez Singh ang...@gmail.com wrote: Your code works for me. I am using Firewatir 1.6.5rc2 with Firefox 3.5.3 - Angrez On Mon, Oct 26, 2009 at 2:17 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi I have a weird situation where the Fire-watir sometimes work very smoothly with the scripts involving regular expression to identify the objects but in another case, the script just hangs. and also this scenario happens on different systems, which have the same configuration. Can anyone advice me on this? I believe there is more to this issue. Can anyone please tell me what else should i check or provide with to the group. The script for the same is here: require 'firewatir' ff=FireWatir::Firefox.new ff.goto('http://www.makemytrip.com') ff.link(:href,/international-flights/).click I don't face any issues with IE and watir though. Thanks, Pallavi. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: FireWatir Issue with Regular expressions
Not sure about that. Which Firewatir version are you using? On Mon, Oct 26, 2009 at 3:41 PM, Pallavi Sharma write2pall...@gmail.comwrote: The version on which we are checking is Firefox 3.0, maybe it is because of this. On Mon, Oct 26, 2009 at 3:22 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Angrez So can it be a possibility that this might fail with other firewatir and firefox versions? Please let me know. Thanks Pallavi. On Mon, Oct 26, 2009 at 3:04 PM, Angrez Singh ang...@gmail.com wrote: Your code works for me. I am using Firewatir 1.6.5rc2 with Firefox 3.5.3 - Angrez On Mon, Oct 26, 2009 at 2:17 PM, Pallavi Sharma write2pall...@gmail.com wrote: Hi I have a weird situation where the Fire-watir sometimes work very smoothly with the scripts involving regular expression to identify the objects but in another case, the script just hangs. and also this scenario happens on different systems, which have the same configuration. Can anyone advice me on this? I believe there is more to this issue. Can anyone please tell me what else should i check or provide with to the group. The script for the same is here: require 'firewatir' ff=FireWatir::Firefox.new ff.goto('http://www.makemytrip.com') ff.link(:href,/international-flights/).click I don't face any issues with IE and watir though. Thanks, Pallavi. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: FireWatir Issue with Regular expressions
Your code works well on watir 1.6.2 and FF 3.5.3 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Not able to click Button and MenuText in Real time App
Hi, I have just started working with real time application.I am facing some problems. Issue 1: Unable to Click Buttons I have observed that there are two buttons. Button1: class: 'normalbutton' href: 'http://192.168.135.75:8080/edelweiss/content/login.jsf' Button2: class: 'normalbutton' href:'http://192.168.135.75:8080/edelweiss/content/login.jsf? crumb_node=home#' onclick: 'var a=function(){this.blur();setPwd();};var b=function() {if(typeof jsfcljs == 'function'){jsfcljs(document.getElementById ('loginForm'),{'j_id75':'j_id75'},'');}return false};return (a()==false) ? false : b();' I am unable to click either of this buttons. Need Advice How to go forward. Issue 2: Unable to Click Menu buttons There are 4 menu which have SAME class and href , but different onclick I have given onclick values for the menu buttons Menu1: onclick: if(typeof jsfcljs =='function'){jsfcljs (document.getElementById('tabSection'), {'tabSection:j_id13':'tabSection:j_id13','c rumb_node':'home'},'');}return false Menu2: onclick: if(typeof jsfcljs == 'function'){jsfcljs (document.getElementById('tabSection'), {'tabSection:j_id17':'tabSection:j_id17','crumb_node':'my_acc'},'');} return false Menu3: onclick: if(typeof jsfcljs == 'function'){jsfcljs (document.getElementById('tabSection'), {'tabSection:j_id21':'tabSection:j_id21','crumb_node':'trade'},'');} return false Menu4: onclick: if(typeof jsfcljs == 'function'){jsfcljs (document.getElementById('tabSection'), {'tabSection:j_id25':'tabSection:j_id25','crumb_node':'charts'},'');} return false I do not know whether (:onclick is supported) How to go forward? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] how to recognized DIV object
Hi All, I am testing the GWT based application on IE7. In my application when i click on the add button a new row (run time generation) is generated .I am facing the problem while locating the object as it is in DIV. can anyone let me know how to click on the object in DIV i am having only the text property set for the Div object. Also one more question is there is that how watir separate out the two object having the same property name and value. thanks in Advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: After upgrading to Watir 1.6.2, it is not working fine.
HI , I am getting following C:\gem list watir *** LOCAL GEMS *** watir (1.6.1) Please help me out.i am unble to use the watir On Oct 22, 1:32 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Oct 22, 2009 at 9:16 AM, Naveen devadass naveeenku...@gmail.com wrote: irb(main):002:0 require watir LoadError: no such file to load -- watir Do you have watir installed? What do you get when you type this in command prompt: gem list watir Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Error occured while working with firefox browser
I installed jssh from http://wiki.openqa.org/download/attachments/13893658/jssh-20080708-WINNT.xpi?version=1 as i am using the mozilla firefox 3.0 i also tried with jssh http://wiki.openqa.org/download/attachments/13893658/jssh-3.5.x-WINNT.xpi?version=1 but the same problem persist On Oct 26, 2:37 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Oct 26, 2009 at 10:33 AM, Angrez Singh ang...@gmail.com wrote: all I wanted is to make the project read only in google code and move everything to openqa Sure, I will reply in another thread about what to do. I hope I did not sound rude, I just wanted to point it as an example why I am pushing so hard towards the merge of everything watir related. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] How to get browser instance from inside an element?
Hi all, is there any way I can get browser instance from inside an element? Here is what I mean by that: ie_instance = IE.new some_div = ie.div(:any, 'any') some_div.a_method_to_get_browser_instance # --- this is an assumed method which would return the ie_instance Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: After upgrading to Watir 1.6.2, it is not working fine.
On Mon, Oct 26, 2009 at 1:23 PM, Naveen devadass naveeenku...@gmail.com wrote: watir (1.6.1) Type this into command prompt and try again: gem update --system gem install watir Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Error occured while working with firefox browser
Code works for me. I am using Firewatir 1.6.5rc2 and Firefox 3.5. Can you try updating your firewatir installation using instructions over here and then try your code? http://wiki.openqa.org/display/WTR/Development+Builds - Angrez On Mon, Oct 26, 2009 at 5:55 PM, rrash586 rrash...@gmail.com wrote: I installed jssh from http://wiki.openqa.org/download/attachments/13893658/jssh-20080708-WINNT.xpi?version=1 as i am using the mozilla firefox 3.0 i also tried with jssh http://wiki.openqa.org/download/attachments/13893658/jssh-3.5.x-WINNT.xpi?version=1 but the same problem persist On Oct 26, 2:37 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Oct 26, 2009 at 10:33 AM, Angrez Singh ang...@gmail.com wrote: all I wanted is to make the project read only in google code and move everything to openqa Sure, I will reply in another thread about what to do. I hope I did not sound rude, I just wanted to point it as an example why I am pushing so hard towards the merge of everything watir related. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: How to get browser instance from inside an element?
Unfortunately, there doesn't seem to be. I have run into this, and what I ended up doing was to iterate up through the containers until I found the browser. something along the lines of: browser=some_div while browser !browser.is_a?(Watir::IE) browser=browser.instance_variable_get('@container') end pretty ugly. On Mon, Oct 26, 2009 at 08:30, Yuriy yuriy.chaba...@gmail.com wrote: Hi all, is there any way I can get browser instance from inside an element? Here is what I mean by that: ie_instance = IE.new some_div = ie.div(:any, 'any') some_div.a_method_to_get_browser_instance # --- this is an assumed method which would return the ie_instance Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: FireWatir Issue with Regular expressions
I'm wondering if the problem might be traced to a plugin? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] WIN32OLERuntimeError: failed to create WIN32OLE object from `InternetExplorer.Application' - HRESULT error code:0x800704a6
Hi folks, Any idea how to solve this problem? http://gist.github.com/218720 I'm on Windows XP (Norwegian Windows, English IE). Running in VMWare Fusion on OS X Leopard. I googled around but didn't see anything to help me get around this. (I found several mentions of the error message, but no references with that particular error code - 0x800704a6) Cheers, Aslak --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Does WATIR will work on Silverlight and Ajax technologies?
Hi All, Sorry, I have no idea whether this is right area to post this question or not. But please someone response to the below would be appreciated. Does WATIR will work on Silverlight and Ajax technologies? Thanks in advance, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: How to get browser instance from inside an element?
Thanks a lot, Ethan! On Oct 26, 4:33 pm, Ethan notet...@gmail.com wrote: Unfortunately, there doesn't seem to be. I have run into this, and what I ended up doing was to iterate up through the containers until I found the browser. something along the lines of: browser=some_div while browser !browser.is_a?(Watir::IE) browser=browser.instance_variable_get('@container') end pretty ugly. On Mon, Oct 26, 2009 at 08:30, Yuriy yuriy.chaba...@gmail.com wrote: Hi all, is there any way I can get browser instance from inside an element? Here is what I mean by that: ie_instance = IE.new some_div = ie.div(:any, 'any') some_div.a_method_to_get_browser_instance # --- this is an assumed method which would return the ie_instance Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Can't install Watir on latest Ruby one-click installer
I realisesd I had a rather old Ruby in my previous post, so I installed the newest Ruby One-Click installer (1.8.6): ruby --version ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-mingw32] This Ruby version doesn't come with the win32* gems installed, so when I try to gem install watir it wants to install win32-api. Now, this gem won't install - it tries to compile the win32-api gem's C code, and since I don't have Visual Studio that fails. The only prebuilt win32-api gem is win32-api-1.4.5-x86-mswin32-60.gem (http://rubyforge.org/frs/?group_id=85release_id=38337) - which won't install since it's not built for mingw32 (which is what Ruby is built with). Result: I can't use Watir with the latest 1.8.6 One click installer. The same problem applies to ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mingw32] (Latest Ruby 1.9 one-click installer). So what to do? What Ruby versions do people use to get Watir installed and working? Cheers, Aslak --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Can't install Watir on latest Ruby one-click installer
On Mon, Oct 26, 2009 at 4:48 PM, Aslak Hellesøy aslak.helle...@gmail.com wrote: What Ruby versions do people use to get Watir installed and working? I have recently also had a fresh Ruby and Watir installation and had some problems. I would recommend: (from http://watir.com/installation/) - ruby186-26.exe (http://rubyforge.org/frs/?group_id=167) - gem update --system - gem -v (check if you get 1.3.5) - gem install watir (should install 1.6.2) If that fails: (from http://wiki.openqa.org/display/WTR/Development+Builds) - ruby186-27_rc2.exe - gem update --system - gem -v (check if you get 1.3.5) - download all 1.6.5.rc2 files from http://wiki.openqa.org/display/WTR/Development+Builds - gem install watir (should install 1.6.5.rc2) Let us know if both fails. Željko -- watir.com - community manager watirpodcast.com - host --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Does WATIR will work on Silverlight and Ajax technologies?
Shaik Mohammed Firoz wrote: Does WATIR will work on Silverlight and Ajax technologies? Ajax: yes. Silverlight: i don't think so. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Does WATIR will work on Silverlight and Ajax technologies?
There are ways to make your Silverlight apps scriptable, so it would follow a similar model potentially as Funfx or FlashWatir. Scripting Silverlight(there's probably a fair amount of other documentation out there as well as this): http://mark-dot-net.blogspot.com/2007/06/howto-make-your-silverlight-11.html I've also seen a few demos of Ruby as the scripting language to drive Silverlight. Google it and you should find some resources. :) No one has made a nice clean interface for it, but it is possible. It would just take some work. :) -c On Mon, Oct 26, 2009 at 10:51 AM, Bret Pettichord b...@pettichord.comwrote: Shaik Mohammed Firoz wrote: Does WATIR will work on Silverlight and Ajax technologies? Ajax: yes. Silverlight: i don't think so. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: How to get browser instance from inside an element?
can you explain why you need this? Paul On Mon, Oct 26, 2009 at 9:46 AM, Yuriy yuriy.chaba...@gmail.com wrote: Thanks a lot, Ethan! On Oct 26, 4:33 pm, Ethan notet...@gmail.com wrote: Unfortunately, there doesn't seem to be. I have run into this, and what I ended up doing was to iterate up through the containers until I found the browser. something along the lines of: browser=some_div while browser !browser.is_a?(Watir::IE) browser=browser.instance_variable_get('@container') end pretty ugly. On Mon, Oct 26, 2009 at 08:30, Yuriy yuriy.chaba...@gmail.com wrote: Hi all, is there any way I can get browser instance from inside an element? Here is what I mean by that: ie_instance = IE.new some_div = ie.div(:any, 'any') some_div.a_method_to_get_browser_instance # --- this is an assumed method which would return the ie_instance Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: How to get browser instance from inside an element?
For me, I was working around problems I was having with FileField#set in IE8, and I ended up just rewriting the #set method. For my implementation, I needed the hWnd of the FileField's browser, so I just iterated up through the @containers to find the browser. -Ethan On Mon, Oct 26, 2009 at 13:09, Charley Baker charley.ba...@gmail.comwrote: Good question, I'm actually somewhat curious as well as to the use case. :) -c On Mon, Oct 26, 2009 at 11:07 AM, Paul Rogers paul.rog...@shaw.ca wrote: can you explain why you need this? Paul On Mon, Oct 26, 2009 at 9:46 AM, Yuriy yuriy.chaba...@gmail.com wrote: Thanks a lot, Ethan! On Oct 26, 4:33 pm, Ethan notet...@gmail.com wrote: Unfortunately, there doesn't seem to be. I have run into this, and what I ended up doing was to iterate up through the containers until I found the browser. something along the lines of: browser=some_div while browser !browser.is_a?(Watir::IE) browser=browser.instance_variable_get('@container') end pretty ugly. On Mon, Oct 26, 2009 at 08:30, Yuriy yuriy.chaba...@gmail.com wrote: Hi all, is there any way I can get browser instance from inside an element? Here is what I mean by that: ie_instance = IE.new some_div = ie.div(:any, 'any') some_div.a_method_to_get_browser_instance # --- this is an assumed method which would return the ie_instance Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: How to get browser instance from inside an element?
Good question, I'm actually somewhat curious as well as to the use case. :) -c On Mon, Oct 26, 2009 at 11:07 AM, Paul Rogers paul.rog...@shaw.ca wrote: can you explain why you need this? Paul On Mon, Oct 26, 2009 at 9:46 AM, Yuriy yuriy.chaba...@gmail.com wrote: Thanks a lot, Ethan! On Oct 26, 4:33 pm, Ethan notet...@gmail.com wrote: Unfortunately, there doesn't seem to be. I have run into this, and what I ended up doing was to iterate up through the containers until I found the browser. something along the lines of: browser=some_div while browser !browser.is_a?(Watir::IE) browser=browser.instance_variable_get('@container') end pretty ugly. On Mon, Oct 26, 2009 at 08:30, Yuriy yuriy.chaba...@gmail.com wrote: Hi all, is there any way I can get browser instance from inside an element? Here is what I mean by that: ie_instance = IE.new some_div = ie.div(:any, 'any') some_div.a_method_to_get_browser_instance # --- this is an assumed method which would return the ie_instance Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Click ok on popup
I am getting this in the console, but it is not breaking the test, I just need manually to click on both OK buttons. c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb:113:in `initialize': unknown OLE server: `AutoItX3.Control' (WIN32OLERuntimeError) HRESULT error code:0x800401f3 Invalid class string from c:/ruby/lib/ruby/gems/1.8/gems/ watir-1.6.2/lib/watir/ie.rb:113:in `new' from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb: 113:in `autoit' from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ WindowHelper.rb:7:in `initialize' from myClicker.rb:6:in `new' from myClicker.rb:6 On Oct 23, 8:59 am, Tiffany Fodor tcfo...@comcast.net wrote: Hi! Just in case you haven't seen this page: http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups Can you provide the error you're getting when the click doesn't work? Is there a chance that the pop-up isn't loaded yet? You could try troubleshooting with irb and try various commands to click on the button. -Tiffany On Oct 23, 9:19 am,ShlomitGazit shlomitpatr...@gmail.com wrote: Any replies for this one? On Oct 2, 10:21 am,ShlomitGazit shlomitpatr...@gmail.com wrote: For handling prompt popups, I am using myClicker.rb file: ___ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 == __FILE__ require 'watir/WindowHelper' $helper = WindowHelper.new $helper.push_confirm_button_ok() I am calling this file like this: __ Thread.new { system(rubyw myClicker.rb) } $ie.image(:name, /elete/).click Thread.new { system(rubyw myClicker.rb) } What I am trying to do above is deleting an object. I am getting first popup asking if I really want to delete this and then a second popup prompt to enter the reason. Both need to click 'ok' button. It is working partly: The problem is that most of the time I have to manually click on ok button. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Can't install Watir on latest Ruby one-click installer
Hey Aslak, Missed seeing you this year at Agile. :) Thanks for the details, responses inline On Mon, Oct 26, 2009 at 9:48 AM, Aslak Hellesøy aslak.helle...@gmail.comwrote: I realisesd I had a rather old Ruby in my previous post, so I installed the newest Ruby One-Click installer (1.8.6): I believe you were using p111 on 186 and Watir 1.6.2 according to the gist. I'm using the same versions of everything you posted - also on a VM for my Mac, and 10+ vms that we're using for test boxes as well as 70 odd qa engineers. I haven't seen that error. In most of the requests I found when searching for that error tends to be related to COM requests being hosed by Windows. I hate to ask the obvious, but did you restart your VM? You might follow Zeljko's instructions on installing the latest rc gems, though I doubt that would help since nothing has changed in the IE process invocation. ruby --version ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-mingw32] This Ruby version doesn't come with the win32* gems installed, so when I try to gem install watir it wants to install win32-api. Now, this gem won't install - it tries to compile the win32-api gem's C code, and since I don't have Visual Studio that fails. The only prebuilt win32-api gem is win32-api-1.4.5-x86-mswin32-60.gem (http://rubyforge.org/frs/?group_id=85release_id=38337) - which won't install since it's not built for mingw32 (which is what Ruby is built with). Result: I can't use Watir with the latest 1.8.6 One click installer. There is a dev package that you can use with the one click installer that will build the win32* and associated windows gems. I haven't tried it yet, but it is on the download page. I've been half following Luis' progress on the next one click, need to get more involved with that and make sure with our dependencies we can work with the new installer. Spent some time with pik as well to manage the deps; hopefully I'll have a bit more spare time to work on that soon. The same problem applies to ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mingw32] (Latest Ruby 1.9 one-click installer). This is similar to the above issue. Jari Bakken has made some changes in Watir to work with 1.9.1, which are in the rc2 gems Zeljko mentioned. One of current requirements is user-choices by Brian Marick, which doesn't work on 1.9.1, sent him a mail about moving the code over to github. Let me know how it goes, happy to help troubleshoot this. -c So what to do? What Ruby versions do people use to get Watir installed and working? Cheers, Aslak --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Click ok on popup
Check this out: http://wiki.openqa.org/display/WTR/FAQ#FAQ-HowdoIfixaWIN32OLERuntimeErrorwhenIuseAutoIt%3F Hope that helps. On Oct 26, 10:48 am, Shlomit Gazit shlomitpatr...@gmail.com wrote: I am getting this in the console, but it is not breaking the test, I just need manually to click on both OK buttons. c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb:113:in `initialize': unknown OLE server: `AutoItX3.Control' (WIN32OLERuntimeError) HRESULT error code:0x800401f3 Invalid class string from c:/ruby/lib/ruby/gems/1.8/gems/ watir-1.6.2/lib/watir/ie.rb:113:in `new' from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb: 113:in `autoit' from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ WindowHelper.rb:7:in `initialize' from myClicker.rb:6:in `new' from myClicker.rb:6 On Oct 23, 8:59 am, Tiffany Fodor tcfo...@comcast.net wrote: Hi! Just in case you haven't seen this page: http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups Can you provide the error you're getting when the click doesn't work? Is there a chance that the pop-up isn't loaded yet? You could try troubleshooting with irb and try various commands to click on the button. -Tiffany On Oct 23, 9:19 am,ShlomitGazit shlomitpatr...@gmail.com wrote: Any replies for this one? On Oct 2, 10:21 am,ShlomitGazit shlomitpatr...@gmail.com wrote: For handling prompt popups, I am using myClicker.rb file: ___ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 == __FILE__ require 'watir/WindowHelper' $helper = WindowHelper.new $helper.push_confirm_button_ok() I am calling this file like this: __ Thread.new { system(rubyw myClicker.rb) } $ie.image(:name, /elete/).click Thread.new { system(rubyw myClicker.rb) } What I am trying to do above is deleting an object. I am getting first popup asking if I really want to delete this and then a second popup prompt to enter the reason. Both need to click 'ok' button. It is working partly: The problem is that most of the time I have to manually click on ok button. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Can't install Watir on latest Ruby one-click installer
No. I think Aslak is running the new Technology Preview of the one-click installer. They are using the ming32 compiler instead of Visual Studio. http://rubyforge.org/frs/?group_id=167release_id=38052 This sounds like an issue. We're also going to need to recompile Watir's support for modal dialogs. Bret Charley Baker wrote: Hey Aslak, Missed seeing you this year at Agile. :) Thanks for the details, responses inline On Mon, Oct 26, 2009 at 9:48 AM, Aslak Hellesøy aslak.helle...@gmail.com mailto:aslak.helle...@gmail.com wrote: I realisesd I had a rather old Ruby in my previous post, so I installed the newest Ruby One-Click installer (1.8.6): I believe you were using p111 on 186 and Watir 1.6.2 according to the gist. I'm using the same versions of everything you posted - also on a VM for my Mac, and 10+ vms that we're using for test boxes as well as 70 odd qa engineers. I haven't seen that error. In most of the requests I found when searching for that error tends to be related to COM requests being hosed by Windows. I hate to ask the obvious, but did you restart your VM? You might follow Zeljko's instructions on installing the latest rc gems, though I doubt that would help since nothing has changed in the IE process invocation. ruby --version ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-mingw32] This Ruby version doesn't come with the win32* gems installed, so when I try to gem install watir it wants to install win32-api. Now, this gem won't install - it tries to compile the win32-api gem's C code, and since I don't have Visual Studio that fails. The only prebuilt win32-api gem is win32-api-1.4.5-x86-mswin32-60.gem (http://rubyforge.org/frs/?group_id=85release_id=38337 http://rubyforge.org/frs/?group_id=85release_id=38337) - which won't install since it's not built for mingw32 (which is what Ruby is built with). Result: I can't use Watir with the latest 1.8.6 One click installer. There is a dev package that you can use with the one click installer that will build the win32* and associated windows gems. I haven't tried it yet, but it is on the download page. I've been half following Luis' progress on the next one click, need to get more involved with that and make sure with our dependencies we can work with the new installer. Spent some time with pik as well to manage the deps; hopefully I'll have a bit more spare time to work on that soon. The same problem applies to ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mingw32] (Latest Ruby 1.9 one-click installer). This is similar to the above issue. Jari Bakken has made some changes in Watir to work with 1.9.1, which are in the rc2 gems Zeljko mentioned. One of current requirements is user-choices by Brian Marick, which doesn't work on 1.9.1, sent him a mail about moving the code over to github. Let me know how it goes, happy to help troubleshoot this. -c So what to do? What Ruby versions do people use to get Watir installed and working? Cheers, Aslak --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Not able to click Button and MenuText in Real time App
Hi, Did Anyone come to know about this problem. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Not able to click Button and MenuText in Real time App
:onclick isn't supported as a method of locating elements - it doesn't actually appear on the DOM as text, as far as I know, but shows up as a function, so you can't compare text to it. I could be wrong, maybe there's a way to get the text, but I don't think it's likely to be supported in any case. You might be able to iterate over the collection of buttons and see if the onclick is defined or not. Apart from that, I'm not sure of any other way except going by numeric index. On Mon, Oct 26, 2009 at 07:34, abhisheksreepal abhisheksree...@gmail.comwrote: Hi, I have just started working with real time application.I am facing some problems. Issue 1: Unable to Click Buttons I have observed that there are two buttons. Button1: class: 'normalbutton' href: 'http://192.168.135.75:8080/edelweiss/content/login.jsf' Button2: class: 'normalbutton' href:'http://192.168.135.75:8080/edelweiss/content/login.jsf? crumb_node=home#http://192.168.135.75:8080/edelweiss/content/login.jsf?%0Acrumb_node=home# ' onclick: 'var a=function(){this.blur();setPwd();};var b=function() {if(typeof jsfcljs == 'function'){jsfcljs(document.getElementById ('loginForm'),{'j_id75':'j_id75'},'');}return false};return (a()==false) ? false : b();' I am unable to click either of this buttons. Need Advice How to go forward. Issue 2: Unable to Click Menu buttons There are 4 menu which have SAME class and href , but different onclick I have given onclick values for the menu buttons Menu1: onclick: if(typeof jsfcljs =='function'){jsfcljs (document.getElementById('tabSection'), {'tabSection:j_id13':'tabSection:j_id13','c rumb_node':'home'},'');}return false Menu2: onclick: if(typeof jsfcljs == 'function'){jsfcljs (document.getElementById('tabSection'), {'tabSection:j_id17':'tabSection:j_id17','crumb_node':'my_acc'},'');} return false Menu3: onclick: if(typeof jsfcljs == 'function'){jsfcljs (document.getElementById('tabSection'), {'tabSection:j_id21':'tabSection:j_id21','crumb_node':'trade'},'');} return false Menu4: onclick: if(typeof jsfcljs == 'function'){jsfcljs (document.getElementById('tabSection'), {'tabSection:j_id25':'tabSection:j_id25','crumb_node':'charts'},'');} return false I do not know whether (:onclick is supported) How to go forward? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] file_field in File Upload dialog
I may be missing something very simple. When I get window's File Upload dialog, how can I identify file_field's i.e. id, name, index, etc? (index did not work). I looked in to the the following site and all the links from there but not finding answers. http://wiki.openqa.org/display/WTR/File+Uploads Regards, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~--- attachment: upload.jpg
[wtr-general] Re: file_field in File Upload dialog
H Kogi wrote: I may be missing something very simple. When I get window's File Upload dialog, how can I identify file_field's i.e. id, name, index, etc? (index did not work). I looked in to the the following site and all the links from there but not finding answers. http://wiki.openqa.org/display/WTR/File+Uploads http://wiki.openqa.org/display/WTR/Watir+Methods+Supported+by+HTML+Element -- Bret Pettichord Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: file_field in File Upload dialog
Thank you for quick reply. But I cannot see each object in dialog box as html element. Is there anyway I can view as html elements? IE developer toolbar does not work. I am now trying with WIN32OLE. On Mon, Oct 26, 2009 at 8:15 PM, Bret Pettichord b...@pettichord.comwrote: H Kogi wrote: I may be missing something very simple. When I get window's File Upload dialog, how can I identify file_field's i.e. id, name, index, etc? (index did not work). I looked in to the the following site and all the links from there but not finding answers. http://wiki.openqa.org/display/WTR/File+Uploads http://wiki.openqa.org/display/WTR/Watir+Methods+Supported+by+HTML+Element -- Bret Pettichord Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: file_field in File Upload dialog
You want to interact with the elements of the 'file upload' dialog? As far as I know that thing doesn't have a document or elements that you can access like an html page. Or if it doesn't watir doesn't support that anyway. I could be wrong - if you figure out how to get a WIN32OLE handle on elements of the file upload dialog, I would be very interested in knowing how to do that. On Mon, Oct 26, 2009 at 21:14, H Kogi hko...@gmail.com wrote: Thank you for quick reply. But I cannot see each object in dialog box as html element. Is there anyway I can view as html elements? IE developer toolbar does not work. I am now trying with WIN32OLE. On Mon, Oct 26, 2009 at 8:15 PM, Bret Pettichord b...@pettichord.comwrote: H Kogi wrote: I may be missing something very simple. When I get window's File Upload dialog, how can I identify file_field's i.e. id, name, index, etc? (index did not work). I looked in to the the following site and all the links from there but not finding answers. http://wiki.openqa.org/display/WTR/File+Uploads http://wiki.openqa.org/display/WTR/Watir+Methods+Supported+by+HTML+Element -- Bret Pettichord Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Not able to click Button and MenuText in Real time App
Thanks for the reply Ethan. I tried this puts ie.buttons.length But it returned '0' This is the reference link. http://www.edelbullion.com/edelweiss/content/index.jsf Any Suggestion how to go forward. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Not able to click Button and MenuText in Real time App
the 'register now' and the 'buy now' arent buttons. they look like buttons, but they are links. Use firebug to investigate the dom before posting here please. Paul On Mon, Oct 26, 2009 at 8:54 PM, abhisheksreepal abhisheksree...@gmail.comwrote: Thanks for the reply Ethan. I tried this puts ie.buttons.length But it returned '0' This is the reference link. http://www.edelbullion.com/edelweiss/content/index.jsf Any Suggestion how to go forward. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Not able to click Button and MenuText in Real time App
Hi Paul, I am sorry. I should have added these comments. Just Navigate to Login screen.(By clicking Login link on top right corner) Please examine these two fields Submit and Reset. (I couldn't give you this link(link to Login Screen) since link contains session id which keeps on changing) (Sometimes we get session ID and sometime we will not get) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Not able to click Button and MenuText in Real time App
the submit and reset buttons are also links Paul On Mon, Oct 26, 2009 at 9:23 PM, abhisheksreepal abhisheksree...@gmail.comwrote: Hi Paul, I am sorry. I should have added these comments. Just Navigate to Login screen.(By clicking Login link on top right corner) Please examine these two fields Submit and Reset. (I couldn't give you this link(link to Login Screen) since link contains session id which keeps on changing) (Sometimes we get session ID and sometime we will not get) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Not able to click Button and MenuText in Real time App
I am sorry. I was just going by name class='normalbutton' But Any solution to access these fields. and Also To access menu like 'Home','MyAccount' etc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Not able to click Button and MenuText in Real time App
It is a link. Use the #link method. Please read wiki entries under http://wiki.openqa.org/display/WTR/Start+Here particularly: http://wiki.openqa.org/display/WTR/Watir+in+5+Minutes and: http://wiki.openqa.org/display/WTR/Cheat+Sheet On Mon, Oct 26, 2009 at 23:41, abhisheksreepal abhisheksree...@gmail.comwrote: I am sorry. I was just going by name class='normalbutton' But Any solution to access these fields. and Also To access menu like 'Home','MyAccount' etc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: FireWatir Issue with Regular expressions
Sorry Angrez, forgot to mention that. it is 0.9.4. I think i should upgrade firewatir now. On Mon, Oct 26, 2009 at 3:50 PM, Angrez Singh ang...@gmail.com wrote: Not sure about that. Which Firewatir version are you using? On Mon, Oct 26, 2009 at 3:41 PM, Pallavi Sharma write2pall...@gmail.comwrote: The version on which we are checking is Firefox 3.0, maybe it is because of this. On Mon, Oct 26, 2009 at 3:22 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Angrez So can it be a possibility that this might fail with other firewatir and firefox versions? Please let me know. Thanks Pallavi. On Mon, Oct 26, 2009 at 3:04 PM, Angrez Singh ang...@gmail.com wrote: Your code works for me. I am using Firewatir 1.6.5rc2 with Firefox 3.5.3 - Angrez On Mon, Oct 26, 2009 at 2:17 PM, Pallavi Sharma write2pall...@gmail.com wrote: Hi I have a weird situation where the Fire-watir sometimes work very smoothly with the scripts involving regular expression to identify the objects but in another case, the script just hangs. and also this scenario happens on different systems, which have the same configuration. Can anyone advice me on this? I believe there is more to this issue. Can anyone please tell me what else should i check or provide with to the group. The script for the same is here: require 'firewatir' ff=FireWatir::Firefox.new ff.goto('http://www.makemytrip.com') ff.link(:href,/international-flights/).click I don't face any issues with IE and watir though. Thanks, Pallavi. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Not able to click Button and MenuText in Real time App
Hi Ethan, I have tried using link method. (But Actual Problem is there are more links which have same attributes.) For e.g. Verify for 'Home',My Account','Trade,'Charts' etc. class: mytext href: http://www.edelbullion.com/edelweiss/content/index.jsf# The only attribute which distinguish between them is 'onclick' So if i use link with class and href wont work. ie.link(:href,'http://www.edelbullion.com/edelweiss/content/ index.jsf#).click --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: how to recognized DIV object
You can try with index property, if any two objects have the same property, use a third one called index. Watir supports multiple attributes to recognize an object. You can directly give the object properties, doesn't matter whether it is in a div or not with watir. Hope this helps. -- Pallavi On Mon, Oct 26, 2009 at 5:51 PM, rrash586 rrash...@gmail.com wrote: Hi All, I am testing the GWT based application on IE7. In my application when i click on the add button a new row (run time generation) is generated .I am facing the problem while locating the object as it is in DIV. can anyone let me know how to click on the object in DIV i am having only the text property set for the Div object. Also one more question is there is that how watir separate out the two object having the same property name and value. thanks in Advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---