[wtr-general] Re: Mac FireWatir PopUp

2009-09-24 Thread Angrez Singh
What behaviour are you seeing? As per the pop up handling in Firewatir. Pop
up will not show but whatever action you have written for OK or CANCEL
button will happen.

Thanks,
Angrez

On Thu, Sep 24, 2009 at 8:48 PM, Brad  wrote:

>
> I saw another thread about handling popups in FireWatir, but I didn't
> see a resolution.
>
> Please see the dialog box I'm trying to handle
> http://sites.google.com/site/watirattachments/
>
> because if this is suppose to work...it isn't
>
> @browser.startClicker("Cancel")
> @browser.button(:caption, "Agree and Download").click
>
> I looked at the unittests and see that it works for the second image
> on this page
> http://sites.google.com/site/watirattachments/
>
> Thanks for any help.
>
> Brad
> >
>

--~--~-~--~~~---~--~~
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: Need help checking a box in a table in an iframe

2009-09-24 Thread rollo

I should add that I know the text is on the page...

irb(main):059:0> browser.frame(:name,/
admin_frame_*/).text.include?'rollo, c j'
=> true

Thanks.
On Sep 24, 11:00 pm, rollo  wrote:
> I'm in need of some help getting to a checkbox element in a table (in
> an iframe).  My trouble is that there are two check box elements that
> are almost exactly the same.
>
> Here is the HTML:
>
>    rollo, 
> c (cro...@point.com)
>
>   
> > rollo, c j (cro...@point.com)
>
> Here is code that checks the first box:
>
>         browser.frame(:name,/admin_frame_*/).checkbox
> (:name=>"email",:value=>"cro...@point.com").set
>
> For the life of me, I can't get to the second check box.  I've tried
> various things, including xpath and regex to isolate on the text but
> its not coming clear.  Just lots of "Unable to locate element"
> results.  Any suggestions?
>
> Cheers.
> ~rollo
--~--~-~--~~~---~--~~
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] Need help checking a box in a table in an iframe

2009-09-24 Thread rollo

I'm in need of some help getting to a checkbox element in a table (in
an iframe).  My trouble is that there are two check box elements that
are almost exactly the same.

Here is the HTML:

   rollo, c (cro...@point.com)
   rollo, c j (cro...@point.com)

Here is code that checks the first box:

browser.frame(:name,/admin_frame_*/).checkbox
(:name=>"email",:value=>"cro...@point.com").set

For the life of me, I can't get to the second check box.  I've tried
various things, including xpath and regex to isolate on the text but
its not coming clear.  Just lots of "Unable to locate element"
results.  Any suggestions?

Cheers.
~rollo
--~--~-~--~~~---~--~~
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: I need help with Watir documentation: Methods Supported by Element

2009-09-24 Thread Željko Filipin
On Thu, Sep 24, 2009 at 8:11 PM, karim rayani  wrote:
> i have sorted the header column

Karim,

Thanks a lot. I did not have the time to check all columns, but I checked a
few and they look fine.

Please add yourself to the "Documentation" section of Watir contributors.

http://wiki.openqa.org/display/WTR/Contributors

Ž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: I need help with Watir documentation: Methods Supported by Element

2009-09-24 Thread karim rayani

hey hi, i have sorted the header column, you could verify the header column

From

Karim Rayani

On Thu, Sep 24, 2009 at 4:22 AM, karim rayani  wrote:
> yeh definately.
>
> On Thu, Sep 24, 2009 at 4:44 PM, Željko Filipin
>  wrote:
>> I have been updating these wiki pages:
>>
>> http://wiki.openqa.org/display/WTR/Ways+Available+To+Identify+HTML+Tag
>> http://wiki.openqa.org/display/WTR/How+and+What
>> http://wiki.openqa.org/display/WTR/Methods+Supported+by+Element
>>
>> All pages are related. The first two pages have `how` portion sorted
>> alphabetically, which is really useful.
>>
>> The third page (Methods Supported by Element) has Watir methods sorted by
>> alphabetically, but `how` is not sorted alphabetically. I do not have the
>> time to sort it.
>>
>> Anybody has the time to update that?
>>
>> If you need any help, please let me know.
>>
>> Željko
>> --
>> http://watirpodcast.com/
>>
>>
>> >>
>>
>
>
>
> --

--~--~-~--~~~---~--~~
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] Web development testing survey

2009-09-24 Thread Piotr Sarnacki

Hi,

I would like to know what is the situation of automated testing in web
development. I've created a survey and I would like you to help me and
fill it in.

It's focused on testing, but if you don't test, your voice is still
valueable, don't give up and fill it anyway :)

Survey is on google docs:
http://spreadsheets.google.com/viewform?formkey=dGxzNHQzT1hsUmtlVTRTVTcwMHR3aFE6MA..

I will publish the results as soon as I will got sufficient number of
votes or in 2-3 weeks.

Thanks in advance!

Piotr Sarnacki

--~--~-~--~~~---~--~~
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] Mac FireWatir PopUp

2009-09-24 Thread Brad

