[wtr-general] getAllContents selectList

2008-11-11 Thread TCBlues
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

[wtr-general] get all values of a radio Button

2008-11-12 Thread TCBlues
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

[wtr-general] Re: getAllContents selectList

2008-11-12 Thread TCBlues
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

[wtr-general] Re: getAllContents selectList

2008-11-12 Thread TCBlues
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

[wtr-general] Re: Access an object

2009-01-13 Thread 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)

[wtr-general] Re: Access an object

2009-01-14 Thread TCBlues
']) 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

[wtr-general] problem accessing textfield property

2009-02-18 Thread TCBlues
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

[wtr-general] link tag

2009-03-05 Thread TCBlues
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. --~--~-~--~~~---~--~~

[wtr-general] Re: link tag

2009-03-05 Thread TCBlues
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

[wtr-general] buttons don't recollect button html tag

2009-04-24 Thread TCBlues
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

[wtr-general] Re: buttons don't recollect button html tag

2009-04-24 Thread TCBlues
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

[wtr-general] html method on watir don't return the real html

2009-05-18 Thread TCBlues
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

[wtr-general] Re: html method on watir don't return the real html

2009-05-20 Thread TCBlues
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

[wtr-general] Re: html method on watir don't return the real html

2009-05-20 Thread 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

[wtr-general] Re: html method on watir don't return the real html

2009-05-20 Thread TCBlues
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

[wtr-general] getting the css href links

2009-05-26 Thread TCBlues
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

[wtr-general] Re: Win32::Screenshot 0.0.4

2010-06-08 Thread TCBlues
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

[wtr-general] Re: Win32::Screenshot 0.0.4

2010-06-08 Thread TCBlues
.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

[wtr-general] Re: Win32::Screenshot 0.0.4

2010-06-08 Thread TCBlues
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

[wtr-general] click on html element

2010-08-17 Thread TCBlues
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

[wtr-general] Re: click on html element

2010-08-17 Thread TCBlues
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

[wtr-general] Re: click on html element

2010-08-17 Thread TCBlues
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

[wtr-general] Re: click on html element

2010-08-18 Thread TCBlues
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.

[wtr-general] unknown property or method document HRESULT error 0x800706b5

2011-02-25 Thread TCBlues
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