On Mon, Apr 23, 2012 at 11:57 PM, Jarmo Pertman jarm...@gmail.com wrote:
You may do that if possible.
Done:
http://watir.com/2012/04/24/watir-3-released/
Željko
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
I can confirm this about the command line tools.
On Monday, April 23, 2012 3:18:04 PM UTC-4, Željko Filipin wrote:
On Mon, Apr 23, 2012 at 9:11 PM, Joe Fl joeflec...@gmail.com wrote:
I am trying to install safariwatir and watir-webdriver on a co-workers
Mac Air. Xcode 4.3.2 has been
I created this test script because I was having issues with another script
that needed to work with select_list. This is having the same issue. From
my understanding contents[0] should print out Firefox but instead I get
a memory location. I printed the memory location out and it's not a
I'm not sure what you're trying to do exactly, but you need to tell it
you're looking for the text
puts contents[0].text
You also may want to consider something like this instead of an array, but
again I'm not really sure what you're trying to do.
b.select_list(:name =
Hi,
Im trying to access links inside an email.
Im am not using Gem “mail”.
Im doing very simple stuff here.
Just getting unread email from the mailbox and then getting the links
present inside that email.
When I try to get email bocdy, I get without error.
But similarly when I try to get
select_list.options returns an object of type OptionCollection not an array
It supports most of the methods you'd expect for an array in terms of
simple navigation (.each, .first, [], .length, etc) so you can pretty much
treat it as an array, but you can't (I'm pretty sure) assign it to an
I see no watir in your code below, why are you posting this question here?
On Tuesday, April 24, 2012 1:28:08 PM UTC-7, Bhavesh wrote:
Hi,
Im trying to access links inside an email.
Im am not using Gem “mail”.
Im doing very simple stuff here.
Just getting unread email from the
The mail gem has it's own google group, the link is in the readme look
here: https://github.com/mikel/mail/
That would be the better place to ask your question
On Tuesday, April 24, 2012 1:32:00 PM UTC-7, Chuck van der Linden wrote:
I see no watir in your code below, why are you posting
Interesting I was thrown off when it looked like some object instead of a
simple array. In the
documentationhttp://wiki.openqa.org/display/WTR/Selection+Boxes#SelectionBoxes-SelectionBoxMethodsit
stated NOTE:
contents will be an array which made me confused thanks for the
clarification on
If you want to select a specific option, there's a much easier way.
Just use the select_list's .select method
b.select_list(:name = 'entry.6.single').select 'Chrome'
On Tuesday, April 24, 2012 1:34:47 PM UTC-7, krizzo wrote:
I wanted to get the list of options and then have it select one
Note that if it is a multi-select list you may want to clear all the
selections first with the .clear method, before selecting the one(s) you
want to be selected.
On Tuesday, April 24, 2012 1:43:18 PM UTC-7, Chuck van der Linden wrote:
If you want to select a specific option, there's a much
Yes, im doing this in watir.
Instead of using mail gem, im using this method to retrive emails.
I dont want to install gem mail.
I need to know how to get values instead of these hash values.
Bhavesh
On Apr 24, 1:36 pm, Chuck van der Linden sqa...@gmail.com wrote:
The mail gem has it's own
Yeah that's what I'm doing only I wanted to program my script as if I
didn't know what the value in the selection would be and wanted to select
either the nth element in the list as this code does or check the values
and pick one.
contents = b.select_list(:xpath, LIST).options
value =
Then show us some example HTML and some code that is using watir that shows
what you are trying to do.
I have for example zero idea what mail system you are even trying to
access, you've given us pretty much zero info other than the code you want
to replace (which itself has very little info
That would still be doing it the hard way..
b.select_list(:id = entry_6).options[1].select
If you are not sure that there will always be a 1th element in the select
list, you might want to check the .length first
assert b.select_list(:id = entry_6).options.length = 3
b.select_list(:id
I agree with Chuck on this. The net/http is the quickest and easiest way to
check for broken links. Be cautious about web pages that send nice
message-type web pages instead of hard error code pages.
Dave
On Monday, April 23, 2012 3:14:58 PM UTC-7, Chuck van der Linden wrote:
Or check this
The link in the other thread to https://gist.github.com/1445418 leads in
the direction I am wondering about.
Since watir-webdriver is essentially wrapping the Selenium webdriver is
there a way I can access the Action Builder as shown in that hover class
mentioned in the link? I have used
The gist you linked was doing just that sort of thing.
I believe the underlaying Selenium driver object is present as 'driver'
you see it being used in the gist.
yesh the syntax would be horrible but it makes me wonder if we need to add
something like a '.hover_then_click method that would
Hi Chuck,
I don't expect people to write an code for me.
I have already posted the code which i am using in my script in my
first Post.
Code is :
outlook = WIN32OLE.new('Outlook.Application')
mapi = outlook.GetNameSpace('MAPI')
folders = mapi.Folders
There is not a single line of code in what you provided below that is using
Watir.
Watir is Web Application Testing in Ruby, it is for driving web browsers
and automating web applications.
I have outlook open Outlook is a native application, not a web
application. YOU CANNOT DRIVE
Hi chuck,
You are still not getting me.
Im am using Watir, and an webapplicaiton.
From my application, i can send notification.
Once notification is received in Outlook Inbox, i have to get the
links in that emails.
I automated using Watir till i can send the notification on an web
OK, i got the solution.
I pattern matched the link text from the message body.
After grabbing the link text, i can use it to navigate.
So all ok now.
Only thing if someone can help is, i got the email body but as same
time i want to mark that email as read instead of unread, so that
next
22 matches
Mail list logo