[wtr-general] Re: Error occured while working with firefox browser

2009-10-26 Thread Angrez Singh
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

[wtr-general] Re: Not Able to Use Rspec framework

2009-10-26 Thread abhisheksreepal
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

[wtr-general] Re: Not Able to Use Rspec framework

2009-10-26 Thread Jarmo Pertman
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,

[wtr-general] FireWatir Issue with Regular expressions

2009-10-26 Thread Pallavi Sharma
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

[wtr-general] FireWatir Issue with Regular expressions

2009-10-26 Thread Pallavi Sharma
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

[wtr-general] Re: Error occured while working with firefox browser

2009-10-26 Thread Angrez Singh
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

[wtr-general] Re: FireWatir Issue with Regular expressions

2009-10-26 Thread Angrez Singh
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

[wtr-general] Re: Error occured while working with firefox browser

2009-10-26 Thread Željko Filipin
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

[wtr-general] Re: FireWatir Issue with Regular expressions

2009-10-26 Thread Pallavi Sharma
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

[wtr-general] Re: FireWatir Issue with Regular expressions

2009-10-26 Thread Pallavi Sharma
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.

[wtr-general] Re: FireWatir Issue with Regular expressions

2009-10-26 Thread Angrez Singh
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

[wtr-general] Re: FireWatir Issue with Regular expressions

2009-10-26 Thread al3kc
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

[wtr-general] Not able to click Button and MenuText in Real time App

2009-10-26 Thread abhisheksreepal
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:

[wtr-general] how to recognized DIV object

2009-10-26 Thread rrash586
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

[wtr-general] Re: After upgrading to Watir 1.6.2, it is not working fine.

2009-10-26 Thread Naveen devadass
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:

[wtr-general] Re: Error occured while working with firefox browser

2009-10-26 Thread rrash586
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,

[wtr-general] How to get browser instance from inside an element?

2009-10-26 Thread Yuriy
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.

[wtr-general] Re: After upgrading to Watir 1.6.2, it is not working fine.

2009-10-26 Thread Željko Filipin
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

[wtr-general] Re: Error occured while working with firefox browser

2009-10-26 Thread Angrez Singh
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

[wtr-general] Re: How to get browser instance from inside an element?

2009-10-26 Thread Ethan
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)

[wtr-general] Re: FireWatir Issue with Regular expressions

2009-10-26 Thread Bret Pettichord
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,

[wtr-general] WIN32OLERuntimeError: failed to create WIN32OLE object from `InternetExplorer.Application' - HRESULT error code:0x800704a6

2009-10-26 Thread Aslak Hellesøy
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

[wtr-general] Does WATIR will work on Silverlight and Ajax technologies?

2009-10-26 Thread Shaik Mohammed Firoz
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

[wtr-general] Re: How to get browser instance from inside an element?

2009-10-26 Thread Yuriy
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

[wtr-general] Can't install Watir on latest Ruby one-click installer

2009-10-26 Thread Aslak Hellesøy
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

[wtr-general] Re: Can't install Watir on latest Ruby one-click installer

2009-10-26 Thread Željko Filipin
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/) -

[wtr-general] Re: Does WATIR will work on Silverlight and Ajax technologies?

2009-10-26 Thread Bret Pettichord
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

[wtr-general] Re: Does WATIR will work on Silverlight and Ajax technologies?

2009-10-26 Thread Charley Baker
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):

[wtr-general] Re: How to get browser instance from inside an element?

2009-10-26 Thread Paul Rogers
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

[wtr-general] Re: How to get browser instance from inside an element?

2009-10-26 Thread Ethan
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

[wtr-general] Re: How to get browser instance from inside an element?

2009-10-26 Thread Charley Baker
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!

[wtr-general] Re: Click ok on popup

2009-10-26 Thread Shlomit Gazit
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

[wtr-general] Re: Can't install Watir on latest Ruby one-click installer

2009-10-26 Thread Charley Baker
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):

[wtr-general] Re: Click ok on popup

2009-10-26 Thread orde
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

[wtr-general] Re: Can't install Watir on latest Ruby one-click installer

2009-10-26 Thread Bret Pettichord
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

[wtr-general] Re: Not able to click Button and MenuText in Real time App

2009-10-26 Thread abhisheksreepal
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

[wtr-general] Re: Not able to click Button and MenuText in Real time App

2009-10-26 Thread Ethan
: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

[wtr-general] file_field in File Upload dialog

2009-10-26 Thread H Kogi
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.

[wtr-general] Re: file_field in File Upload dialog

2009-10-26 Thread Bret Pettichord
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.

[wtr-general] Re: file_field in File Upload dialog

2009-10-26 Thread H Kogi
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:

[wtr-general] Re: file_field in File Upload dialog

2009-10-26 Thread Ethan
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

[wtr-general] Re: Not able to click Button and MenuText in Real time App

2009-10-26 Thread abhisheksreepal
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

[wtr-general] Re: Not able to click Button and MenuText in Real time App

2009-10-26 Thread Paul Rogers
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

[wtr-general] Re: Not able to click Button and MenuText in Real time App

2009-10-26 Thread abhisheksreepal
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)

[wtr-general] Re: Not able to click Button and MenuText in Real time App

2009-10-26 Thread Paul Rogers
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

[wtr-general] Re: Not able to click Button and MenuText in Real time App

2009-10-26 Thread abhisheksreepal
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

[wtr-general] Re: Not able to click Button and MenuText in Real time App

2009-10-26 Thread Ethan
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

[wtr-general] Re: FireWatir Issue with Regular expressions

2009-10-26 Thread Pallavi Sharma
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

[wtr-general] Re: Not able to click Button and MenuText in Real time App

2009-10-26 Thread abhisheksreepal
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

[wtr-general] Re: how to recognized DIV object

2009-10-26 Thread Pallavi Sharma
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