[wtr-general] Re: Selecting a url from an array

2009-09-16 Thread ash

Apologies but I think it was me formatting my command incorrectly
rather than you suggesting incorrect format.
Thanks again for your help.

Cheers...Ash

On Sep 15, 11:47 pm, orde ohil...@gmail.com wrote:
 Ash - glad you got it working.

 Regarding the regular expression, SciTE recognizes this as valid:

 $links.detect { |$links|   /^http:\/\/word/=~ $links }

 How is the format incorrect?

 orde
--~--~-~--~~~---~--~~
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 :PopUp Handling

2009-09-16 Thread Angrez Singh
For the benefit of other people I am sending this mail to entire mailing
list. Unit tests are there in the installation directory ..
[ruby installation
directory]/lib/ruby/gems/1.8/gems/firewatir-1.6.2/unittests

- Angrez

On Wed, Sep 16, 2009 at 3:20 PM, Ravinder Singroha 
ravindersingr...@gmail.com wrote:

 Hi Angrez

 Where i can find  unit tests case for Firewatir for handling the pop
 ups? can you give me the links for the same.
 and
 I am using click_no_wait() function.
 But its not working ?
 Does FireWatir Support click_no_wait() function

 Thx





 On Sep 14, 12:09 pm, Angrez Singh ang...@gmail.com wrote:
  Did you had a look at the unit tests case for Firewatir for handling the
 pop
  ups? Is there a specific problem that you are facing? The information you
  provided is not sufficient enough for anyone to help you.
 
  - Angrez
 
  On Mon, Sep 14, 2009 at 10:37 AM, Rajat Singhal coolraja...@gmail.com
 wrote:
 
 
 
   Hi All
   Kindly do let me know,How we can handle pop ups in FireWatir
 
   Thanks


--~--~-~--~~~---~--~~
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 :PopUp Handling

2009-09-16 Thread Angrez Singh
Firewatir doesn't support click_no_wait(). Also please message to entire
list so that all people can get benefited from the answer.

Thanks,
Angrez

On Wed, Sep 16, 2009 at 3:45 PM, Ravinder Singroha 
ravindersingr...@gmail.com wrote:

 Hi Angrez

 Does Firewatir support click_no_wait() function ?

 Thx

 Thanks  regards
 Ravinder Singroha
 +91-9717196269



 On Wed, Sep 16, 2009 at 3:23 PM, Angrez Singh ang...@gmail.com wrote:

 For the benefit of other people I am sending this mail to entire mailing
 list. Unit tests are there in the installation directory ..
 [ruby installation
 directory]/lib/ruby/gems/1.8/gems/firewatir-1.6.2/unittests

 - Angrez

 On Wed, Sep 16, 2009 at 3:20 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 Where i can find  unit tests case for Firewatir for handling the pop
 ups? can you give me the links for the same.
 and
 I am using click_no_wait() function.
 But its not working ?
 Does FireWatir Support click_no_wait() function

 Thx





 On Sep 14, 12:09 pm, Angrez Singh ang...@gmail.com wrote:
  Did you had a look at the unit tests case for Firewatir for handling
 the pop
  ups? Is there a specific problem that you are facing? The information
 you
  provided is not sufficient enough for anyone to help you.
 
  - Angrez
 
  On Mon, Sep 14, 2009 at 10:37 AM, Rajat Singhal coolraja...@gmail.com
 wrote:
 
 
 
   Hi All
   Kindly do let me know,How we can handle pop ups in FireWatir
 
   Thanks





--~--~-~--~~~---~--~~
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 :PopUp Handling

2009-09-16 Thread Ravinder Singroha
Hi Angrez

sorry for that

Without click_no_wait() function how can we hadle the popups ?

Thx



Thanks  regards
Ravinder Singroha
+91-9717196269


On Wed, Sep 16, 2009 at 3:49 PM, Angrez Singh ang...@gmail.com wrote:

 Firewatir doesn't support click_no_wait(). Also please message to entire
 list so that all people can get benefited from the answer.

 Thanks,
 Angrez


 On Wed, Sep 16, 2009 at 3:45 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 Does Firewatir support click_no_wait() function ?

 Thx

 Thanks  regards
 Ravinder Singroha
 +91-9717196269



 On Wed, Sep 16, 2009 at 3:23 PM, Angrez Singh ang...@gmail.com wrote:

 For the benefit of other people I am sending this mail to entire mailing
 list. Unit tests are there in the installation directory ..
 [ruby installation
 directory]/lib/ruby/gems/1.8/gems/firewatir-1.6.2/unittests

 - Angrez

 On Wed, Sep 16, 2009 at 3:20 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 Where i can find  unit tests case for Firewatir for handling the pop
 ups? can you give me the links for the same.
 and
 I am using click_no_wait() function.
 But its not working ?
 Does FireWatir Support click_no_wait() function

 Thx





 On Sep 14, 12:09 pm, Angrez Singh ang...@gmail.com wrote:
  Did you had a look at the unit tests case for Firewatir for handling
 the pop
  ups? Is there a specific problem that you are facing? The information
 you
  provided is not sufficient enough for anyone to help you.
 
  - Angrez
 
  On Mon, Sep 14, 2009 at 10:37 AM, Rajat Singhal 
 coolraja...@gmail.comwrote:
 
 
 
   Hi All
   Kindly do let me know,How we can handle pop ups in FireWatir
 
   Thanks






