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

2009-07-13 Thread Angrez Singh
Which XPI you are using on which Firefox version? On Fri, Jul 10, 2009 at 8:08 PM, Al B. a...@comcast.net wrote: Hi Angrez. Thanks for getting back to me. The error console says: Error: Components.classes['@mozilla.org/jssh-server;1'] is undefined Source File:

[wtr-general] Re: problem in jssh

2009-07-13 Thread Angrez Singh
Which Firefox version are you using? Which XPI are you using? On Sat, Jul 11, 2009 at 11:49 PM, venky venkatesh...@gmail.com wrote: Hi all, I worked in fire watir for a month. my scripts were running fine. Due to some other reason i had to format my hard disk. I installed firewatir with

[wtr-general] Re: FireWatir Read Only Exception

2009-07-13 Thread Angrez Singh
If the textbox is read-only you can't enter any values as per UI is related. But you can always use .value method to set the value like this: ff.text_field(:id, 'id').value = xyz But why you want to set value for read-only text box? On Sat, Jul 11, 2009 at 11:42 PM, kiran yajamanyam

[wtr-general] Re: FireWatir Read Only Exception

2009-07-13 Thread kiran yajamanyam
At least in my case text-field was not read only. But now i am not facing that issue any way. Regards, Kinnu On Mon, Jul 13, 2009 at 12:16 PM, Angrez Singh ang...@gmail.com wrote: If the textbox is read-only you can't enter any values as per UI is related. But you can always use .value method

[wtr-general] Re: Internet Explorer NOT working in normal after i ran the watir script

2009-07-13 Thread Brautigam Gergely
Interesting... This is a dump question but do you have by any chance Offline Work selected? :) Watir should never interfere with your main browser because it lunches an independent one as far as i know. --- On Mon, 7/13/09, msazeez28july sabdulkha...@gmail.com wrote: From: msazeez28july

[wtr-general] Re: Issue with Select List

2009-07-13 Thread Željko Filipin
On Sat, Jul 11, 2009 at 6:15 AM, Ravinder Singroha ravindersingr...@gmail.com wrote: The site only works with IE so cannot do reverse engineering with Firebug, is there something similar as firebug for IE?

[wtr-general] Re: FireWatir Read Only Exception

2009-07-13 Thread al3kc
I also see this error for NOT read-only fields sometimes. --~--~-~--~~~---~--~~ 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,

[wtr-general] Multiple attributes don't supported for FRAME element

2009-07-13 Thread LFIdnl
Multiple attributes don't supported for FRAME element. It a bug or a feature? ie.frame({:name = 'content', :class='frame-class'}) #This doesn't work ie.frame(:name, 'content') #This works --~--~-~--~~~---~--~~ You received this message because you are subscribed

[wtr-general] Need help

2009-07-13 Thread rakesh
Hi all, I am doing a automation using watir It has three dynamically generated group of checkboxes ,I want to select one or two or three among them.The input reads the name of the checkboxes like a,b,c. How will i select the check-boxs in the group. Note: In the page the ID,name of the

[wtr-general] Re: Need help

2009-07-13 Thread Željko Filipin
On Mon, Jul 13, 2009 at 11:12 AM, rakesh srakes...@gmail.com wrote: In the page the ID,name of the checkbox remains same But the value of the check box chnages. What is the problem? Why don't you use id to check checkbox? http://wiki.openqa.org/display/WTR/Checkboxes Željko --

[wtr-general] Re: Need help

2009-07-13 Thread Željko Filipin
I still do not understand what the problem is. On Mon, Jul 13, 2009 at 11:23 AM, rakesh srakes...@gmail.com wrote: Sir, The checkboxes id ,name remains same as selectedevent but not a or b or c Regards, S.Rakeshsharma --~--~-~--~~~---~--~~ You received

[wtr-general] Re: Need help

2009-07-13 Thread Brautigam Gergely
do you want to Change the name, or simply get it or set a new value for it perhaps? Or just use the Checkbox to Check it? --- On Mon, 7/13/09, rakesh srakes...@gmail.com wrote: From: rakesh srakes...@gmail.com Subject: [wtr-general] Re: Need help To: Watir General watir-general@googlegroups.com

[wtr-general] Re: Need help

2009-07-13 Thread rakesh
The problem is how will i select a checkbox in multiple checkboxes On Jul 13, 2:19 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Jul 13, 2009 at 11:12 AM, rakesh srakes...@gmail.com wrote:  In the page the ID,name of the checkbox remains same But the value of the check box

[wtr-general] Re: Need help

