Hi,
When i tried for the first time then it didnt work,
But after trying for 2-3 times it worked.I am using it on Vista platform.
Try it out for 2-3 times..
Also did u installed the jssh addon for firefox?
Thanks,
Amit
--~--~-~--~~~---~--~~
You
Thank for the reply.
But i am facing the following error
`initialize': unknown OLE server: `Outlook.Application'
(WIN32OLERuntimeError)
for the following statement
require 'win32ole'
outlook = WIN32OLE.new('Outlook.Application')
Thanks
On Thu, Mar 5, 2009 at 5:12 AM, Walter Kruse
Hi Friends,
I have installed the MYSQL server 5.1. But when I am trying to connect
it through watir I am gettin an error - This Application has failed
to start becasue LIBMYSQL.dll was not found. Re-installing the
application may fix this problem. I tried to register this dll but i
got an error
Hallo,
I have this on the html: link rel=stylesheet href=/Cad/css/
sheetCP.css type=text/css media=screen, projection
How is possible to get access to this tag? I need to get the href.
It's not possible through ie.link.
Thanks in advance.
--~--~-~--~~~---~--~~
Some related data... we've had a poll on the front page of the
WatirCraft site for a while now that asks who uses Watir in your
organization? there have been 129 responses as of this morning.
35% say just me (sorry, that doesn't tell you their role)
36% say testers only
17% say testers and
Hi,
i am very new to Ruby as well as Watir,i have seen somewhere on this
group that Object repository concept is not supported completely by
Watir.
any comments on this
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
one whacky way of doing it is to use the html of the page. will
require some parsing on your part to get to the href.
pageToParse=ie.html
getMeTheHref=pageToParse.grep(/href/)
now you can parse getMeTheHref to get your href out.
On Mar 5, 7:17 am, TCBlues tcbl...@gmail.com wrote:
Nope... it
So there is no other option...
On Mar 5, 4:05 pm, bwaybandit lenridge...@gmail.com wrote:
one whacky way of doing it is to use the html of the page. will
require some parsing on your part to get to the href.
pageToParse=ie.html
getMeTheHref=pageToParse.grep(/href/)
now you can parse
I think you have a few potential solutions
1) talk to your developers about making this thing more testable, e.g.
assign something like an ID or Name value to that link in the HTML, it
won't be visable on the page, but it would make it easier to select
the right link. I don't know your app, but
Hello Group
Has anybody tried running watir installed to a non-default gem system
path? For example, assuming you've installed all required gems using
something like:
gem install gem --no-rdoc --no-ri --ignore-dependencies -i /temp/
gems
Then in irb:
require 'rubygems'
Gem.clear_paths
One thing I forgot to mention: someone else got click_no_wait to work
by going into IE -Tools - Internet Options...-Advanced and under
Security, check the box titled Allow active content to run in files
on My Computer.
Jim
On Mar 5, 9:32 am, Jim Matthews jim_m...@swbell.net wrote:
Glad to know
George, that's interesting that you want to migrate more into development.
The person who wrote most of our Watir scripts (and did a good job with the
design, I think) was a Perl scripter before he came to us, and while he is
still working as a tester / test automation guy, he wants to move back
Hi All,
Need your help.
I have a page in which following javascript is used to display calender.
SCRIPT type=text/javascript src=
dhtmlgoodies_calendar/dhtmlgoodies_calendar.js?random=20060118/script
a onClick=displayCalendar(document.forms[0].fromDate,'-mm-dd
',this,true)
Additional info and fix:
The issue lied in browser.rb:activate_gem gem_name and the directory
structure:
watir-1.6.2/lib/watir/
After moving everything from lib/watir to lib things work great.
On Mar 5, 11:06 am, Cliff cliff.cyph...@gmail.com wrote:
Hello Group
Has anybody tried running
Just no luck. Still not seeing any popup.
roles_page.bottom_delete.click_no_wait# = no popup
displayed
but if I use
roles_page.bottom_delete.click #=== popup comes right
up
On Mar 5, 10:17 am, Jim Matthews jim_m...@swbell.net wrote:
One thing I forgot to mention:
Here is a piece of code that doesn't work in FireWatir 1.6.2:
require 'watir'
Watir::Browser.default = 'firefox'
browser = Watir::Browser.new
browser.goto(http://www.google.com;)
searchform = browser.form(:xpath, //fo...@name='f'])
puts Searchform is #{searchform.to_s}
You will get this
Apologies, that code just demonstrates that xpath isn't working right.
I was trying to use .exists? in my code, but the example just is to
demonstrate that the xpath doesn't work at all. If you try to
do .exists? on a form element using xpath, it fails the same way.
--Kevin
On Mar 5, 3:48 pm,
The initial question that occurred to me is why you are trying to automate
the sending of an email with Outlook Express. Why not leverage Ruby to send
the email without the additional complexity of trying to figure out how deal
with Outlook Express. Bringing Outlook Express into the equation just
maximore,
Here is a simple example for to_s usage -
require 'watir/ie'
$ie = Watir::IE.new
$ie.goto(www.google.com)
example = $ie.link(:text, 'Preferences').text.to_s
puts example
sleep 2
$ie.close
You may want to change your statement to:
result=ie.test_field(name,dayOfBirth).name.to_s
You can try install PRoR, pre-packaged Watir and required libraries
http://www.itest2.com/articles/2009/02/27/easy-setup-watir-with-pror-on-windows/
Zhimin
On Mar 6, 11:12 am, MatchBook jeffrey.fl...@gmail.com wrote:
I am not able to install watir on Windows either by using the
HTTP_PROXY
Hi,
You are right, Watir doesn't support object repository concept and
even you can't spy the object properties.
Thanks
Vikas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this
Nice catch, there was a spelling mistake while locating the form using
xpath. Fixed it. Will let you know when I check in the code
- Angrez
On Fri, Mar 6, 2009 at 3:14 AM, Kevin White ilium...@gmail.com wrote:
Apologies, that code just demonstrates that xpath isn't working right.
I was
Hi All,
How to set priority in Outlook mail , when it contain specified text in
message .
Please help me. This is a Curtail task for me.
Thanks in advance.
Regards
-Prasoona
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hi,
I am trying to run a watir script which is used to handle alert popups
on eclipse. Its runnig smoothly on SciTE but wen i try to run it on
eclipse its throwing a TimeOutException.Does anybody have solution for
the same.
Following is my program and respective error
require 'watir'
require
Does anyone have idea on whether Object Repository is being considered
in the development roadmap for Watir??
On Mar 5, 8:43 pm, Vikas Tulashyam vtulash...@gmail.com wrote:
Hi,
You are right, Watir doesn't support object repository concept and
even you can't spy the object properties.
25 matches
Mail list logo