--~--~-~--~~~---~--~~
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 :PopUp Handling

2009-09-16 Thread Ravinder Singroha
Hi Angrez

Like in watir a popup is handle with click_no_wait(), in case of click() ity
does not release.
How can we handle this scenario in Firewatir ?
how can we handle popup after click.(popup which comes after click event)

thx


Thanks  regards
Ravinder Singroha
+91-9717196269


On Wed, Sep 16, 2009 at 3:54 PM, Ravinder Singroha 
ravindersingr...@gmail.com wrote:

 Hi Angrez

 sorry for that

 Without click_no_wait() function how can we hadle the popups ?

 Thx



 Thanks  regards
 Ravinder Singroha
 +91-9717196269


 On Wed, Sep 16, 2009 at 3:49 PM, Angrez Singh ang...@gmail.com wrote:

 Firewatir doesn't support click_no_wait(). Also please message to entire
 list so that all people can get benefited from the answer.

 Thanks,
 Angrez


 On Wed, Sep 16, 2009 at 3:45 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 Does Firewatir support click_no_wait() function ?

 Thx

 Thanks  regards
 Ravinder Singroha
 +91-9717196269



 On Wed, Sep 16, 2009 at 3:23 PM, Angrez Singh ang...@gmail.com wrote:

 For the benefit of other people I am sending this mail to entire mailing
 list. Unit tests are there in the installation directory ..
 [ruby installation
 directory]/lib/ruby/gems/1.8/gems/firewatir-1.6.2/unittests

 - Angrez

 On Wed, Sep 16, 2009 at 3:20 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 Where i can find  unit tests case for Firewatir for handling the pop
 ups? can you give me the links for the same.
 and
 I am using click_no_wait() function.
 But its not working ?
 Does FireWatir Support click_no_wait() function

 Thx





 On Sep 14, 12:09 pm, Angrez Singh ang...@gmail.com wrote:
  Did you had a look at the unit tests case for Firewatir for handling
 the pop
  ups? Is there a specific problem that you are facing? The information
 you
  provided is not sufficient enough for anyone to help you.
 
  - Angrez
 
  On Mon, Sep 14, 2009 at 10:37 AM, Rajat Singhal 
 coolraja...@gmail.comwrote:
 
 
 
   Hi All
   Kindly do let me know,How we can handle pop ups in FireWatir
 
   Thanks







--~--~-~--~~~---~--~~
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] Not able to run CMS installer if object is already attached to its url

2009-09-16 Thread Arpita Jain

Hi all,

I created a watir object and attached it to my CMS's url.  Then I run
the CMS installer, it worked fine in the starting but while refreshing
environment it hanged.
To make installer moving ahead I have to stop the process
FYI: Installer is created using InstallAnywhere.

Did someone faced the same problem?

Thank in advance


--~--~-~--~~~---~--~~
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 :PopUp Handling

2009-09-16 Thread Ravinder Singroha
Hi Angrez

I can handle pop with help of autoit
but problem is that if i use click() function then its not releasing.
so that i can not move the next step.

My scenario is button click then popup came after button click.
Now i can handle this in Firewatir

Please help me out i am kind of stuck in this

Thanks  regards
Ravinder Singroha



On Wed, Sep 16, 2009 at 4:01 PM, Angrez Singh ang...@gmail.com wrote:

 did you looked at the unit test cases I think that would be self
 explanatory. Have a look if you still have questions then you can ask here
 on the list.


 On Wed, Sep 16, 2009 at 3:54 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 sorry for that

 Without click_no_wait() function how can we hadle the popups ?

 Thx



 Thanks  regards
 Ravinder Singroha
 +91-9717196269


 On Wed, Sep 16, 2009 at 3:49 PM, Angrez Singh ang...@gmail.com wrote:

 Firewatir doesn't support click_no_wait(). Also please message to entire
 list so that all people can get benefited from the answer.

 Thanks,
 Angrez


 On Wed, Sep 16, 2009 at 3:45 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 Does Firewatir support click_no_wait() function ?

 Thx

 Thanks  regards
 Ravinder Singroha
 +91-9717196269



 On Wed, Sep 16, 2009 at 3:23 PM, Angrez Singh ang...@gmail.com wrote:

 For the benefit of other people I am sending this mail to entire
 mailing list. Unit tests are there in the installation directory ..
 [ruby installation
 directory]/lib/ruby/gems/1.8/gems/firewatir-1.6.2/unittests

 - Angrez

 On Wed, Sep 16, 2009 at 3:20 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 Where i can find  unit tests case for Firewatir for handling the pop
 ups? can you give me the links for the same.
 and
 I am using click_no_wait() function.
 But its not working ?
 Does FireWatir Support click_no_wait() function

 Thx





 On Sep 14, 12:09 pm, Angrez Singh ang...@gmail.com wrote:
  Did you had a look at the unit tests case for Firewatir for handling
 the pop
  ups? Is there a specific problem that you are facing? The
 information you
  provided is not sufficient enough for anyone to help you.
 
  - Angrez
 
  On Mon, Sep 14, 2009 at 10:37 AM, Rajat Singhal 
 coolraja...@gmail.comwrote:
 
 
 
   Hi All
   Kindly do let me know,How we can handle pop ups in FireWatir
 
   Thanks







 


