Re: [Wtr-general] How to capture mail box icon

2007-06-11 Thread Željko Filipin
Hi Sapna, This is how you can find out if mail box is open or closed. Let me know if you do not know how to use this code. irb ie.image(:index, 1).src =~ /mailclosed/ = 46 irb ie.image(:index, 1).src =~ /mailopen/ = nil Zeljko ___ Wtr-general

[Wtr-general] Need to fetch the ID

2007-06-11 Thread sapna
Hi, I had posted this question earlier but did not get any information. So wanted to put the question again. Need help on this. Below is the HTML code. 1 I want to check whether the mail is read or unread depending on the mail icon(first line of HTML) 2 Want to fetch the id generated

Re: [Wtr-general] How to capture mail box icon

2007-06-11 Thread sapna
Can u guid me how to use this code. I need to check if it is opened/closed and then open the closed mail. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Need to fetch the ID

2007-06-11 Thread Željko Filipin
On 6/11/07, sapna [EMAIL PROTECTED] wrote: a href=/AppsUIWeb/SelfService/MessageDetail.aspx?id=1303messageToUser=TrueRE: Check Copy Request/a Sapna, To find id of that link you have to know some other attribute of that link. I will assume that you know text RE: Check Copy Request This is

Re: [Wtr-general] mouse right click?

2007-06-11 Thread Paul Rogers
the code in that page uses the javascript event object, which we've had problems with in watir. I think you will be able to make this work by: simulate right click see if the menuitem div is visible click it based on its text something like this may be what you need

[Wtr-general] WATiR contract work in San Francisco

2007-06-11 Thread Bob
Experienced test engineer needed to work on Customer Facing Ecommerce applications. Requires significant commercial automation work using the WATiR framework. Immediate, long term contract situation. Very solid team, positive environment. Calls or email are good. Bob Lepesh, JD Strategies.

Re: [Wtr-general] Concurrent tests, different regions...

2007-06-11 Thread Bret Pettichord
eisdrache wrote: I understand what you are saying about the global variables, but in this case they are a necessary evil as I am using the following code in order to handle javascript pop-ups: def startClicker( button , waitTime= 9, user_input=nil ) hwnd = $ie.enabled_popup(waitTime)

Re: [Wtr-general] Scheduler

2007-06-11 Thread Jet Liu
Adding auto=true to the end of the URL does the trick. Thanks all. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Handling Popup

2007-06-11 Thread TT Blue
I'm new to Watir as well as Ruby, and I need help handling a pop-up dialog. I've searched both the mailing list as well as the trying all that I've found, but I couldn't get it to click on the OK pop-up button. == require 'watir'

Re: [Wtr-general] Handling Popup

2007-06-11 Thread Hayato Iriumi
I just went through exactly the same issue. Try to use click_no_wait and see what happens. On 6/11/07, TT Blue [EMAIL PROTECTED] wrote: I'm new to Watir as well as Ruby, and I need help handling a pop-up dialog. I've searched both the mailing list as well as the trying all that I've found,

Re: [Wtr-general] Need to fetch the ID

2007-06-11 Thread sapna
Hi Zeljko, I have a quesion on the code you sent me. Kindly find the question below the code. This will extract 1303. irb m = /id=(1303)/.match(ie.link(:text, RE: Check Copy Request).href) = #MatchData:0x2d147b8 Q: Here I mention the id but I want to fetch automatically because the id keep

Re: [Wtr-general] Handling Popup

2007-06-11 Thread TT Blue
Tried that too, didn't work. It's somewhat interesting because with QuickTest Pro, it identified that dialog as winDialog and I'd thought the winClicker solution would work... but it didn't. On 6/11/07, Hayato Iriumi [EMAIL PROTECTED] wrote: I just went through exactly the same issue. Try to