[wtr-general] Re: Firefox 3.5 compatible with FireWatir?

2009-07-07 Thread khaja shaik
Hi everyone, today i am running the my watir tests on Firefox browser and i got below mentioned error: ruby news1.rb c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/container.rb:479:in `recv': An existing connection was forcibly closed by the remote host. - recvfrom(2)

[wtr-general] Re: Documentation about the select_list is wrong?

2009-07-07 Thread khaja shaik
Hi all, i have installed jss and ran the watir script again. but i got this error ruby news1.rb c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefox.rb:271:in `set_defaults': Unable to connect to machine : 127.0.0.1 on port 9997. Make sure that JSSh is properly installed and

[wtr-general] @browser.close is not working in Firewatir

2009-07-07 Thread Chethan
Hi Every one, I am having trouble in closing browser(firefox) using @browser.close method. its working fine with IE. Can any one suggest me for how close the browser in Firewatir. Thanks, Chethan --~--~-~--~~~---~--~~ You received this message because you are

[wtr-general] Re: Firefox 3.5 compatible with FireWatir?

2009-07-07 Thread Angrez Singh
We are working on it. On Tue, Jul 7, 2009 at 12:30 PM, khaja shaik khaja.sh...@gmail.com wrote: Hi everyone, today i am running the my watir tests on Firefox browser and i got below mentioned error: ruby news1.rb

[wtr-general] Re: How to handle popups in fireWatir

2009-07-07 Thread rinku
Hi Angrej, Can you please help me in clicking the Alert in firewatir..?? Regards Rinku Garg On Jun 22, 12:14 pm, Angrez Singh ang...@gmail.com wrote: Can you look at the unit test cases for Firewatir on how to handle alert and confirm javascript pop ups? - Angrez On Sun, Jun 21, 2009 at

[wtr-general] Re: How to handle popup alerts in fireox

2009-07-07 Thread rinku
Hi Angrej, from where I can see the unit tests. Regards Rinku Garg On Jun 25, 8:31 pm, Angrez Singh ang...@gmail.com wrote: can you see the unit tests on how to deal with pop up alerts in Firewatir? On Sun, Jun 21, 2009 at 6:16 PM, Sruthi Sinha sruthifor...@gmail.comwrote: Hello

[wtr-general] Re: How to handle popups in fireWatir

2009-07-07 Thread Angrez Singh
Did you looked at the unit tests? Is there anything particular that you are unclear off? On Tue, Jul 7, 2009 at 3:27 PM, rinku rinkugar...@gmail.com wrote: Hi Angrej, Can you please help me in clicking the Alert in firewatir..?? Regards Rinku Garg On Jun 22, 12:14 pm, Angrez Singh

[wtr-general] Re: @browser.close is not working in Firewatir

2009-07-07 Thread Angrez Singh
can you post some code over here or explain in detail what is happening when you say @browser.close some exception, errors etc would be helpful to debug this? - Angrez On Tue, Jul 7, 2009 at 1:34 PM, Chethan chethan2...@gmail.com wrote: Hi Every one, I am having trouble in closing

[wtr-general] Re: How to handle popup alerts in fireox

2009-07-07 Thread rinku
Hi Angrej, Thanks a lot for your prompt reply. I had tried with following code browser.startClicker(ok, 1, '', This is the text in the popup) browser.button(:name,submit).click But this code is now working in firefox... Please suggest. Regards Rinku On Jul 7, 3:49 pm, Angrez

[wtr-general] Re: How to handle popup alerts in fireox

2009-07-07 Thread Rinku Garg
I mean this code is not working in firefox... Regards Rinku Garg On Jul 7, 4:22 pm, rinku rinkugar...@gmail.com wrote: Hi Angrej, Thanks a lot for your prompt reply. I had tried with following code        browser.startClicker(ok, 1, '', This is the text in the popup)        

[wtr-general] Re: getting error while running watir script on firefox 3.0.11

2009-07-07 Thread Angrez Singh
can you let us know from where you have downloaded the XPI and which Firefox version are you using? On Tue, Jul 7, 2009 at 11:45 AM, aparna aparna.m...@gmail.com wrote: Hi Angrez, I have installed JSSH XPI with admin privileges but still am facing the same problem. Aparna On Jul 1,

[wtr-general] Re: getting error while running watir script on firefox 3.0.11

2009-07-07 Thread aparna
Hi, I have downloaded the JSSH XPI from the following url - http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirInstallation-InstalltheJSSHFirefoxExtension The firefox version which am using is 3.0.11 and the OS is Windows Vista Regards, Aparna On Jul 7, 5:32 pm, Angrez Singh

[wtr-general] Re: getting error while running watir script on firefox 3.0.11