--~--~-~--~~~---~--~~
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 :PopUp Handling

2009-09-16 Thread Angrez Singh
Please look at the unit tests. Following are the lines from unit test:

browser.startClicker(ok)
browser.button(:id, btnAlert).click

First tell the browser which button you want to click ok or cancel and
then click the button.


On Wed, Sep 16, 2009 at 4:14 PM, Ravinder Singroha 
ravindersingr...@gmail.com wrote:

 Hi Angrez

 I can handle pop with help of autoit
 but problem is that if i use click() function then its not releasing.
 so that i can not move the next step.

 My scenario is button click then popup came after button click.
 Now i can handle this in Firewatir

 Please help me out i am kind of stuck in this

 Thanks  regards
 Ravinder Singroha



 On Wed, Sep 16, 2009 at 4:01 PM, Angrez Singh ang...@gmail.com wrote:

 did you looked at the unit test cases I think that would be self
 explanatory. Have a look if you still have questions then you can ask here
 on the list.


 On Wed, Sep 16, 2009 at 3:54 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 sorry for that

 Without click_no_wait() function how can we hadle the popups ?

 Thx



 Thanks  regards
 Ravinder Singroha
 +91-9717196269


 On Wed, Sep 16, 2009 at 3:49 PM, Angrez Singh ang...@gmail.com wrote:

 Firewatir doesn't support click_no_wait(). Also please message to entire
 list so that all people can get benefited from the answer.

 Thanks,
 Angrez


 On Wed, Sep 16, 2009 at 3:45 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 Does Firewatir support click_no_wait() function ?

 Thx

 Thanks  regards
 Ravinder Singroha
 +91-9717196269



 On Wed, Sep 16, 2009 at 3:23 PM, Angrez Singh ang...@gmail.comwrote:

 For the benefit of other people I am sending this mail to entire
 mailing list. Unit tests are there in the installation directory ..
 [ruby installation
 directory]/lib/ruby/gems/1.8/gems/firewatir-1.6.2/unittests

 - Angrez

 On Wed, Sep 16, 2009 at 3:20 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 Where i can find  unit tests case for Firewatir for handling the pop
 ups? can you give me the links for the same.
 and
 I am using click_no_wait() function.
 But its not working ?
 Does FireWatir Support click_no_wait() function

 Thx





 On Sep 14, 12:09 pm, Angrez Singh ang...@gmail.com wrote:
  Did you had a look at the unit tests case for Firewatir for
 handling the pop
  ups? Is there a specific problem that you are facing? The
 information you
  provided is not sufficient enough for anyone to help you.
 
  - Angrez
 
  On Mon, Sep 14, 2009 at 10:37 AM, Rajat Singhal 
 coolraja...@gmail.comwrote:
 
 
 
   Hi All
   Kindly do let me know,How we can handle pop ups in FireWatir
 
   Thanks










 


--~--~-~--~~~---~--~~
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 :PopUp Handling

2009-09-16 Thread Ravinder Singroha
Hi Angrez

Thanks for this, but my question is as follows:

1. Scenario: on clicking a button , popup appears which you have to handle.

watir: works with click_no_wait and autoit popup handle

co'z click will hang the action until pop is closed.


In Fire Watir, how can this scenario be handled.

Your answers tells me the second part how to handle the popup, how do i make
it appear without hangin the app with FW is what i am asking.

Or in the scenario how will you handle using Fire Watir.


Please help.



Thanks  regards
Ravinder Singroha



