[wtr-general] Need help on jssh installation for firefox

2009-06-02 Thread Chethan
Hi, I started working on Firewatir, I have installed firewatir using new installation procedure as described in the Watir overview page. I have even installed the jssh as per the instructions. I have done lot of scripting for IE. I started with the firewatir example getting following error

[wtr-general] Re: example problem

2009-06-02 Thread Jarmo Pertman
If you have gems, then add require 'rubygems' before require 'watir' or add environment variable RUBYOPT=-rubygems Jarmo On May 31, 8:55 am, James j.s.west...@gmail.com wrote: ok completely new to the world of ruby as well as programming       The final goal is too scrape an ajax site... if I

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-02 Thread jason
Chethan, try starting firefox from the command line with the jssh option ... firefox -jssh then start a terminal session from the command line telnet localhost 9997 you should then get a connection with the following feedback: Welcome to the Mozilla JavaScript Shell! if that is not working

[wtr-general] Re: forms in subframes - elements not found

2009-06-02 Thread jason
ok so i have taken a look at the locate_tagged_element method and it looks like it cannot handle elements of objects in nested frames! Can anyone confirm this? i.e. anyone out there that can get elements (i.e. the select list) of a form sitting in a nested frame thanks Jason. On 29 Mai,

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-02 Thread jason
ok, when you installed the jssh extention did the firefox plugin manager tell you that the installation was ok did it restart the browser after the installation - if not , then try installing it again. On 2 Jun., 11:13, Chethan chethan2...@gmail.com wrote: I tried it. still no use, I did the

[wtr-general] Re: How I can verify whether all the images of a web page have been loaded or not?

2009-06-02 Thread jason
Hi Maumita, I had problems with pages comming back as loaded even though were still loading and so i changed the wait method slightly and it works fine now. def wait(last_url = nil) #puts In wait function isLoadingDocument = start = Time.now while isLoadingDocument

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-02 Thread Angrez Singh
Which platform? OS? it would be nice to have that info to help you more - Angrez On Tue, Jun 2, 2009 at 3:04 PM, jason jason.franklin.sto...@gmail.comwrote: ok, when you installed the jssh extention did the firefox plugin manager tell you that the installation was ok did it restart the

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-02 Thread Chethan
Hi, I am using window-Xp(sp2) my Firefox version is 3.0.10. Rgds, 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

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-02 Thread jason
did you install the jssh firefox plugin??? On 2 Jun., 14:05, Chethan chethan2...@gmail.com wrote: I installed the Firewatir with new method rather then gem install firewatir command, I done that through gem install watir online how the new Watir overview describes. Thanks, Chethan On Jun

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-02 Thread Chethan
Yes I installed Jssh plug in but if i do telnet localhost 9997 it say there is no service running on 9997 port. That is what i described in my earlier mails. Thanks, Chethan On Jun 2, 5:30 pm, jason jason.franklin.sto...@gmail.com wrote: did you install the jssh firefox plugin??? On 2 Jun.,

[wtr-general] bring_to_front()

2009-06-02 Thread Monkeybuns
I'm trying to add a bring_to_front() to Bret's 'Pragmatic Bookshelf' example from the Watir training class. I''m running watir-1.6.2 on XP using IE6. All goes well until I try to stick in a bring_to_front() command as follows (these are the opening lines of the script): require 'rubygems'

[wtr-general] Re: bring_to_front()

2009-06-02 Thread Charley Baker
You need to register the autoit dll. Follow this thread: http://groups.google.com/group/watir-general/browse_thread/thread/f58e3598b03a9111 Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Tue, Jun 2, 2009 at 10:46

[wtr-general] Re: override js confirm FireWatir

2009-06-02 Thread Chuck van der Linden
when you say 'without success what does that mean? what happens? do you get an error? more detailed info on what happens will help others with troubleshooting this. Have you reviewed the general info on the types of popups and how to handle them? http://wiki.openqa.org/display/WTR/Pop+Ups

[wtr-general] Re: bring_to_front()

2009-06-02 Thread Steve
Worked like a charm, Charley. Thank you! On Jun 2, 11:52 am, Charley Baker charley.ba...@gmail.com wrote: You need to register the autoit dll. Follow this thread:http://groups.google.com/group/watir-general/browse_thread/thread/f58... Charley Baker blog:http://blog.charleybaker.org/ Lead

[wtr-general] Re: forms in subframes - elements not found

2009-06-02 Thread Chuck van der Linden
On May 29, 7:58 am, jason jason.franklin.sto...@gmail.com wrote: Michael, thanks for the feedback. as mentioned above that works fine - however is not much use becasue the select list has no relationship to the form that contains it. no, but it would be the correct list (unless your devs are

[wtr-general] Re: override js confirm FireWatir

2009-06-02 Thread Alex Collins
Aidy, I'm guessing and not strong on Javascript, but might it be the lack of a semi-colon after 'return true'? Best wishes, Alex Collins On 2 Jun 2009, at 17:03, aidy lewis wrote: Hi, I am trying to override a js confirm in FireWatir:

[wtr-general] Re: example problem

2009-06-02 Thread Chuck van der Linden
To be more clear, the current version of Watir has integrated in the Firewatir driver.. so you get both Watir and Firewatir when you install it. Most functions are pretty much equally supported on both browsers. and the way things work you now institute an instance of 'browser' which can be

[wtr-general] Re: how to select rows under grid for EXTJS code using watir.

2009-06-02 Thread Chuck van der Linden
There have been a number of threads here in the last month or two dealing with various aspects of automating websites based on code form this company (search the group for EXTJS and you will find them) Not all of the threads end in success. The webpage code that results when using this

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-02 Thread Chethan
Yes I am admin user for the machine i am using. Here are the steps i followed. 1. browse to http://wtr.rubyforge.org/ 1. Installed Ruby from http://rubyforge.org. 2. from command prompt entered gem update --system 3. then entered gem install watir 4. installed firefox add-on Jssh from the