I saw another thread about handling popups in FireWatir, but I didn't
see a resolution.

Please see the dialog box I'm trying to handle
http://sites.google.com/site/watirattachments/

because if this is suppose to work...it isn't

@browser.startClicker("Cancel")
@browser.button(:caption, "Agree and Download").click

I looked at the unittests and see that it works for the second image
on this page
http://sites.google.com/site/watirattachments/

Thanks for any help.

Brad
--~--~-~--~~~---~--~~
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: FireWatir works in IRB not in script

2009-09-24 Thread Brad

Thank you all for the responses.

Putting: require 'rubygems' in did the trick.

Nice catch Zeljko, thankfully it was a typo in the forum post not in
the script.

Brad

On Sep 24, 4:02 am, Željko Filipin 
wrote:
> On Wed, Sep 23, 2009 at 11:19 PM, Brad  wrote:
> >   ff = Watir::Brower.new
>
> And here you have Brower instead of Browser (`s` is missing).
>
> Željko
> --http://watirpodcast.com/
--~--~-~--~~~---~--~~
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: I need help with Watir documentation: Methods Supported by Element

2009-09-24 Thread karim rayani

yeh definately.

On Thu, Sep 24, 2009 at 4:44 PM, Željko Filipin
 wrote:
> I have been updating these wiki pages:
>
> http://wiki.openqa.org/display/WTR/Ways+Available+To+Identify+HTML+Tag
> http://wiki.openqa.org/display/WTR/How+and+What
> http://wiki.openqa.org/display/WTR/Methods+Supported+by+Element
>
> All pages are related. The first two pages have `how` portion sorted
> alphabetically, which is really useful.
>
> The third page (Methods Supported by Element) has Watir methods sorted by
> alphabetically, but `how` is not sorted alphabetically. I do not have the
> time to sort it.
>
> Anybody has the time to update that?
>
> If you need any help, please let me know.
>
> Željko
> --
> http://watirpodcast.com/
>
>
> >
>



-- 
Regards,

Alkarim Rayani

--~--~-~--~~~---~--~~
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] I need help with Watir documentation: Methods Supported by Element

2009-09-24 Thread Željko Filipin
I have been updating these wiki pages:

http://wiki.openqa.org/display/WTR/Ways+Available+To+Identify+HTML+Tag
http://wiki.openqa.org/display/WTR/How+and+What
http://wiki.openqa.org/display/WTR/Methods+Supported+by+Element

All pages are related. The first two pages have `how` portion sorted
alphabetically, which is really useful.

The third page (Methods Supported by Element) has Watir methods sorted by
alphabetically, but `how` is not sorted alphabetically. I do not have the
time to sort it.

Anybody has the time to update that?

If you need any help, please let me know.

Željko
--
http://watirpodcast.com/

--~--~-~--~~~---~--~~
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: hi there is an issue in running my script

2009-09-24 Thread kiran yajamanyam
No screen shot is available. Can you resend it?

On Thu, Sep 24, 2009 at 1:12 PM, sathish_Er  wrote:

>
>
> I am using ruby 1.8.5 for developing a script to automate the process
> to record the response time ,
>
> On executing the script in Scite i found the error attached the screen
> shot for your review, kindly give your comments
>
> --
> Thanks Regards
> Sathish Kumar
>
> >
>

--~--~-~--~~~---~--~~
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] hi there is an issue in running my script

2009-09-24 Thread sathish_Er


I am using ruby 1.8.5 for developing a script to automate the process
to record the response time ,

On executing the script in Scite i found the error attached the screen
shot for your review, kindly give your comments

--
Thanks Regards
Sathish Kumar

--~--~-~--~~~---~--~~
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: FireWatir works in IRB not in script

2009-09-24 Thread Željko Filipin
On Wed, Sep 23, 2009 at 11:19 PM, Brad  wrote:
>   ff = Watir::Brower.new

And here you have Brower instead of Browser (`s` is missing).

Željko
--
http://watirpodcast.com/

--~--~-~--~~~---~--~~
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: Issue with a Text Area

2009-09-24 Thread Betsy

Hi,

My concern was about whether watir allows to handle a text area which
is readonly, meaning how can one set value there and call events also.

There is another way I can set the date in the given text area. For
this I need to click on a calendar icon and choose dates(by clicking
on them) from the calendar that pops up. When I click on close on the
calendar, the selected dates get set in the text area. now the problem
is that ".click" apparently has no effect on the date which is a table
cell and there seems to be no known JavaScript event that has been
applied on it.

the code for the calendar is as below:-
 January, 2011close   S   M   T   W   T   F   S  12345678910111213141516171819202122232425262728293031 Select date

On Sep 23, 5:37 pm, Željko Filipin 
wrote:
> On Wed, Sep 23, 2009 at 2:26 PM, Isabel  wrote:
> > I tried firing the "onchange" event on the text area but apart from
> > highlighting the text area nothing much happened.
>
> Maybe you should fire another event. It would be the best to ask a developer
> which event should be fired.
>
> Željko
> --http://watirpodcast.com/
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---