2009-07-13 Thread rakesh
yes ur correct, On Jul 13, 2:33 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Jul 13, 2009 at 11:30 AM, rakesh srakes...@gmail.com wrote: The problem is how will i select a checkbox in multiple checkboxes browser.checkbox(:id, myid).set What is the problem. They all

[wtr-general] Re: FireWatir Read Only Exception

2009-07-13 Thread Angrez Singh
Any examples will be great to debug the issue? On Mon, Jul 13, 2009 at 1:49 PM, al3kc aleks.kiev...@gmail.com wrote: I also see this error for NOT read-only fields sometimes. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[wtr-general] Re: Need help

2009-07-13 Thread rakesh
tr style=height:20px; td style=width:30px; padding-left:5px;input type=checkbox value=c43afa4c-6c81-11de-9983-0016764319d8 name= selectedevent id=selectedevent //td td style=width:220px; class=con-grey Vratham/td td style=width:100px; class=con-grey07-22-2009/td /tr tr

[wtr-general] Re: Need help

2009-07-13 Thread Željko Filipin
On Mon, Jul 13, 2009 at 11:57 AM, rakesh srakes...@gmail.com wrote: input type=checkbox value=c43afa4c-6c81-11de-9983-0016764319d8 name= selectedevent id=selectedevent / This will check the first one: b.checkbox(:id, selectedevent).set This will check the second one: b.checkbox(:id =

[wtr-general] Re: Need help

2009-07-13 Thread Amit Kumar
Use multiple attributes for this: browser.checkbox(:id= selectedevent , index =1).set browser.checkbox(:id= selectedevent , index =2).set browser.checkbox(:id= selectedevent , index =3).set - regards Amit Kumar On Mon, Jul 13, 2009 at 3:27 PM, rakesh srakes...@gmail.com wrote: tr

[wtr-general] Re: Need help

2009-07-13 Thread rakesh
My input file dont contain the index,it doesnt know which in which index Rakesh On Jul 13, 3:14 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Jul 13, 2009 at 11:57 AM, rakesh srakes...@gmail.com wrote: input type=checkbox value=c43afa4c-6c81-11de-9983-0016764319d8  name=

[wtr-general] Re: Need help

2009-07-13 Thread Željko Filipin
On Mon, Jul 13, 2009 at 12:31 PM, rakesh srakes...@gmail.com wrote: My input file dont contain the index,it doesnt know which in which index You will have to be more explicit. I did not understand what you wanted to say. Željko --~--~-~--~~~---~--~~ You

[wtr-general] Re: Need help

2009-07-13 Thread Brautigam Gergely
He says that the file he is using does not contain which Checkbox INDEX he has to set... Only the ID which is that of all of the check boxes and not an Index i guess.. But why not? Simply add it to the file or ask the Devs to give explicit id's for the checkboxes. That is what i've done in

[wtr-general] Why watir works even if the DOM is broken??

2009-07-13 Thread Pallavi Sharma
Hi All Can anyone here answer me this, If the DOM of the website is broken, watir is still able to automate it , can anyone here give me the reason for this? Thus DOM being broken or not doesn't hamper watir functionality in any way. Thanks

[wtr-general] Re: Why watir works even if the DOM is broken??

2009-07-13 Thread Željko Filipin
On Mon, Jul 13, 2009 at 1:25 PM, Pallavi Sharma write2pall...@gmail.com wrote: Thus DOM being broken or not doesn't hamper watir functionality in any way. I am not sure how DOM can be broken. What do you mean by that. HTML does not validate? Watir can work with any page that you browser opens.

[wtr-general] Re: Why watir works even if the DOM is broken??

2009-07-13 Thread Pallavi Sharma
Like unclosed HTML Tags, same IDs etc etc issues. How does watir identifies an element ? Like Selenium wont work if the DOM is broken, but watir doesn' get affected by it.. Thats why im curious.. On Mon, Jul 13, 2009 at 5:00 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon,

[wtr-general] Re: Why watir works even if the DOM is broken??

2009-07-13 Thread Pallavi Sharma
Yes You are right most of the web is not valid html, and selenium says that this doesn't work if the DOM is broken. What do you suggest then, I believe if we could make watir available for all OS and browsers nothing could beat watir. Is there a way we can be help to this development? Can you

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

2009-07-13 Thread Al B.
Angrez, I'm using 'jssh-20090703-WINNT.xpi', which you posted on July 3. I'm using version 3.5 of Firefox, which was just recently released. Al B. On Jul 13, 2:44 am, Angrez Singh ang...@gmail.com wrote: Which XPI you are using on which Firefox version? On Fri, Jul 10, 2009 at 8:08 PM,

[wtr-general] Re: Why watir works even if the DOM is broken??

2009-07-13 Thread Pallavi Sharma
:) I am a developer cum tester and have a team of same people who are more than willing to help. Have good knowledge of watir, selenium, sahi, qtp build frameworks over it. Of all this i found watir the most stable and best to use. I mean qtp couldn;t handled sync issues well and watir handles

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