On Wed, Sep 16, 2009 at 4:27 PM, Angrez Singh ang...@gmail.com wrote:

 Please look at the unit tests. Following are the lines from unit test:

 browser.startClicker(ok)
 browser.button(:id, btnAlert).click

 First tell the browser which button you want to click ok or cancel and
 then click the button.



 On Wed, Sep 16, 2009 at 4:14 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 I can handle pop with help of autoit
 but problem is that if i use click() function then its not releasing.
 so that i can not move the next step.

 My scenario is button click then popup came after button click.
 Now i can handle this in Firewatir

 Please help me out i am kind of stuck in this

 Thanks  regards
 Ravinder Singroha



 On Wed, Sep 16, 2009 at 4:01 PM, Angrez Singh ang...@gmail.com wrote:

 did you looked at the unit test cases I think that would be self
 explanatory. Have a look if you still have questions then you can ask here
 on the list.


 On Wed, Sep 16, 2009 at 3:54 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 sorry for that

 Without click_no_wait() function how can we hadle the popups ?

 Thx



 Thanks  regards
 Ravinder Singroha
 +91-9717196269


 On Wed, Sep 16, 2009 at 3:49 PM, Angrez Singh ang...@gmail.com wrote:

 Firewatir doesn't support click_no_wait(). Also please message to
 entire list so that all people can get benefited from the answer.

 Thanks,
 Angrez


 On Wed, Sep 16, 2009 at 3:45 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 Does Firewatir support click_no_wait() function ?

 Thx

 Thanks  regards
 Ravinder Singroha
 +91-9717196269



 On Wed, Sep 16, 2009 at 3:23 PM, Angrez Singh ang...@gmail.comwrote:

 For the benefit of other people I am sending this mail to entire
 mailing list. Unit tests are there in the installation directory ..
 [ruby installation
 directory]/lib/ruby/gems/1.8/gems/firewatir-1.6.2/unittests

 - Angrez

 On Wed, Sep 16, 2009 at 3:20 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 Where i can find  unit tests case for Firewatir for handling the pop
 ups? can you give me the links for the same.
 and
 I am using click_no_wait() function.
 But its not working ?
 Does FireWatir Support click_no_wait() function

 Thx





 On Sep 14, 12:09 pm, Angrez Singh ang...@gmail.com wrote:
  Did you had a look at the unit tests case for Firewatir for
 handling the pop
  ups? Is there a specific problem that you are facing? The
 information you
  provided is not sufficient enough for anyone to help you.
 
  - Angrez
 
  On Mon, Sep 14, 2009 at 10:37 AM, Rajat Singhal 
 coolraja...@gmail.comwrote:
 
 
 
   Hi All
   Kindly do let me know,How we can handle pop ups in FireWatir
 
   Thanks













 


--~--~-~--~~~---~--~~
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 :PopUp Handling

2009-09-16 Thread Angrez Singh
See the code again. You tell which button to click ok or cancel if pop
up comes.
Then you click on the button which generates the pop up. Firewatir will
automatically clicks on ok or cance button.

Hope this helps.

- Angrez

On Wed, Sep 16, 2009 at 4:42 PM, Ravinder Singroha 
ravindersingr...@gmail.com wrote:


 Hi Angrez

 Thanks for this, but my question is as follows:

 1. Scenario: on clicking a button , popup appears which you have to handle.

 watir: works with click_no_wait and autoit popup handle

 co'z click will hang the action until pop is closed.


 In Fire Watir, how can this scenario be handled.

 Your answers tells me the second part how to handle the popup, how do i
 make it appear without hangin the app with FW is what i am asking.

 Or in the scenario how will you handle using Fire Watir.


 Please help.



 Thanks  regards
 Ravinder Singroha



 On Wed, Sep 16, 2009 at 4:27 PM, Angrez Singh ang...@gmail.com wrote:

 Please look at the unit tests. Following are the lines from unit test:

 browser.startClicker(ok)
 browser.button(:id, btnAlert).click

 First tell the browser which button you want to click ok or cancel and
 then click the button.



 On Wed, Sep 16, 2009 at 4:14 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 I can handle pop with help of autoit
 but problem is that if i use click() function then its not releasing.
 so that i can not move the next step.

 My scenario is button click then popup came after button click.
 Now i can handle this in Firewatir

 Please help me out i am kind of stuck in this

 Thanks  regards
 Ravinder Singroha



 On Wed, Sep 16, 2009 at 4:01 PM, Angrez Singh ang...@gmail.com wrote:

 did you looked at the unit test cases I think that would be self
 explanatory. Have a look if you still have questions then you can ask here
 on the list.


 On Wed, Sep 16, 2009 at 3:54 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 sorry for that

 Without click_no_wait() function how can we hadle the popups ?

 Thx



 Thanks  regards
 Ravinder Singroha
 +91-9717196269


 On Wed, Sep 16, 2009 at 3:49 PM, Angrez Singh ang...@gmail.comwrote:

 Firewatir doesn't support click_no_wait(). Also please message to
 entire list so that all people can get benefited from the answer.

 Thanks,
 Angrez


 On Wed, Sep 16, 2009 at 3:45 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 Does Firewatir support click_no_wait() function ?

 Thx

 Thanks  regards
 Ravinder Singroha
 +91-9717196269



 On Wed, Sep 16, 2009 at 3:23 PM, Angrez Singh ang...@gmail.comwrote:

 For the benefit of other people I am sending this mail to entire
 mailing list. Unit tests are there in the installation directory ..
 [ruby installation
 directory]/lib/ruby/gems/1.8/gems/firewatir-1.6.2/unittests

 - Angrez

 On Wed, Sep 16, 2009 at 3:20 PM, Ravinder Singroha 
 ravindersingr...@gmail.com wrote:

 Hi Angrez

 Where i can find  unit tests case for Firewatir for handling the
 pop
 ups? can you give me the links for the same.
 and
 I am using click_no_wait() function.
 But its not working ?
 Does FireWatir Support click_no_wait() function

 Thx





 On Sep 14, 12:09 pm, Angrez Singh ang...@gmail.com wrote:
  Did you had a look at the unit tests case for Firewatir for
 handling the pop
  ups? Is there a specific problem that you are facing? The
 information you
  provided is not sufficient enough for anyone to help you.
 
  - Angrez
 
  On Mon, Sep 14, 2009 at 10:37 AM, Rajat Singhal 
 coolraja...@gmail.comwrote:
 
 
 
   Hi All
   Kindly do let me know,How we can handle pop ups in FireWatir
 
   Thanks
















 


