[wtr-general] Close function of watir 1.6.5 not working fine

2010-01-11 Thread Ankur Gera
Hi All, When i run the below code close function of watir 1.6.5 doesn't work fine after handling a pop-up.But of watir 1.6.2 work fine in the same situation. I would request to the Watir developers please resolve this problem. require 'watir' require 'rubygems' require 'win32ole' require 'C:\\rub

[wtr-general] Not able to edit Text Field

2010-01-11 Thread lokesh.agra...@gmail.com
Hi Guys, I am facing one problem. In my webpage I have table which has many TD/TR and Div Sample code lokesh Now, this Div is actually a text field where lokesh is written and I want to change it. I am able to find the div ie.table(:id, "ivr_template:params").div(:index,1).flash even I am abl

Re: [wtr-general] Not able to edit Text Field

2010-01-11 Thread Prajakta Jadhav
You could use ie.send_keys(text) to enter the text after you have got the focus on required div. But I fear this is not a very right way to do this. There should be something else available for this. On Mon, Jan 11, 2010 at 4:46 PM, lokesh.agra...@gmail.com < lokesh.agra...@gmail.com> wrote: >

[wtr-general] No Matching Window Exception.

2010-01-11 Thread Chandu80
I have a code wriiten in ruby as follows: require 'watir/ie' require 'watir/process' test_site = 'http://www.google.com' $ie = Watir::IE.new $ie.goto(test_site) title = $ie.title puts"Title is #{title}" puts"Attach to the same session" cnt = Watir::Process.count 'iexplore.exe' puts "The IE proc

[wtr-general] Re: No Matching Window Exception.

2010-01-11 Thread Chandu80
On Jan 11, 5:23 pm, Chandu80 wrote: > I have a code wriiten in ruby as follows: > > require 'watir/ie' > require 'watir/process' > > test_site = 'http://www.google.com' > $ie = Watir::IE.new > $ie.goto(test_site) > title = $ie.title > puts"Title is #{title}" > puts"Attach to the same session" >

Re: [wtr-general] No Matching Window Exception.

2010-01-11 Thread Željko Filipin
I am confused by your script. 1) Why are you attaching to the browser window when $ie already points to it 2) error says that it can not find `http://10.130.92.4` (so test_site should point to that, but test_site points to 'http://www.google.com') What are you trying to do? Željko -- watir.com -

[wtr-general] Re: No Matching Window Exception.

2010-01-11 Thread Chandu80
Hi, I am sorry I made a mistake in writing the test_site.Let me re-type the code and the error that i am getting require 'watir/ie' require 'watir/process' test_site = 'http://www.google.com' $ie = Watir::IE.new $ie.goto(test_site) title = $ie.title puts"Title is #{title}" puts"Attach to the sa

Re: [wtr-general] Re: No Matching Window Exception.

2010-01-11 Thread Željko Filipin
Did you check that browser url is google.com? When I navigate to google.com, it actually opens google.hr (because I am in Croatia)? Ž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@google

[wtr-general] Modal Dialog not found

2010-01-11 Thread maven999
Hi, I have a dojo dialog box (to search for a customer) that pops up when I click on a button on the main window. I have tried all methods to locate it, but none of them worked. The source of the dialog box is: Account Search x I tried the

[wtr-general] Re: Modal Dialog not found

2010-01-11 Thread maven999
I should point out that while the window's main div (dijit_Dialog_0) has no title, the inner html tag within it (dijitDialogTitleBar) does have a title. Using this title still gives me a 'Modal Dialog not found' error. Any help is appreciated, thanks! On Jan 11, 12:02 pm, maven999 wrote: > Hi,

Re: [wtr-general] Re: Modal Dialog not found

2010-01-11 Thread Charley Baker
I'm not very familiar with dojo other than knowing it's a js toolkit. My guess is that this isn't a "modal_dialog" but rather a div, a lightbox or something similar. Try using IE dev toolbar or Firebug to recognize it and work with the div. -c On Mon, Jan 11, 2010 at 1:31 PM, maven999 wrote:

[wtr-general] Re: Watir - Going down a to read the next element and perform click action on a button

2010-01-11 Thread tester86
Hi I maybe starting another thread but thought I'd post my message on here. How does Watir support Javascript (sproutcore). For example if I wanted to click on a checkbox sproutcore considers it as a link which has an ID assoication. -- You received this message because you are subscribed to the

Re: [wtr-general] Re: Watir - Going down a to read the next element and perform click action on a button

2010-01-11 Thread Charley Baker
Watir supports anything that's part of the dom. I don't know sproutcore, but any JS libraries are fine. ID association is great and if you can enforce unique ids, it'll make testing easier. -c On Mon, Jan 11, 2010 at 1:51 PM, tester86 wrote: > Hi > > I maybe starting another thread but thought

[wtr-general] Re: Modal Dialog not found

2010-01-11 Thread maven999
Hi Charley, You're right! The window is detectable when I treat it as a div of the main window and NOT as a modal dialog. Thanks much! On Jan 11, 3:37 pm, Charley Baker wrote: > I'm not very familiar with dojo other than knowing it's a js toolkit. My > guess is that this isn't a "modal_dialog"

[wtr-general] Re: Close function of watir 1.6.5 not working fine

2010-01-11 Thread Tiffany Fodor
Hi Ankur! What do you mean by the close function doesn't work fine. Please include the error message and behavior you're seeing to help in troubleshooting the problem. Thanks! -Tiffany On Jan 11, 4:02 am, Ankur Gera wrote: > Hi All, >  When i run the below code close function of watir 1.6.5 d

[wtr-general] Please donate to the Watir project!

2010-01-11 Thread Alan Ark
If you feel that Watir is useful to you or your organization, please think about donating to the project! There's a donate link on the watir.com home page. I just donated $200 to help cover some hosting expenses that are coming out of people's personal wallet. Not bad for almost 5 years of usi

Re: [wtr-general] Please donate to the Watir project!

2010-01-11 Thread marekj
There is also a pledgie setup. http://pledgie.com/campaigns/2982 I just donated $10 marekj Watirloo: Semantic Page Objects in UseCases http://github.com/marekj/watirloo/ Support Watir Project http://pledgie.com/campaigns/2982 On Mon, Jan 11, 2010 at 6:45 PM, Alan Ark wrote: > If you feel tha

Re: [wtr-general] Re: Close function of watir 1.6.5 not working fine

2010-01-11 Thread Ankur Gera
Hi Tiffany, After closing manually IE browser i got the following error message :- *c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/ie-class.rb:402:in `method_missing': unknown property or method `hw nd' (WIN32OLERuntimeError) HRESULT error code:0x80010108 The object invoked