when you call getAllContents in a select list field you get all the
captions but I would like to get the possible values, is it possible?
Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General
How could I get all the possible values of a radio button?
For example if I have something like:
input type=radio name=email_frequency value=dailyDaily Email/
input
input type=radio name=email_frequency value=weeklyWeekly
Email/input
input type=radio name=email_frequency value=monthlyMonthly
and what's the value of @o??
On 11 nov, 18:10, marekj [EMAIL PROTECTED] wrote:
On Tue, Nov 11, 2008 at 5:22 AM, TCBlues [EMAIL PROTECTED] wrote:
when you call getAllContents in a select list field you get all the
captions but I would like to get the possible values, is it possible
Ok, I got it.
@ie.select_list(:name,myField).o.each {...}
It's working for watir but not for firewatir.
Any idea??
On 12 nov, 10:23, TCBlues [EMAIL PROTECTED] wrote:
and what's the value of @o??
On 11 nov, 18:10, marekj [EMAIL PROTECTED] wrote:
On Tue, Nov 11, 2008 at 5:22 AM, TCBlues
Thanks for your answer.
In the case the object is a textField or a listField I'm trying to set
the control with:
ie.element_by_xpath(//*...@name=imp1]).set(testing)
but an error comes up: 13:in `method_missing': unknown property or
method `set' (WIN32OLERuntimeError)
'])
txt.value = 'Richard Lawrence'
btn = b.element_by_xpath(//*...@name='btnG'])
btn.click
So you might try the value property instead of the set method.
Richard
On Tue, Jan 13, 2009 at 9:46 AM, TCBlues tcbl...@gmail.com wrote:
Thanks for your answer.
In the case the object is a textField
I don't know why but it takes 20 seconds to do this, anybody knows
another way to do it?
The problem comes up when you try to access a property like for
example 'name'
20.times{
nameFields=ie.text_fields.each { |t| t.name }
}
Thanks in advance
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.
--~--~-~--~~~---~--~~
getMeTheHref to get your href out.
On Mar 5, 7:17 am, TCBlues tcbl...@gmail.com wrote:
Nope... it doesn't work
On Mar 5, 12:11 pm, wesley chen cjq@gmail.com wrote:
Try the code below
$ie.links.collect { |link|
puts link.href
}
Thanks.
Wesley Chen.
On Thu, Mar 5, 2009
Hæ,
I'm trying to get all the button tags in a html page using the
buttons method but all I get are the input type=submit or input
type=button html tags objects.
How could I get all the button html tags?
what I'm doing is:
my html page:
...
input id=button1 type=button value=buttonOne
input
Sorry I did a mistake... all I get is button1, button2, button3 and
not button4 :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to
Hi,
I'm using watir to get the html of a page in order to verify every
single page on w3c.org but what I get with watir is something like:
HTML lang=is xml:lang=is xmlns=http://www.w3.org/1999/
xhtmlHEADTITLECertus Games/TITLE
META http-equiv=Cache-Control content=no-cache
META http-equiv=Pragma
yep, it works using net/http but could I use watir and net/http
together?
I mean I need to login the user using watir and then get the html with
net/http
is it possible?
thanks.
On May 19, 10:26 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Mon, May 18, 2009 at 7:19 PM, TCBlues
, sHiVa krapa.ph...@gmail.com wrote:
Hi TCBlues,
As it is an another package in ruby, you can mix up both Watir and net/
http.
Grab all the html content in to a file or string, and perform your
--~--~-~--~~~---~--~~
You received this message because you
Thanks for your answer but this is not working in my case.
Since I'm logging the user with watir and I need to get the html with
net/http in the same connection.
Thanks for the try.
On May 20, 4:11 pm, sHiVa krapa.ph...@gmail.com wrote:
Hi TCBlues,
This code can help you. Here what i am doing
Using watir, how can I get the href links of the CSS in my pages:
link rel=stylesheet
href=http://estaticos01.cache.el-mundo.net/elmundo/estilos/v4.x/v4.07/
comun.css
type=text/css media=all /
link rel=stylesheet
href=http://estaticos02.cache.el-mundo.net/elmundo/estilos/v4.x/v4.07/
portada.css
I'm trying to download the gem but it is not available, do you know
where could I download it?
Thanks.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received this message because you are subscribed to
.gem)
On 8 jun, 12:33, Željko Filipin zeljko.fili...@wa-research.ch wrote:
On Tue, Jun 8, 2010 at 1:56 PM, TCBlues tcbl...@gmail.com wrote:
I'm trying to download the gem but it is not available, do you know
where could I download it?
http://rubygems.org/gems/win32screenshot
or
gem install
Thanks a lot, I'll be waiting until I can reach these gems.
On 8 jun, 12:38, Željko Filipin zeljko.fili...@wa-research.ch wrote:
On Tue, Jun 8, 2010 at 2:36 PM, TCBlues tcbl...@gmail.com wrote:
SocketError: getaddrinfo: temporary failure in name resolution.
Maybe this caused the problem
Hi, I need to click on an html element using watir and firewatir, for
example:
tdA/td
Since this is not a button or a link... how can I do it?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received this message because you are subscribed
the html I need to access has no ids or names:
table... tdA/tdtdB/td/table
and also sometimes I need to click on words without any tag:
html...body...div.../divtable.../table
The text I want to click
/body/html
On 17 ago, 12:27, TCBlues tcbl...@gmail.com wrote:
Hi, I need to click
is it possible to click any element using an id... something like
ie.element(:id,myid).click
On 17 ago, 12:45, TCBlues tcbl...@gmail.com wrote:
the html I need to access has no ids or names:
table... tdA/tdtdB/td/table
and also sometimes I need to click on words without any tag:
html
So it is not possible to access using something like
brow.element(:id,xxx) or brow.object(:id,xxx) or something
similar.
The only way is to know before hand what kind of tag we'll be
accessing.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
Watir: 1.6.5
Windows 7 64 bits
Ruby 1.8.7
When running this code:
require 'watir'
nav=Watir::IE.new()
nav.goto(http://www.google.com;)
puts nav.url
nav.close()
I get this error:
unknown property or method `document'HRESULT error code:
0x800706b5 The interface is unknown.
I was
24 matches
Mail list logo