--~--~-~--~~~---~--~~
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: Not able to run CMS installer if object is already attached to its url

2009-09-16 Thread Anna Gabutero

On Wed, Sep 16, 2009 at 03:34:05AM -0700, Arpita Jain wrote:
 
 Hi all,
 
 I created a watir object and attached it to my CMS's url.  Then I run
 the CMS installer, it worked fine in the starting but while refreshing
 environment it hanged.
 To make installer moving ahead I have to stop the process
 FYI: Installer is created using InstallAnywhere.
 
 Did someone faced the same problem?
 
 Thank in advance

Hi Arpita,

This is not enough information to understand your problem.  Please, show
your source code and give more details of the CMS and installer you're
using.

Reading this page might also help:
http://wiki.openqa.org/display/WTR/Support


- Anna


--~--~-~--~~~---~--~~
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: Handling Java Script button

2009-09-16 Thread dk

Thanks a lot Zeljko ! worked just fine. Wonder why i didnt think of
trying link :)

One more question though:

After the click, since it is not a page refresh - but an ajax call, i
am waiting for some text to show up on page. How do i instruct Watir
to wait for it before executing the next step?
--~--~-~--~~~---~--~~
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: Handling Java Script button

2009-09-16 Thread karim rayani

Place a while loop (i would suggest not infinite) and then use
$browser.text.include? 'llama'  and code the sleep interval in the
loop along with it as well.

From

Karim Rayani

On Wed, Sep 16, 2009 at 8:18 AM, dk dkora...@gmail.com wrote:

 Thanks a lot Zeljko ! worked just fine. Wonder why i didnt think of
 trying link :)

 One more question though:

 After the click, since it is not a page refresh - but an ajax call, i
 am waiting for some text to show up on page. How do i instruct Watir
 to wait for it before executing the next step?
 




-- 
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] Re: Handling Java Script button

2009-09-16 Thread Željko Filipin
On Wed, Sep 16, 2009 at 5:18 PM, dk dkora...@gmail.com wrote:
 How do i instruct Watir
 to wait for it before executing the next step?

Everything you ever wanted to know, and even more. :)

http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir

Ž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'm looking for a way to count all PageTo(*) elements or to loop until the bullet_search_white_small.gif doesn't exist in the page

2009-09-16 Thread Guy

to all watir wiz,

Would love to get support:

 puts ie.div(:id, resultsList).text could be used to get a long
