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
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
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
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
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
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.
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)
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
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'
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,
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
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
12 matches
Mail list logo