[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

[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

[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 ?

[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

[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

[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

[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

[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

[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.

[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

[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

[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?

[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

[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

[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

[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 !

[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

[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

[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

[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

[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=