(correct) list all the right divs. I would like to get the the values
(Test Analyst Load Runner', 'Fri 11 Sep', 'Excellent 12 Month fixed
Term role for a Test Analyst with strong Load Runner Experience - One
of the largest testing teams in Brisbane is expanding' and  'Hudson')
as separated using:

puts ie.span(:class, jobSearchJobListedDate).text
puts ie.span(:class, highlight).text
puts ie.element_by_xpath(//em).innerText

and write them into csv file.

I can I create a divs collection and run the above on each div?

I also tried the next:
ie.elements_by_xpath(//d...@id='resultsList']).each  do |elem|

Is there a way to run elem.span(:class, highlight).text or am I
wrong?

Cheers,
Guy
 but I would like to get
On Sep 14, 11:29 pm, Guy guy.kid...@gmail.com wrote:
 Hello All,

 Thanks for the help so far. I still face a problem to retrieve the
 next info ('Test Analyst Load Runner', 'Fri 11 Sep', 'Excellent 12
 Month fixed Term role for a Test Analyst with strong Load Runner
 Experience - One of the largest testing teams in Brisbane is
 expanding' and  'Hudson') from the next html:

 I would like to create a list of all jobs from a given page (there are
 ~20 links per page) so this is just example values.

         div id=resultsList class=ol id=searchResultsListlispan
 class=jobsearchNumber1input type=checkbox name=chkJob
 onClick=UpdateSelectedItems(); value=15998998/input/
 spandivh2a href=/job/b-test-b-b-analyst-b-load-runner/brisbane/
 15998998/span class=highlightTest Analyst/span Load Runner/
 a
                             emHudson/em/h2span
 class=jobSearchJobListedDateFri 11 Sep/spandivpExcellent 12
 Month fixed Term role for a Test Analyst with strong Load Runner
 Experience - One of the largest testing teams in Brisbane is
 expanding./pspan class=taxonomya href=javascript:ClassTree
 ('catindustry=1215')I.T. amp; T/a gt; a
 href=javascript:ClassTree
 ('catoccupation=1491amp;catindustry=1215')QA/Testers/a/span/
 divh3Brisbane/h3h3/h3/div/lilispan
 class=jobsearchNumber2input type=checkbox name=chkJob
 onClick=UpdateSelectedItems(); value=15995612/input/
 spandivh2a href=/job/b-test-b-b-analyst-b/brisbane/
 15995612/span class=highlightTest Analyst/span/a
                             emBeyond Recruitment Pty Ltd/em/
 h2span class=jobSearchJobListedDateFri 11 Sep/spandivpTest
 Analyst contract opportunity at a leading company based in Brisbane
 CBD/pspan class=taxonomya href=javascript:ClassTree
 ('catindustry=1215')I.T. amp; T/a gt; a
 href=javascript:ClassTree
 ('catoccupation=1491amp;catindustry=1215')QA/Testers/a/span/
 divh3Brisbane/h3h3/h3/div/lilispan
 class=jobsearchNumber3input type=checkbox name=chkJob
 onClick=UpdateSelectedItems(); value=15956235/input/
 spandivh2a href=/job/peoplesoft-b-test-b-b-analyst-b/brisbane/
 15956235/PEOPLESOFT span class=highlightTEST ANALYST/span/a
                             emIntegrated Business Technologies Pty
 Ltd/em/h2span class=jobSearchJobListedDateFri 04 Sep/
 spandivpImmediate requirement for an experienced PeopleSoft test
 analyst across HR/Payroll/pspan class=taxonomya
 href=javascript:ClassTree('catindustry=1215')I.T. amp; T/a gt;
 a href=javascript:ClassTree
 ('catoccupation=1491amp;catindustry=1215')QA/Testers/a/span/
 divh3Brisbane/h3h3/h3/div/lilispan

 Cheers,

 Guy

 On Sep 11, 6:14 pm, Wesley Chen cjq@gmail.com wrote:



  For the comment below:
  $ie.element_by_xpath(//img[contains(@src, 'report_delete.png')]).click
  It can locate an image element, which has src attributes, for the
  report_delete.png is just part of the src.

  I think it can help you.

  Thanks.
  Wesley Chen.

  On Fri, Sep 11, 2009 at 6:03 PM, Guy guy.kid...@gmail.com wrote:

   Hello Orde,

   It sure works but I should have ask my question better.

   The peoplesoft-b-test-b-b- analyst-b/brisbane can't be hard coded
   into the xpath as it changes.

   is there a way to use regexpr in the xpath? I think that /job/ is
   always returns.

   Cheers,

   Guy

   On Sep 11, 9:26 am, orde ohil...@gmail.com wrote:
You should take a look athttp://wiki.openqa.org/display/WTR/XPath.

Something like this should work:

puts browser.link(:xpath,//a...@href='/job/peoplesoft-b-test-b-b-
analyst-b/brisbane/15956235/']/).text

Hope it helps.

On Sep 10, 8:32 am, Guy guy.kid...@gmail.com wrote:

 Hi Orde,

 It is very helpful and I already put that in my script.
 I would appreciate help with the next (xpath)

 I try to get the PEOPLESOFT TEST ANALYST and the date 'Fri 04 Sep'
 using xpath without getting the right value. Any ideas would be
 welcome.

 div id=resultsList class=ol id=searchResultsListlispan
 class=jobsearchNumber1input type=checkbox name=chkJob
 onClick=UpdateSelectedItems(); value=15956235/input/
 spandivh2a href=/job/peoplesoft-b-test-b-b-analyst-b/brisbane/
 15956235/PEOPLESOFT span 

[wtr-general] Re: Handling Java Script button

2009-09-16 Thread dk

Thanks a lot Karim and Zeljko !! I got my answers.

I guess im being lazy to not find answers and ask them here for a
direct solution.

Next time on, i'll try to be less lazy and a lil more mature member of
the group by doing a lil bit of reading and research before asking :)

Thanks guys !
--~--~-~--~~~---~--~~
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: Handling Java Script button

2009-09-16 Thread Željko Filipin
On Wed, Sep 16, 2009 at 6:19 PM, dk dkora...@gmail.com wrote:
 Next time on, i'll try to be less lazy and a lil more mature member of
 the group by doing a lil bit of reading and research before asking :)

I am sure you did your best. :)

The next time you will know where to look.

Ž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'm looking for a way to count all PageTo(*) elements or to loop until the bullet_search_white_small.gif doesn't exist in the page

2009-09-16 Thread Anna Gabutero

On Wed, Sep 16, 2009 at 09:04:31AM -0700, Guy wrote:
 
 to all watir wiz,
 
 Would love to get support:
 
  puts ie.div(:id, resultsList).text could be used to get a long
 (correct) list all the right divs. I would like to get the the values
 (Test Analyst Load Runner', 'Fri 11 Sep', 'Excellent 12 Month fixed
 Term role for a Test Analyst with strong Load Runner Experience - One
 of the largest testing teams in Brisbane is expanding' and  'Hudson')
 as separated using:
 
 puts ie.span(:class, jobSearchJobListedDate).text
 puts ie.span(:class, highlight).text
 puts ie.element_by_xpath(//em).innerText
 
 and write them into csv file.
 
 I can I create a divs collection and run the above on each div?
 
 I also tried the next:
 ie.elements_by_xpath(//d...@id='resultsList']).each  do |elem|
 
 Is there a way to run elem.span(:class, highlight).text or am I
 wrong?
 
 Cheers,
 Guy

XPath is overkill.  Your sample HTML has an ordered list of results, so
why not iterate through it?

  ie.div(:id, 'resultsList').lis.each do |element|
puts element.span(:class, 'highlight').text
  end

Note how these selectors can be chained.  ie.div(:id, 'resultsList').lis
will return only li elements inside the named div, then
element.span(:class, 'highlight') will return the matching span within
one particular li.  For more details, refer to Watir API
documentation (http://wtr.rubyforge.org/rdoc/).

I'll let you fill in the rest.


HTH,
Anna

  but I would like to get
 On Sep 14, 11:29 pm, Guy guy.kid...@gmail.com wrote:
  Hello All,
 
  Thanks for the help so far. I still face a problem to retrieve the
  next info ('Test Analyst Load Runner', 'Fri 11 Sep', 'Excellent 12
  Month fixed Term role for a Test Analyst with strong Load Runner
  Experience - One of the largest testing teams in Brisbane is
  expanding' and  'Hudson') from the next html:
 
  I would like to create a list of all jobs from a given page (there are
  ~20 links per page) so this is just example values.
 
          div id=resultsList class=ol id=searchResultsListlispan
  class=jobsearchNumber1input type=checkbox name=chkJob
  onClick=UpdateSelectedItems(); value=15998998/input/
  spandivh2a href=/job/b-test-b-b-analyst-b-load-runner/brisbane/
  15998998/span class=highlightTest Analyst/span Load Runner/
  a
                              emHudson/em/h2span
  class=jobSearchJobListedDateFri 11 Sep/spandivpExcellent 12
  Month fixed Term role for a Test Analyst with strong Load Runner
  Experience - One of the largest testing teams in Brisbane is
  expanding./pspan class=taxonomya href=javascript:ClassTree
  ('catindustry=1215')I.T. amp; T/a gt; a
  href=javascript:ClassTree
  ('catoccupation=1491amp;catindustry=1215')QA/Testers/a/span/
  divh3Brisbane/h3h3/h3/div/lilispan
  class=jobsearchNumber2input type=checkbox name=chkJob
  onClick=UpdateSelectedItems(); value=15995612/input/
  spandivh2a href=/job/b-test-b-b-analyst-b/brisbane/
  15995612/span class=highlightTest Analyst/span/a
                              emBeyond Recruitment Pty Ltd/em/
  h2span class=jobSearchJobListedDateFri 11 Sep/spandivpTest
  Analyst contract opportunity at a leading company based in Brisbane
  CBD/pspan class=taxonomya href=javascript:ClassTree
  ('catindustry=1215')I.T. amp; T/a gt; a
  href=javascript:ClassTree
  ('catoccupation=1491amp;catindustry=1215')QA/Testers/a/span/
  divh3Brisbane/h3h3/h3/div/lilispan
  class=jobsearchNumber3input type=checkbox name=chkJob
  onClick=UpdateSelectedItems(); value=15956235/input/
  spandivh2a href=/job/peoplesoft-b-test-b-b-analyst-b/brisbane/
  15956235/PEOPLESOFT span class=highlightTEST ANALYST/span/a
                              emIntegrated Business Technologies Pty
  Ltd/em/h2span class=jobSearchJobListedDateFri 04 Sep/
  spandivpImmediate requirement for an experienced PeopleSoft test
  analyst across HR/Payroll/pspan class=taxonomya
  href=javascript:ClassTree('catindustry=1215')I.T. amp; T/a gt;
  a href=javascript:ClassTree
  ('catoccupation=1491amp;catindustry=1215')QA/Testers/a/span/
  divh3Brisbane/h3h3/h3/div/lilispan
 
  Cheers,
 
  Guy
 
  On Sep 11, 6:14 pm, Wesley Chen cjq@gmail.com wrote:
 
 
 
   For the comment below:
   $ie.element_by_xpath(//img[contains(@src, 'report_delete.png')]).click
   It can locate an image element, which has src attributes, for the
   report_delete.png is just part of the src.
 
   I think it can help you.
 
   Thanks.
   Wesley Chen.
 
   On Fri, Sep 11, 2009 at 6:03 PM, Guy guy.kid...@gmail.com wrote:
 
Hello Orde,
 
It sure works but I should have ask my question better.
 
The peoplesoft-b-test-b-b- analyst-b/brisbane can't be hard coded
into the xpath as it changes.
 
is there a way to use regexpr in the xpath? I think that /job/ is
always returns.
 
Cheers,
 
Guy
 
On Sep 11, 9:26 am, orde ohil...@gmail.com wrote:
 You should take a look athttp://wiki.openqa.org/display/WTR/XPath.
 
 Something like this should work:
 
 puts 

[wtr-general] Re: Watir on Ruby 1.9.1

2009-09-16 Thread karimnumerouno

I did a similar thing with firewatir

for the user-choices gem, there lies a user-choices folder where in we
need to change the syntax within some of the files for every word
where there is a When with a colon e.g (When :) we need replace the
color with the word “then”

in ubuntu this is to be done for 3 files in the user-choices folder
’sources.rb”, ‘conversions.rb’,'arglist-stragergies.rb’

and it works like a charm.

feels great again to be able to use this great tool at better
preformance

On Aug 10, 8:16 am, Michael Hwee michael_h...@yahoo.com wrote:
 This is so great, Jari.
 Thanks for working on this.

 - Original Message 
 From: Jari Bakken jari.bak...@gmail.com
 To: watir-general@googlegroups.com
 Sent: Sunday, August 9, 2009 3:49:59 AM
 Subject: [wtr-general] Re: Watir on Ruby 1.9.1

 On Fri, Aug 7, 2009 at 2:18 AM, Jari Bakkenjari.bak...@gmail.com wrote:
  At the moment you need my ruby191 branch from GitHub:
 http://github.com/jarib/watir/tree/ruby191
  I'll make sure it get merged to master before the next release of Watir - if
  no one has any objections.

 I've pushed the 1.9 fixes to Bret's master on GitHub and all tests are
 passing for FireWatir and Watir on both 1.8.6 and 1.9.1.
--~--~-~--~~~---~--~~
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: Watir on Ruby 1.9.1

2009-09-16 Thread karimnumerouno

I did a similar thing with firewatir

for the user-choices gem, there lies a user-choices folder where in we
need to change the syntax within some of the files for every word
where there is a When with a colon e.g (When :) we need replace the
color with the word “ When then”

in ubuntu this is to be done for 3 files in the user-choices folder
’sources.rb”, ‘conversions.rb’,'arglist-stragergies.rb’

and it works like a charm.

feels great again to be able to use this great tool at better
preformance


 On Aug 10, 8:16 am, Michael Hwee michael_h...@yahoo.com wrote:

  This is so great, Jari.
  Thanks for working on this.

  - Original Message 
  From: Jari Bakken jari.bak...@gmail.com
  To: watir-general@googlegroups.com
  Sent: Sunday, August 9, 2009 3:49:59 AM
  Subject: [wtr-general] Re: Watir on Ruby 1.9.1

  On Fri, Aug 7, 2009 at 2:18 AM, Jari Bakkenjari.bak...@gmail.com wrote:
   At the moment you need my ruby191 branch from GitHub:
  http://github.com/jarib/watir/tree/ruby191
   I'll make sure it get merged to master before the next release of Watir - 
   if
   no one has any objections.

  I've pushed the 1.9 fixes to Bret's master on GitHub and all tests are
  passing for FireWatir and Watir on both 1.8.6 and 1.9.1.
--~--~-~--~~~---~--~~
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] span class and text

2009-09-16 Thread Peace

Hi,

My code is as below.

label id=F328_label class=LabelStyle hoverHelpLinkText
onmouseout=HideHover() onmouseover=ShowHover(this, 'F328.hover')
style= title=Summary description of the item for=F328
name=F328_label
span class=reqemptyTitle:/span

label id=F330_label class=LabelStyle style= title= for=F330
name=F330_label
span class=reqemptyMy Date Time:/span
/label

In this case, I have two required fields, and I need to verify these
two fields are required by using reqempty span class, to distinguish
between required fields and non-required fields.

How do I use watir to identify one of the two fields using the same
span class=reqempty?  Another word, how do I tide the reqempty
span class to the field name?

Could you please help.  Thanks.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---