2009-07-07 Thread Angrez Singh
AFAIK, firewatir starts firefox with -jssh option automatically. Just check if jssh addon is enabled in Firefox using the menu as suggested by Anu? - Angrez On Tue, Jul 7, 2009 at 7:06 PM, Anu Gangavaram anuwri...@gmail.com wrote: Did you start the Firefox with jssh option? You can also check

[wtr-general] Re: Fwd: Exceute Java Script

2009-07-07 Thread Ray
The way that i exceute Java script is: browser.document.parentWindow.execScript(scriptToBeExceuted) This seems to work in internet explorer only, fire fox says browser does not have a property documnet. Hope this Helps Ray On Jul 6, 10:33 pm, Pallavi Sharma write2pall...@gmail.com wrote:

[wtr-general] Re: include? text with special characters

2009-07-07 Thread George
Hi Peace, I ran into the problem of including line breaks when checking text, and found that this worked for me: if ie.div(:id, Info).text.include? (First line.\r\nSecond line. etc) blah, blah blah end For the parens, you might want to try this: if ie.div(:id, Info).text.include? (First

[wtr-general] Wait for frame to load

2009-07-07 Thread Ray
Is there anyway to tell watir to wait for a frame to load? My situation is that i am filling out a form and when the form is submitted i need to wait for the frame on another page to load before continuing the script. Right now i am using sleeps but it would be very helpful to wait on the frame

[wtr-general] Re: Unsupported type 0 when trying to write a REG_NONE subkey to the registry

2009-07-07 Thread dt_nz
Thanks Chuck. Just for the record in case anyone has this issue, I found that I was able to use REG_DWORD in place of REG_NONE, and it had the same affect as REG_NONE. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[wtr-general] Re: Wait for frame to load

2009-07-07 Thread takanobu watanabe
I did not try to wait frame loading. But Is that bad?,wait some keys for recognize frame loaded. Usually I made modules for waiting Ajax render when testing. otherwise watir return no object,wait forever,etc Hope it help. tknv/ On Wed, Jul 8, 2009 at 1:14 AM, Rayrayjh...@gmail.com wrote:

[wtr-general] Re: include? text with special characters

2009-07-07 Thread takanobu watanabe
Did you try to mention WIN32OLE.codepage value ? tknv/ On Wed, Jul 8, 2009 at 1:06 AM, Georgegeorge.sand...@gmail.com wrote: Hi Peace, I ran into the problem of including line breaks when checking text, and found that this worked for me: if ie.div(:id, Info).text.include? (First

[wtr-general] Re: Wait for frame to load

2009-07-07 Thread Brautigam Gergely
Hi Ray! Try the wait_until function. It's in the Waitr::Waiter class. --- On Tue, 7/7/09, Ray rayjh...@gmail.com wrote: From: Ray rayjh...@gmail.com Subject: [wtr-general] Wait for frame to load To: Watir General watir-general@googlegroups.com Date: Tuesday, July 7, 2009, 6:14 PM Is there

[wtr-general] Re: Dealing with font, table and triggering Javascript

2009-07-07 Thread Dylan
Well, I finally figured out how to add font to Watir, as you suggested, and that seems to work great. Thank you so much! -Dylan On Jul 3, 12:42 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Jul 3, 2009 at 12:54 AM, Dylan mej...@gmail.com wrote: font class=link title=Click

[wtr-general] Re: Fwd: Exceute Java Script

2009-07-07 Thread takanobu watanabe
I did not read your code well. But, Browser location form can exec javascript. So I think can exec as like a ie.link(:url, your-javascript).click. I think Ray ways also possible. and if exec that way. ie.execute_script your-javascript ie.link(:url,ie.window.Result).click

[wtr-general] Re: Wait for frame to load

2009-07-07 Thread Wesley Chen
It will be good if you add: sleep(3) in your script. Thanks. Wesley Chen. On Wed, Jul 8, 2009 at 4:10 AM, Brautigam Gergely skarlso...@yahoo.comwrote: Hi Ray! Try the wait_until function. It's in the Waitr::Waiter class. --- On *Tue, 7/7/09, Ray rayjh...@gmail.com* wrote: From: Ray

[wtr-general] Re: How to handle popups in fireWatir

2009-07-07 Thread Rinku Garg
Hi Angrej, I had tried with following code: browser.startClicker(ok, 1, '', This is the text in the popup) browser.button(:name,submit).click But this code is not working in firefox... Please suggest. Waiting for your reply... Regards Rinku Garg On Jul 7, 3:48 pm, Angrez Singh

[wtr-general] Do you know how to make text box writable on the go.

2009-07-07 Thread ashokmpm password
    Hi, Any body know how to make textbox writable. Actually, i have a text box which is read only.  However i need to insert values into it. I got somewhere like, we can do textbox writable on the fly -- the code is --