[wtr-general] Re: No firefox execution

2009-11-26 Thread JMT
Thank you very much...that's what I was looking for but I realised
that celerity takes  a lot of memory. Anyway, it's ok.

On Nov 25, 1:41 pm, Željko Filipin 
wrote:
> 2009/11/25 José Miguel > what I want to click 
> it is the below html element. I know how to do it
>
> with scrubyt (click_by_xpath) but a browser is opened when I execute. I do
> not know if watir lets me do it without opening a browser
>
> > 
> name="ctl00$ContentPlaceHolder1$LeftPanelSearch1$btnSearch"> 
> id="ctl00_ContentPlaceHolder1_LeftPanelSearch1_btnSearch"
> > src="../Images/es-ES/search_button.gif" onclick="return CheckValues();"
>
> style="border-width:0px;" />
>
> One way to click it with Watir is:
>
> browser.button(:id,
> "ctl00_ContentPlaceHolder1_LeftPanelSearch1_btnSearch").click
>
> All Watir drivers will open the browser. You can hide the browser, if you
> want that. If you would to not open the browser at all, try Celerity 
> (http://celerity.rubyforge.org/). It uses Watir API but does not drive a
> browser, it emulates one.
>
> Željko

-- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general


[wtr-general] Re: No firefox execution

2009-11-25 Thread Željko Filipin
2009/11/25 José Miguel 
> what I want to click it is the below html element. I know how to do it
with scrubyt (click_by_xpath) but a browser is opened when I execute. I do
not know if watir lets me do it without opening a browser
>
>  id="ctl00_ContentPlaceHolder1_LeftPanelSearch1_btnSearch"
> src="../Images/es-ES/search_button.gif" onclick="return CheckValues();"
style="border-width:0px;" />

One way to click it with Watir is:

browser.button(:id,
"ctl00_ContentPlaceHolder1_LeftPanelSearch1_btnSearch").click

All Watir drivers will open the browser. You can hide the browser, if you
want that. If you would to not open the browser at all, try Celerity (
http://celerity.rubyforge.org/). It uses Watir API but does not drive a
browser, it emulates one.

Željko

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: No firefox execution

2009-11-25 Thread José Miguel
what I want to click it is the below html element. I know how to do it with
scrubyt (click_by_xpath) but a browser is opened when I execute. I do not
know if watir lets me do it without opening a browser






El 25 de noviembre de 2009 13:24, José Miguel  escribió:

> yes, it was my mistake because the question is not very clear..I am going
> to rephrase the question in order a better understanding of my problem.
> thank you very much.
>
> 2009/11/25 Željko Filipin 
>
>> 2009/11/25 José Miguel 
>>
>> > oks, I supposed that watir has more complete api of methods and the
>> problem, wich i mention, can be solved easly with watir
>>
>> I completely missed that, my mistake. :)
>>
>> Just to make it clear, you are asking how to click a button with Watir?
>> Can you provide relevant HTML?
>>
>> Željko
>>
>>
>> >>
>>
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: No firefox execution

2009-11-25 Thread José Miguel
yes, it was my mistake because the question is not very clear..I am going to
rephrase the question in order a better understanding of my problem.
thank you very much.

2009/11/25 Željko Filipin 

> 2009/11/25 José Miguel 
>
> > oks, I supposed that watir has more complete api of methods and the
> problem, wich i mention, can be solved easly with watir
>
> I completely missed that, my mistake. :)
>
> Just to make it clear, you are asking how to click a button with Watir? Can
> you provide relevant HTML?
>
> Željko
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
To unsubscribe from this group, send email to 
watir-general+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general?hl=en
-~--~~~~--~~--~--~---



[wtr-general] Re: No firefox execution

2009-11-25 Thread Željko Filipin
2009/11/25 José Miguel 
> oks, I supposed that watir has more complete api of methods and the
problem, wich i mention, can be solved easly with watir

I completely missed that, my mistake. :)

Just to make it clear, you are asking how to click a button with Watir? Can
you provide relevant HTML?

Željko

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: No firefox execution

2009-11-25 Thread José Miguel
Hi Željko

oks, I supposed that watir has more complete api of methods and the problem,
wich i mention, can be solved easly with watir...I might be wrong.

JMT

2009/11/25 Željko Filipin 

> On Wed, Nov 25, 2009 at 1:02 PM, JMT 
> wrote:
> > require 'rubygems'
> > require 'scrubyt'
> > require 'hpricot'
>
> This is Watir support group. I do not see how your question is related to
> Watir.
>
> Željko
> --
> watir.com - community manager
> watirpodcast.com - host
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: No firefox execution

2009-11-25 Thread Željko Filipin
On Wed, Nov 25, 2009 at 1:02 PM, JMT  wrote:
> require 'rubygems'
> require 'scrubyt'
> require 'hpricot'

This is Watir support group. I do not see how your question is related to
Watir.

Željko
--
watir.com - community manager
watirpodcast.com - host

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---