2009-07-13 Thread aparna
Hi Angrez, Actually, first I have used firefox version 3.0.11 and then i uninstalled it and installed firefox version 3.5 and tried again. Even that time it was not working. Some how i missed to say that. Am sorry for that. And can you tell me what is the new XPI for version 3.5? Thanks

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

2009-07-13 Thread Angrez Singh
there is another thread in this list which talks about JSSh for Firewatir 3.5. You can check that thread and get the XPI. Thanks, Angrez On Mon, Jul 13, 2009 at 6:12 PM, aparna aparna.m...@gmail.com wrote: Hi Angrez, Actually, first I have used firefox version 3.0.11 and then i uninstalled

[wtr-general] Re: Object repository

2009-07-13 Thread Louis Schatzberg
What version of the 'libxml-ruby' gem do we need. I have 1.1.3 is that correct? -Original Message- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Ivan Kabluchkov Sent: 13/Jul/2009 6:39 AM To: watir-general@googlegroups.com Subject:

[wtr-general] Re: Help needed

2009-07-13 Thread Ajith
Hello Rakesh, Amits earlier solution with multiple attributes works fine with the page u provided. ie.checkbox(:id = selectedevent, :index = 1).set ie.checkbox(:id = selectedevent, :index = 2).set ie.checkbox(:id = selectedevent, :index = 3).set Is it something else that you require? -AJ On

[wtr-general] Re: Object repository

2009-07-13 Thread LFIdnl
Yes On 13 июл, 18:49, Louis Schatzberg louis.schatzb...@expedata.net wrote: What version of the 'libxml-ruby' gem do we need. I have 1.1.3 is that correct? -Original Message- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Ivan Kabluchkov

[wtr-general] Re: Watir + Cruise Control

2009-07-13 Thread Dylan
Thanks everybody! I think I have a handle on how I'm going to set this up now. I really appreciate the help! -Dylan On Jul 12, 10:22 pm, pallavi shashidhar pals.sha...@gmail.com wrote: Hi there, We have used cruise control to run our test suites. We have structured our test scripts with

[wtr-general] Re: How to check the load time of an page?

2009-07-13 Thread Dylan
If I'm understanding you right, you want your test to never take more than 20 seconds, and if the page isn't loaded by then put that in the log? If so, you would need something like click_no_wait for goto (or you can justwrite a tiny html file that just has a link to the page and call

[wtr-general] Re: Multiple attributes don't supported for FRAME element

2009-07-13 Thread orde
Check out: http://wiki.openqa.org/display/WTR/Methods+Supported+by+Element Multiple attributes are supported for the frame tag, but the 'class' attribute is not supported for the frame tag. Hope that helps... orde --~--~-~--~~~---~--~~ You received this message

[wtr-general] Re: Multiple attributes don't supported for FRAME element

2009-07-13 Thread Ivan Kabluchkov
Sorry, but this is not good example. Here is one more which doesn't work: ie.frame({:name = 'content', :src='frame.html'}) On 13 июл, 21:54, orde ohil...@gmail.com wrote: Check out:http://wiki.openqa.org/display/WTR/Methods+Supported+by+Element Multiple attributes are supported for the frame

[wtr-general] Re: Object repository

2009-07-13 Thread George
Hello, thanks for this! I'm looking at the README file and it says: For correct work install 'libxml-ruby' gem and put 'repository.dtd' near 'object_repository.rb' Does this mean I need to copy the .dtd and .rb file into the libxml- ruby folder? And if so, where should I place them? Thanks,

[wtr-general] Re: How to check the load time of an page?

2009-07-13 Thread Soori
Thanks Dylan, I have tried the same and it works. /Soori On Jul 13, 9:53 pm, Dylan mej...@gmail.com wrote: If I'm understanding you right, you want your test to never take more than 20 seconds, and if the page isn't loaded by then put that in the log? If so, you would need something like

[wtr-general] Re: Object repository

2009-07-13 Thread Ivan Kabluchkov
No, this mean 2 steps, which don't depend on each other: 1. Install libxml-ruby 2. Put in one folder 'repository.dtd' and 'object_repository.rb' On 14 июл, 01:23, George george.sand...@gmail.com wrote: Hello, thanks for this!  I'm looking at the README file and it says: For correct work