[wtr-general] Re: getting error while running watir script on firefox 3.0.11
Just to make sure, when you try running the scripts you get the error that you mentioned in your mail. After that does firefox opens up or nothing happens. Also, can you try running the Firefox executable with -jssh option from run command as suggested by Kiran and let us know the results - Angrez On Wed, Jul 8, 2009 at 11:24 AM, kiran gki...@gmail.com wrote: Hi, Open 'firefox -jssh' from Run command and start running your scripts. Thanks, kiran. On Jul 8, 10:08 am, aparna aparna.m...@gmail.com wrote: Hi, JSSH addon is enabled in firefox. I have checked and then only tried to run the scripts. Regards, Aparna On Jul 7, 8:19 pm, Angrez Singh ang...@gmail.com wrote: 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 if the jssh add-on is in the firefox - Open Firefox - Goto Tools - Addons and check in jssh addon is in. I am using the same versions as you are and it works fine on my machine. Rgds, Anu On Tue, Jul 7, 2009 at 8:52 AM, aparna aparna.m...@gmail.com wrote: Hi, I have downloaded the JSSH XPI from the following url - http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirIn... 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 ang...@gmail.com wrote: 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, 4:03 pm, Angrez Singh ang...@gmail.com wrote: did you installed JSSh XPI with administrator privileges? There are lot of people who came across this problem with JSSh but was solved once installed with admin privileges. - Angrez On Tue, Jun 30, 2009 at 11:33 AM, aparna aparna.m...@gmail.com wrote: Hi, I am facing an error when i tried to run watir script on firefox 3.0.11. Actually the ruby which i have installed is ruby 1.8.6 26 and watir is 1.6.2. Also I have installed firewatir and JSSH (0.9) extension. I have changed the settings on firefox like allowing the popups and firefox opens a new window instead of new tab when a link is clicked. The platform which i am using is windows vista and my system is a 32 bit machine. The following is my error - ruby firefox.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 Firefox is running with '-jssh' option (Watir::Exception::UnableToStartJSShException) from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ firefox.rb:161:in `initialize' from c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/ browser.rb:65:in `new' from c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/ browser.rb:65:in `new' from firefox.rb:5 Exit code: 1 I have uninstalled the whole ruby, reinstalled and then tried running the watir script. But still am facing the same issue. Please anyone do help me in solving this error. Thanks Regards, Aparna.- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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: How to handle popups in fireWatir
Can you post the HTML code as well? On Wed, Jul 8, 2009 at 10:22 AM, Rinku Garg rinkugar...@gmail.com wrote: 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 ang...@gmail.com wrote: 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 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 6:01 PM, Sruthi Sinha sruthifor...@gmail.com wrote: hello friends, I am new to this group. I want to know how to automate alers diplay in mozilla firefox.Please help me.Please give me the code for it. Thanks Reards Sruthi.- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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: Dealing with font, table and triggering Javascript
On Tue, Jul 7, 2009 at 7:52 PM, Dylan mej...@gmail.com wrote: I've even copied the exact html and ruby code given in the What to do for elements not having class in Watir? section, and I still get nil returned. I think you have to have newer version of rexml (3.1.6) than the one shipped with some versions of ruby. http://zeljkofilipin.com/2007/10/18/how-do-i-get-rexml-version-number/ Ž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: Wait for frame to load
On Tue, Jul 7, 2009 at 6:14 PM, Ray rayjh...@gmail.com wrote: Is there anyway to tell watir to wait for a frame to load? Did you read this? http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir Ž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] Watir as Web Crawler
Hi All Is any body use Watir as Web Crawler ever ? Waiting for some positive response :) Thx Ravinder Singroha --~--~-~--~~~---~--~~ 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: How to handle popups in fireWatir
The code is working fine. Actually in Firewatir if you are dealing with Alert/Confirm dialogs they will not show up (it is by design to make in platform independent) but the action on buttons will be performed correctly. So if on OK click you change the text of the text box you'll see the change. Thanks, Angrez On Wed, Jul 8, 2009 at 2:41 PM, Rinku Garg rinkugar...@gmail.com wrote: Hi Angrej, Below is my code for Firefox. @ff = FireWatir::Firefox.new @ff.goto('http://justaddwatir.com/watir/test_html/tc_0101_0200/ test_0107.htmlhttp://justaddwatir.com/watir/test_html/tc_0101_0200/%0Atest_0107.html ') @ff.text_field(:name,text1).set(This is the text in the popup) @ff.startClicker(ok, 1, '', This is the text in the popup) @ff.button(:name,submit).click Waiting for a positive reply from your side... Regards Rinku Garg On Jul 8, 11:20 am, Angrez Singh ang...@gmail.com wrote: Can you post the HTML code as well? On Wed, Jul 8, 2009 at 10:22 AM, Rinku Garg rinkugar...@gmail.com wrote: 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 ang...@gmail.com wrote: 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 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 6:01 PM, Sruthi Sinha sruthifor...@gmail.com wrote: hello friends, I am new to this group. I want to know how to automate alers diplay in mozilla firefox.Please help me.Please give me the code for it. Thanks Reards Sruthi.- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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: getting error while running watir script on firefox 3.0.11
Hi, when i tried running the script through command prompt, firefox home page is getting opened but the url mentioned in the script is not being taken by the firefox. Immediately after firefox home page getting opened, am getting the error which i have mentioned earlier. The same is the case when i run the script by pressing F5 key. Thanks Regards, Aparna On Jul 8, 12:39 pm, aparna aparna.m...@gmail.com wrote: sure. I will try that and let you know if any issues. Thanks, Aparna On Jul 8, 11:17 am, Angrez Singh ang...@gmail.com wrote: Just to make sure, when you try running the scripts you get the error that you mentioned in your mail. After that does firefox opens up or nothing happens. Also, can you try running the Firefox executable with -jssh option from run command as suggested by Kiran and let us know the results - Angrez On Wed, Jul 8, 2009 at 11:24 AM, kiran gki...@gmail.com wrote: Hi, Open 'firefox -jssh' from Run command and start running your scripts. Thanks, kiran. On Jul 8, 10:08 am, aparna aparna.m...@gmail.com wrote: Hi, JSSH addon is enabled in firefox. I have checked and then only tried to run the scripts. Regards, Aparna On Jul 7, 8:19 pm, Angrez Singh ang...@gmail.com wrote: 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 if the jssh add-on is in the firefox - Open Firefox - Goto Tools - Addons and check in jssh addon is in. I am using the same versions as you are and it works fine on my machine. Rgds, Anu On Tue, Jul 7, 2009 at 8:52 AM, aparna aparna.m...@gmail.com wrote: Hi, I have downloaded the JSSH XPI from the following url - http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirIn... 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 ang...@gmail.com wrote: 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, 4:03 pm, Angrez Singh ang...@gmail.com wrote: did you installed JSSh XPI with administrator privileges? There are lot of people who came across this problem with JSSh but was solved once installed with admin privileges. - Angrez On Tue, Jun 30, 2009 at 11:33 AM, aparna aparna.m...@gmail.com wrote: Hi, I am facing an error when i tried to run watir script on firefox 3.0.11. Actually the ruby which i have installed is ruby 1.8.6 26 and watir is 1.6.2. Also I have installed firewatir and JSSH (0.9) extension. I have changed the settings on firefox like allowing the popups and firefox opens a new window instead of new tab when a link is clicked. The platform which i am using is windows vista and my system is a 32 bit machine. The following is my error - ruby firefox.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 Firefox is running with '-jssh' option (Watir::Exception::UnableToStartJSShException) from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ firefox.rb:161:in `initialize' from c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/ browser.rb:65:in `new' from c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/ browser.rb:65:in `new' from firefox.rb:5 Exit code: 1 I have uninstalled the whole ruby, reinstalled and then tried running the watir script. But still am facing the same issue. Please anyone do help me in solving this error. Thanks Regards, Aparna.- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -
[wtr-general] Re: Watir as Web Crawler
Yes. I have user watir as a Web Crawler. On Wed, Jul 8, 2009 at 2:25 PM, Ravinder Singroha ravindersingr...@gmail.com wrote: Hi All Is any body use Watir as Web Crawler ever ? Waiting for some positive response :) Thx Ravinder Singroha -- Regards, P.Raveendran --~--~-~--~~~---~--~~ 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 as Web Crawler
Hi Raveendran is there any possibility that you can share that code with me. Thanks Ravinder Singroha On Jul 8, 4:08 pm, Raveendran P raveend...@railsfactory.org wrote: Yes. I have user watir as a Web Crawler. On Wed, Jul 8, 2009 at 2:25 PM, Ravinder Singroha ravindersingr...@gmail.com wrote: Hi All Is any body use Watir as Web Crawler ever ? Waiting for some positive response :) Thx Ravinder Singroha -- Regards, P.Raveendran --~--~-~--~~~---~--~~ 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] Does watir support spring based application
Hi All Actually i have to evaluate the web application which is based on Spring technology.. Does Watir identify all the object (like text_field, button,,link,label,radio button,check box,combo box,list box etc,.)of web apps which is based on spring technology. and also let me know the link from where i can read more for spring and watir support Please let me know Thanks 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: Does watir support spring based application
On Wed, Jul 8, 2009 at 1:53 PM, rrash586 rrash...@gmail.com wrote: Actually i have to evaluate the web application which is based on Spring technology. From watir.com: Watir is a family of Ruby libraries but it supports your app no matter what technology it is developed in. I would recommend that site if you want to learn more. Ž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: @browser.close is not working in Firewatir
Thanks for the info chethan, I was able to reproduce the issue here. Fixed the code will be there in next release - Angrez On Wed, Jul 8, 2009 at 2:57 PM, Chethan chethan2...@gmail.com wrote: Here is the simple script which i used require 'firewatir' include FireWatir ff=Firefox.new ff.goto(www.abcdef.com) ff.text_field(:name,/form_login/).set(chet...@abcdef.com) ff.text_field(:name,/form_password/).set(testing) sleep(5) ff.button(:alt,/Login/).click ff.close# this code doesn;t work I am not getting any error this. I observed this issue when Firefox download window is also there. or else there is no issue with close function. Is there any constrain with firefox download window open. Thanks, Chethan --~--~-~--~~~---~--~~ 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: getting error while running watir script on firefox 3.0.11
just try this: Start - Run - [firefox installation directory]\firefox.exe -jssh Now open command prompt and type telnet localhost 9997 Let me know the results. - Angrez On Wed, Jul 8, 2009 at 3:57 PM, aparna aparna.m...@gmail.com wrote: Hi, when i tried running the script through command prompt, firefox home page is getting opened but the url mentioned in the script is not being taken by the firefox. Immediately after firefox home page getting opened, am getting the error which i have mentioned earlier. The same is the case when i run the script by pressing F5 key. Thanks Regards, Aparna On Jul 8, 12:39 pm, aparna aparna.m...@gmail.com wrote: sure. I will try that and let you know if any issues. Thanks, Aparna On Jul 8, 11:17 am, Angrez Singh ang...@gmail.com wrote: Just to make sure, when you try running the scripts you get the error that you mentioned in your mail. After that does firefox opens up or nothing happens. Also, can you try running the Firefox executable with -jssh option from run command as suggested by Kiran and let us know the results - Angrez On Wed, Jul 8, 2009 at 11:24 AM, kiran gki...@gmail.com wrote: Hi, Open 'firefox -jssh' from Run command and start running your scripts. Thanks, kiran. On Jul 8, 10:08 am, aparna aparna.m...@gmail.com wrote: Hi, JSSH addon is enabled in firefox. I have checked and then only tried to run the scripts. Regards, Aparna On Jul 7, 8:19 pm, Angrez Singh ang...@gmail.com wrote: 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 if the jssh add-on is in the firefox - Open Firefox - Goto Tools - Addons and check in jssh addon is in. I am using the same versions as you are and it works fine on my machine. Rgds, Anu On Tue, Jul 7, 2009 at 8:52 AM, aparna aparna.m...@gmail.com wrote: Hi, I have downloaded the JSSH XPI from the following url - http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirIn... 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 ang...@gmail.com wrote: 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, 4:03 pm, Angrez Singh ang...@gmail.com wrote: did you installed JSSh XPI with administrator privileges? There are lot of people who came across this problem with JSSh but was solved once installed with admin privileges. - Angrez On Tue, Jun 30, 2009 at 11:33 AM, aparna aparna.m...@gmail.com wrote: Hi, I am facing an error when i tried to run watir script on firefox 3.0.11. Actually the ruby which i have installed is ruby 1.8.6 26 and watir is 1.6.2. Also I have installed firewatir and JSSH (0.9) extension. I have changed the settings on firefox like allowing the popups and firefox opens a new window instead of new tab when a link is clicked. The platform which i am using is windows vista and my system is a 32 bit machine. The following is my error - ruby firefox.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 Firefox is running with '-jssh' option (Watir::Exception::UnableToStartJSShException) from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ firefox.rb:161:in `initialize' from c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/ browser.rb:65:in `new' from c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/ browser.rb:65:in `new' from firefox.rb:5 Exit code: 1 I have uninstalled the whole ruby, reinstalled and then tried running the watir script. But still am facing the same
[wtr-general] Re: Watir as Web Crawler
Hi Sindroha, Yes. I can share my codes. today my shift time closed. I will be avilable tomoroow. ill catch u tomorrow. ping me at jazzezr...@gmail.com On Wed, Jul 8, 2009 at 4:50 PM, Ravinder Singroha ravindersingr...@gmail.com wrote: Hi Raveendran is there any possibility that you can share that code with me. Thanks Ravinder Singroha On Jul 8, 4:08 pm, Raveendran P raveend...@railsfactory.org wrote: Yes. I have user watir as a Web Crawler. On Wed, Jul 8, 2009 at 2:25 PM, Ravinder Singroha ravindersingr...@gmail.com wrote: Hi All Is any body use Watir as Web Crawler ever ? Waiting for some positive response :) Thx Ravinder Singroha -- Regards, P.Raveendran -- Regards, P.Raveendran --~--~-~--~~~---~--~~ 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] Vikas Rattan Goyal has applied for The Great Driving Challenge- Needs your vote
Hi watir-general@googlegroups.com Dear Friend It has been really long, i have been in touch. I am taking part in this driving challenge along with my partner. Please vote for our couple and do write a testimonial. Please give one vote of urs and try at least two more votes from ur buddies. if any confusion, how to go about it. Please follow these steps 1. Go to this link http://www.greatdrivingchallenge.com/application/1246598483608626/ 2. Click vote for us. 3. Write your name and email id 4. A email would come to your mail id and then you need to confirm the same and your vote would be counted 5. Do write a testimonial, if u don’t know the couple, please write with your imagination and give ur best wishes. Regards VRG Pune Your friend Vikas Rattan Goyal has applied for Mitsubishi Cedia Sports The Great Driving Challenge. If selected Vikas Rattan Goyal will drive away in a new Mitsubishi Cedia Sports for an all-expenses paid 12 days vacation and also have a shot at winning the grand prize of Rs. 1 Million in cash. Vikas Rattan Goyal is inviting you to become a fan on the application page and cast your vote in support. You can visit Vikas Rattan Goyal''s application page by clicking on this link here. Cast your vote and also become a fan. http://www.greatdrivingchallenge.com/application/1246598483608626/ Vikas Rattan Goyal looks forward to your support to enter the final round of Mitsubishi Cedia Sports The Great Driving Challenge. Organizers Mitsubishi Cedia Sports The Great Driving Challenge Powered by Zigwheels. PS. If you have any problems casting your vote or signing up as a fan, just drop us an email to gdsupp...@greatdrivingchallenge.com The information contained in this electronic transmission may be confidential and/or privileged. Access to this electronic transmission by anyone other than the intended recipient(s) is unauthorised. If you have received it in error please notify the sender immediately. Please then delete the e-mail and do not disclose its contents to any person. Within the bounds of law electronic transmissions through internal and external networks may be monitored to ensure compliance with internal policies and legitimate businesses purposes. --~--~-~--~~~---~--~~ 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: send attachments from outlook
On Wed, Jul 8, 2009 at 2:28 PM, khaja shaik khaja.sh...@gmail.com wrote: can anybody help me how to send a attachment using watir (i have to send using outllook) Watir can only drive browsers (Internet Explorer, Firefox...). You will have to use another tool to automate Outlook. Ž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] Using watir can we check performance of an application
Hi, I am new in watir. I want to know can I do load testing using watir. My scenario is : I want to hit my web application using 100 users at the same time. We are developing a shopping site where our aim is to check the performance of the site, when 100 users hit the url at the same time and do some search for products to buy. Please help on this. This is an urgent requirement for my project. Thanks Maumita --~--~-~--~~~---~--~~ 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: Using watir can we check performance of an application
I use Watir IE with threads but at 25 browsers it's about max on a 2 gig memory machine. marekj Watirloo: Semantic Page Objects in UseCases http://github.com/marekj/watirloo/ On Wed, Jul 8, 2009 at 9:01 AM, Maumitamaumita.majum...@gmail.com wrote: Hi, I am new in watir. I want to know can I do load testing using watir. My scenario is : I want to hit my web application using 100 users at the same time. We are developing a shopping site where our aim is to check the performance of the site, when 100 users hit the url at the same time and do some search for products to buy. Please help on this. This is an urgent requirement for my project. Thanks Maumita --~--~-~--~~~---~--~~ 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: include? text with special characters
Thank you all for your detailed responses. First of all, I don't get the Cp1252 error anymore. I could have gotten it before because I did some cut and paste. Thanks George for how to resolve the line breaks. All is working fine now. --~--~-~--~~~---~--~~ 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: getting error while running watir script on firefox 3.0.11
telnet is not enabled by default in vista, I think that may be the cause of the problem. Can you try enabling telnet using the steps described here: http://www.gohacking.com/2008/09/how-to-enable-telnet-command-in-vista.html After that repeat what I said in my last email and let me know the result. Thanks, Angrez On Wed, Jul 8, 2009 at 6:53 PM, aparna aparna.m...@gmail.com wrote: Hi Angrez, When i did this, Start - Run - [firefox installation directory] \firefox.exe -jssh firefox home page is getting opened. When i typed telnet localhost 9997 on command prompt, it is saying that telnet is not recognised as an internal or external command aparna On Jul 8, 5:05 pm, Angrez Singh ang...@gmail.com wrote: just try this: Start - Run - [firefox installation directory]\firefox.exe -jssh Now open command prompt and type telnet localhost 9997 Let me know the results. - Angrez On Wed, Jul 8, 2009 at 3:57 PM, aparna aparna.m...@gmail.com wrote: Hi, when i tried running the script through command prompt, firefox home page is getting opened but the url mentioned in the script is not being taken by the firefox. Immediately after firefox home page getting opened, am getting the error which i have mentioned earlier. The same is the case when i run the script by pressing F5 key. Thanks Regards, Aparna On Jul 8, 12:39 pm, aparna aparna.m...@gmail.com wrote: sure. I will try that and let you know if any issues. Thanks, Aparna On Jul 8, 11:17 am, Angrez Singh ang...@gmail.com wrote: Just to make sure, when you try running the scripts you get the error that you mentioned in your mail. After that does firefox opens up or nothing happens. Also, can you try running the Firefox executable with -jssh option from run command as suggested by Kiran and let us know the results - Angrez On Wed, Jul 8, 2009 at 11:24 AM, kiran gki...@gmail.com wrote: Hi, Open 'firefox -jssh' from Run command and start running your scripts. Thanks, kiran. On Jul 8, 10:08 am, aparna aparna.m...@gmail.com wrote: Hi, JSSH addon is enabled in firefox. I have checked and then only tried to run the scripts. Regards, Aparna On Jul 7, 8:19 pm, Angrez Singh ang...@gmail.com wrote: 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 if the jssh add-on is in the firefox - Open Firefox - Goto Tools - Addons and check in jssh addon is in. I am using the same versions as you are and it works fine on my machine. Rgds, Anu On Tue, Jul 7, 2009 at 8:52 AM, aparna aparna.m...@gmail.com wrote: Hi, I have downloaded the JSSH XPI from the following url - http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirIn. .. 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 ang...@gmail.com wrote: 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, 4:03 pm, Angrez Singh ang...@gmail.com wrote: did you installed JSSh XPI with administrator privileges? There are lot of people who came across this problem with JSSh but was solved once installed with admin privileges. - Angrez On Tue, Jun 30, 2009 at 11:33 AM, aparna aparna.m...@gmail.com wrote: Hi, I am facing an error when i tried to run watir script on firefox 3.0.11. Actually the ruby which i have installed is ruby 1.8.6 26 and watir is 1.6.2. Also I have installed firewatir and JSSH (0.9) extension. I have changed the settings on firefox like allowing the popups and firefox opens a new window instead of new tab when a link is clicked. The platform which i am using is windows vista and my system is a 32 bit machine.
[wtr-general] Re: Firefox 3.5 compatible with FireWatir?
The think is this the XPI that is generated can be installed only on Firefox 1.x as the format in which it is generated works only on that version. From version 2.x the format of the XPI has changed. You can try the following solution: 1. Unpack the XPI that works with Firefox 3.0.x and the newly created XPI for Firefox 3.5 2. Make sure the structure i.e. folder structure is same as that for 3.0.x XPI 3. Copy install.rdf file from 3.0.x XPI to 3.5 XPI. Open the file and change the max version to 3.5+ 4. Zip the 3.5.x folder 5. Rename it to .xpi Let me know if that works. - Angrez On Wed, Jul 8, 2009 at 6:59 PM, Felipe Knorr Kuhn fkn...@gmail.com wrote: Hello Angrez, What are these tweaks you mentioned? I have successfully compiled Firefox but like you said, I can't use the generated XPI :) Thanks, FK On Mon, Jul 6, 2009 at 4:01 AM, Angrez Singh ang...@gmail.com wrote: You need to build Firefox with the JSSh extension enabled. To create the XPI go to JSSh directory and say make xpi that will generate the XPI. The only problem with the generated XPI is that its format is compatible with only Firefox 1.5.x versions. We need to tweak the XPI (nothing but a zip file) a bit. Let me know if you need any help while compiling Firefox code. Thanks, Angrez On Fri, Jul 3, 2009 at 6:45 PM, Felipe Knorr Kuhn fkn...@gmail.comwrote: Hello Angrez, To build the XPI, do you have to go through the whole Firefox building process? I've seen guides to build Firefox+JSSh, but I don't know if it creates the extension file separately or not :) I could try to build it for Linux. FK On Fri, Jul 3, 2009 at 9:44 AM, Angrez Singh ang...@gmail.com wrote: Sure let me know where it fails On Fri, Jul 3, 2009 at 5:28 PM, Gonza gonzalogte...@gmail.com wrote: Works fine! After testing it for a while I can tell you It works! I've several TCs, if any fails because jssh, I'll let you know. Thanks, Gonza --~--~-~--~~~---~--~~ 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] click extjs tabs
All - I know a lot of you have been trying to get the tabs example in EXTJS to work. At long last I have a solution. It seems that EXTJS checks to ensure that the mousedown is a left mousedown (see http://extjs.com/forum/showthread.php?t=56916). Other than being extremely annoying, Watir can't do this because it doesn't really use the mouse per se to click. After realizing this was what the problem was, I amended the right click code that Bill Agee and I came up with to have a left_click method and violia, instant extjs tab-clicking goodness!! I have provided a sample below for you to get started. Enjoy! Alan ## extjs.rb ### # for more info see: http://extjs.com/forum/showthread.php?t=56916 # right click (and now left click) code can be found at: # http://wiki.openqa.org/display/WTR/Right+Click+an+Element require 'watir' module Watir class Element def top_edge assert_exists assert_enabled ole_object.getBoundingClientRect.top.to_i end def top_edge_absolute top_edge + page_container.document.parentWindow.screenTop.to_i end def left_edge assert_exists assert_enabled ole_object.getBoundingClientRect.left.to_i end def left_edge_absolute left_edge + page_container.document.parentWindow.screenLeft.to_i end def right_click x = left_edge_absolute y = top_edge_absolute #puts x: #{x}, y: #{y} WindowsInput.move_mouse(x, y) WindowsInput.right_click end def left_click x = left_edge_absolute y = top_edge_absolute #puts x: #{x}, y: #{y} # need some extra push to get the cursor in the right area WindowsInput.move_mouse(x + 2, y + 2) WindowsInput.left_click end end end module WindowsInput # Windows API functions SetCursorPos = Win32API.new('user32','SetCursorPos', 'II', 'I') SendInput = Win32API.new('user32','SendInput', 'IPI', 'I') # Windows API constants INPUT_MOUSE = 0 MOUSEEVENTF_LEFTDOWN = 0x0002 MOUSEEVENTF_LEFTUP = 0x0004 MOUSEEVENTF_RIGHTDOWN = 0x0008 MOUSEEVENTF_RIGHTUP = 0x0010 module_function def send_input(inputs) n = inputs.size ptr = inputs.collect {|i| i.to_s}.join # flatten arrays to single string SendInput.call(n, ptr, inputs[0].size) end def create_mouse_input(mouse_flag) mi = Array.new(7, 0) mi[0] = INPUT_MOUSE mi[4] = mouse_flag mi.pack('LLL') # Pack array into a binary sequence usable to SendInput end def move_mouse(x, y) SetCursorPos.call(x, y) end def right_click rightdown = create_mouse_input(MOUSEEVENTF_RIGHTDOWN) rightup = create_mouse_input(MOUSEEVENTF_RIGHTUP) send_input( [rightdown, rightup] ) end def left_click leftdown = create_mouse_input(MOUSEEVENTF_LEFTDOWN) leftup = create_mouse_input(MOUSEEVENTF_LEFTUP) send_input( [leftdown, leftup] ) end end ### # for testing purposes, attach to a browser open to the extjs # site, otherwise, open a new browser if Watir::IE.find(:url, /extjs/) puts Found browser matching 'extjs'...attaching... br = Watir::IE.attach(:url, /extjs/) else puts found no matching browser, creating new br = Watir::IE.new br.goto('http://extjs.com/deploy/dev/examples/tabs/tabs.html') end br.bring_to_front tabs_div = br.div(:id, 'ext-gen6') long_text_tab = tabs_div.li(:id, 'ext-comp-1001__ext-comp-1003') long_text_tab.left_click # sucess!! --~--~-~--~~~---~--~~ 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: Dealing with font, table and triggering Javascript
I have version REXML 3.1.7.2 installed. I have managed to find a workaround now (Adding the font tag to watir) that probably works better than an xpath would, in fact, but from what I've seen very few people have gotten xpaths to work with watir (at least the element_by_xpath part) in the first place. It might be helpful if someone who does have them working could give a mini- tutorial or something. I would do it myself, but obviously I am not one of those people who knows what they're doing. :) Xpaths can be very powerful and it would be nice to at least have the option. Also, for anyone who was in a similar boat as me, I had a hard time figuring out where to put the class code Željko Filipin was so awesome to post on his blog, and through trial and error it apparently goes in the NonControlElement.rb file. Probably duh for most of you, but if there are any other watir/ruby noobs out there, hope that helps. -Dylan On Jul 8, 1:14 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Jul 7, 2009 at 7:52 PM, Dylan mej...@gmail.com wrote: I've even copied the exact html and ruby code given in the What to do for elements not having class in Watir? section, and I still get nil returned. I think you have to have newer version of rexml (3.1.6) than the one shipped with some versions of ruby. http://zeljkofilipin.com/2007/10/18/how-do-i-get-rexml-version-number/ Ž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: Issue with Select List
Hi, Did you try issuing onblur or onchange ie.select_list(:name,ABC).select(value) ie.select_list(:name,ABC).fire_event(onblur) # if this does'nt work then try ie.select_list(:name,ABC).fire_event(onchange) Regards, Bhaskar On Jul 7, 11:10 pm, Ravinder Singroha ravindersingr...@gmail.com wrote: Hi I have a scenario in which, if i chose a value in a select list, the same value is filled in a text box given by calling an onchange event. code looks like:select name=ABC onChange=onChangeTerm ('ABC','XYZ') onfocus=enterField(this) size=1 stype=Selection input decimals=0 elength=3 name=XYZ onblur=validateField (this) onfocus=enterField(this) onkeypress=NumberKeyCheck() stype=Number type=text value=0 / The problem with this is when i do it manually, whatever value i chose in select list, it gets filled in the text box but when i do using the function: ie.select_list(:name,ABC).select(value) it selects a value but doesn' fills the text box. I tried the fire events also but no help. Can anyone in the group please help me with this issue. I am using - [watir -1.6.2] i have a chat with developers and he told to fire onfocus then onchange event, after selecting the value. i tried that and other combination too but no success so far. is there anything else i am missing on in here. i have tried it with QTP and open source Selenium its working there, but its not working with Watir, is this a know issue with watir ? Thanks Ravinder Singroha --~--~-~--~~~---~--~~ 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: send attachments from outlook
Hey khaja, You can't use watir to send mails.but you can use net/smtp to do so. I have given a sample code which will use smtp to send emails, but this will not send attachments,( you need to tweak the message type etc i guess.) require 'net/smtp' myMessage = MYMESSAGE From:youremail To:toemail Subject: blah blah Mime-version: 1.0 content-type:text/html; charset =iso-8859-1 # have your message here.. # if thats from a file open a stream and dump it here. MYMESSAGE Net::SMTP.start('yoursmtp server url', 25) do |smtp| smtp.send_message myMessage, 'youremailaddr...@example.com', 'toemailaddr...@example.com' end On Jul 8, 5:28 am, khaja shaik khaja.sh...@gmail.com wrote: Hi All, can anybody help me how to send a attachment using watir (i have to send using outllook) Thanks, Khaja shariff STE --~--~-~--~~~---~--~~ 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: Do you know how to make text box writable on the go.
You shouldn't be able to change the value using the browser. You *might* be able to set it directly, or enable the field, by accessing the DOM object, but I'm not sure. Without digging in the DOM, the simplest way is probably to use BurpProxy to make the field(s) writable - http://portswigger.net/proxy/ Jared http://www.software-testing.com.au/blog/ On Jul 8, 3:03 pm, ashokmpm password bhavesh1_sha...@yahoo.com wrote: 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 -- $ie.Document.parentWindow.execScript(document.getElementById('CopyfSystem').readOnly = false;) $ie.text_field(:name, CopyfSystem).set(fsname) However this is not working? So what i missed or what else need to be done. If anybody knows, it is an great help thanks Bhavesh --~--~-~--~~~---~--~~ 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: Using watir can we check performance of an application
Why don't you try to use Jmeter ? http://jakarta.apache.org/jmeter/ Hope it help. tknv/ On Thu, Jul 9, 2009 at 12:18 AM, marekjmarekj@gmail.com wrote: I use Watir IE with threads but at 25 browsers it's about max on a 2 gig memory machine. marekj Watirloo: Semantic Page Objects in UseCases http://github.com/marekj/watirloo/ On Wed, Jul 8, 2009 at 9:01 AM, Maumitamaumita.majum...@gmail.com wrote: Hi, I am new in watir. I want to know can I do load testing using watir. My scenario is : I want to hit my web application using 100 users at the same time. We are developing a shopping site where our aim is to check the performance of the site, when 100 users hit the url at the same time and do some search for products to buy. Please help on this. This is an urgent requirement for my project. Thanks Maumita -- tknv/ --~--~-~--~~~---~--~~ 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: send attachments from outlook
Hi, Check this Mailfactory stuff its cool works fine go through this link for further details http://mailfactory.rubyforge.org/ Here you can down load the mailfactory gem http://rubyforge.org/projects/mailfactory/ Regards, Chethan --~--~-~--~~~---~--~~ 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: getting error while running watir script on firefox 3.0.11
Hi, Yes.This will solve your problem. Thanks kiran. On Jul 8, 10:50 pm, Angrez Singh ang...@gmail.com wrote: telnet is not enabled by default in vista, I think that may be the cause of the problem. Can you try enabling telnet using the steps described here:http://www.gohacking.com/2008/09/how-to-enable-telnet-command-in-vist... After that repeat what I said in my last email and let me know the result. Thanks, Angrez On Wed, Jul 8, 2009 at 6:53 PM, aparna aparna.m...@gmail.com wrote: Hi Angrez, When i did this, Start - Run - [firefox installation directory] \firefox.exe -jssh firefox home page is getting opened. When i typed telnet localhost 9997 on command prompt, it is saying that telnet is not recognised as an internal or external command aparna On Jul 8, 5:05 pm, Angrez Singh ang...@gmail.com wrote: just try this: Start - Run - [firefox installation directory]\firefox.exe -jssh Now open command prompt and type telnet localhost 9997 Let me know the results. - Angrez On Wed, Jul 8, 2009 at 3:57 PM, aparna aparna.m...@gmail.com wrote: Hi, when i tried running the script through command prompt, firefox home page is getting opened but the url mentioned in the script is not being taken by the firefox. Immediately after firefox home page getting opened, am getting the error which i have mentioned earlier. The same is the case when i run the script by pressing F5 key. Thanks Regards, Aparna On Jul 8, 12:39 pm, aparna aparna.m...@gmail.com wrote: sure. I will try that and let you know if any issues. Thanks, Aparna On Jul 8, 11:17 am, Angrez Singh ang...@gmail.com wrote: Just to make sure, when you try running the scripts you get the error that you mentioned in your mail. After that does firefox opens up or nothing happens. Also, can you try running the Firefox executable with -jssh option from run command as suggested by Kiran and let us know the results - Angrez On Wed, Jul 8, 2009 at 11:24 AM, kiran gki...@gmail.com wrote: Hi, Open 'firefox -jssh' from Run command and start running your scripts. Thanks, kiran. On Jul 8, 10:08 am, aparna aparna.m...@gmail.com wrote: Hi, JSSH addon is enabled in firefox. I have checked and then only tried to run the scripts. Regards, Aparna On Jul 7, 8:19 pm, Angrez Singh ang...@gmail.com wrote: 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 if the jssh add-on is in the firefox - Open Firefox - Goto Tools - Addons and check in jssh addon is in. I am using the same versions as you are and it works fine on my machine. Rgds, Anu On Tue, Jul 7, 2009 at 8:52 AM, aparna aparna.m...@gmail.com wrote: Hi, I have downloaded the JSSH XPI from the following url - http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirIn. .. 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 ang...@gmail.com wrote: 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, 4:03 pm, Angrez Singh ang...@gmail.com wrote: did you installed JSSh XPI with administrator privileges? There are lot of people who came across this problem with JSSh but was solved once installed with admin privileges. - Angrez On Tue, Jun 30, 2009 at 11:33 AM, aparna aparna.m...@gmail.com wrote: Hi, I am facing an error when i tried to run watir script on firefox 3.0.11. Actually the ruby which i have installed is ruby 1.8.6 26 and watir is 1.6.2. Also I have installed firewatir and JSSH (0.9) extension. I have changed the settings on firefox like allowing the popups and firefox opens a new window instead
[wtr-general] Re: getting error while running watir script on firefox 3.0.11
Hi Angrez, I have enabled the telnet by following the steps given in the link and then typed telnet localhost 9997 on command prompt. Now am getting an error connecting to localhost...could not open connection to the host, on port 9997: connect failed Thanks, Aparna On Jul 8, 10:50 pm, Angrez Singh ang...@gmail.com wrote: telnet is not enabled by default in vista, I think that may be the cause of the problem. Can you try enabling telnet using the steps described here:http://www.gohacking.com/2008/09/how-to-enable-telnet-command-in-vist... After that repeat what I said in my last email and let me know the result. Thanks, Angrez On Wed, Jul 8, 2009 at 6:53 PM, aparna aparna.m...@gmail.com wrote: Hi Angrez, When i did this, Start - Run - [firefox installation directory] \firefox.exe -jssh firefox home page is getting opened. When i typed telnet localhost 9997 on command prompt, it is saying that telnet is not recognised as an internal or external command aparna On Jul 8, 5:05 pm, Angrez Singh ang...@gmail.com wrote: just try this: Start - Run - [firefox installation directory]\firefox.exe -jssh Now open command prompt and type telnet localhost 9997 Let me know the results. - Angrez On Wed, Jul 8, 2009 at 3:57 PM, aparna aparna.m...@gmail.com wrote: Hi, when i tried running the script through command prompt, firefox home page is getting opened but the url mentioned in the script is not being taken by the firefox. Immediately after firefox home page getting opened, am getting the error which i have mentioned earlier. The same is the case when i run the script by pressing F5 key. Thanks Regards, Aparna On Jul 8, 12:39 pm, aparna aparna.m...@gmail.com wrote: sure. I will try that and let you know if any issues. Thanks, Aparna On Jul 8, 11:17 am, Angrez Singh ang...@gmail.com wrote: Just to make sure, when you try running the scripts you get the error that you mentioned in your mail. After that does firefox opens up or nothing happens. Also, can you try running the Firefox executable with -jssh option from run command as suggested by Kiran and let us know the results - Angrez On Wed, Jul 8, 2009 at 11:24 AM, kiran gki...@gmail.com wrote: Hi, Open 'firefox -jssh' from Run command and start running your scripts. Thanks, kiran. On Jul 8, 10:08 am, aparna aparna.m...@gmail.com wrote: Hi, JSSH addon is enabled in firefox. I have checked and then only tried to run the scripts. Regards, Aparna On Jul 7, 8:19 pm, Angrez Singh ang...@gmail.com wrote: 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 if the jssh add-on is in the firefox - Open Firefox - Goto Tools - Addons and check in jssh addon is in. I am using the same versions as you are and it works fine on my machine. Rgds, Anu On Tue, Jul 7, 2009 at 8:52 AM, aparna aparna.m...@gmail.com wrote: Hi, I have downloaded the JSSH XPI from the following url - http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirIn. .. 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 ang...@gmail.com wrote: 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, 4:03 pm, Angrez Singh ang...@gmail.com wrote: did you installed JSSh XPI with administrator privileges? There are lot of people who came across this problem with JSSh but was solved once installed with admin privileges. - Angrez On Tue, Jun 30, 2009 at 11:33 AM, aparna aparna.m...@gmail.com wrote: Hi, I am facing an error when i tried to run watir script on firefox 3.0.11. Actually the ruby which i have installed is ruby 1.8.6 26 and watir is 1.6.2. Also