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

2009-07-13 Thread msazeez28july
I ran the very basic script given in the example on command prompt as given below. It worked well when i execute this script. However i could not access any site afterwards. I am not able to launch google.com as well. The progressbar on bottom shows as loading but nothing gets loaded. I have tried

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

2009-07-13 Thread Željko Filipin
On Mon, Jul 13, 2009 at 8:14 AM, msazeez28july wrote: > However i > could not access any site afterwards. Can you access any site from another browser? Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir

[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 wrote: From: msazeez28july Subject: [wtr-general] Int

[wtr-general] Re: Time to learn Watir

2009-07-13 Thread Željko Filipin
On Fri, Jul 10, 2009 at 6:00 PM, George wrote: > Needless to say, I was > able to avoid the multiple layoffs we have had recently! :) Alister, Should we put this on watir.com? :) Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed t

[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? http://www.microsoft.com/downloadS/details.aspx?familyid=E59C3964-672D-4511-BB3E-2D5E1D

[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, plea

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

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

[wtr-general] Re: Need help

2009-07-13 Thread Željko Filipin
On Mon, Jul 13, 2009 at 11:12 AM, rakesh 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 -- http://watirpodcast.com/ --~--~

[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 wrote: > Sir, > The checkboxes id ,name remains same as "selectedevent" but not "a" > or "b" or "c" > Regards, > S.Rakeshsharma --~--~-~--~~~---~--~~ You received this messa

[wtr-general] Re: Need help

2009-07-13 Thread rakesh
The id ,name of the checkboxes is "selectedevent" not "a"or"b"or"c". Regards, S.Rakeshsharma On Jul 13, 2:19 pm, Željko Filipin wrote: > On Mon, Jul 13, 2009 at 11:12 AM, rakesh wrote: > >  In the page the ID,name of the checkbox remains same But the value > > of the check box chnages. > > Wha

[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 wrote: From: rakesh Subject: [wtr-general] Re: Need help To: "Watir General" Date: Monday, July 13, 2009, 11:27 AM The id ,name of the checkb

[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 wrote: > On Mon, Jul 13, 2009 at 11:12 AM, rakesh 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

[wtr-general] Re: Need help

2009-07-13 Thread Željko Filipin
On Mon, Jul 13, 2009 at 11:30 AM, rakesh wrote: > The problem is "how will i select a checkbox in multiple checkboxes" browser.checkbox(:id, "myid").set What is the problem. They all have the same attributes? Can you post the html of checkboxes and let us know which one would you like to select

[wtr-general] Re: Need help

2009-07-13 Thread rakesh
yes ur correct, On Jul 13, 2:33 pm, Željko Filipin wrote: > On Mon, Jul 13, 2009 at 11:30 AM, rakesh wrote: > > The problem is "how will i select a checkbox in multiple checkboxes" > > browser.checkbox(:id, "myid").set > > What is the problem. They all have the same attributes? > > Can you pos

[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 wrote: > > I also see this error for NOT read-only fields sometimes. > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Wati

[wtr-general] Re: Need help

2009-07-13 Thread rakesh
tr style="height:20px;"> Vratham 07-22-2009 Kasi Yatra 07-22-2009 Vara Pooja 07-22-2009 On Jul 13, 2:33 pm, Željko Filipin wrote: > On Mon, Jul 13, 2009 at 11:30 AM, rakesh wrote: > > The problem is "how will i select a ch

[wtr-general] Re: Need help

2009-07-13 Thread Željko Filipin
On Mon, Jul 13, 2009 at 11:57 AM, rakesh wrote: > This will check the first one: b.checkbox(:id, "selectedevent").set This will check the second one: b.checkbox(:id => "selectedevent", :index => 2).set More info: http://wiki.openqa.org/display/WTR/Multiple+Attributes I still do not get the

[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 wrote: > > tr style="height:2

[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 wrote: > On Mon, Jul 13, 2009 at 11:57 AM, rakesh wrote: > > > "selectedevent" id="selectedevent" /> > > This will check the first one: > > b.checkbox(:id, "selectedevent").set >

[wtr-general] Re: Need help

2009-07-13 Thread Željko Filipin
On Mon, Jul 13, 2009 at 12:31 PM, rakesh 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 received this message bec

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

[wtr-general] Re: Need help

2009-07-13 Thread Amit Kumar
Hi Rakesh, try below code. I hope It'll work with ur application. In ur case , every checkbox is in different row thats why indexing was not working for you. browser.form(:name, 'guest').checkbox(:name, "selectedevent").set browser.form(:name, 'guest').table(:index ,3)[3].checkbox(:name, "selecte

[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 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. If browser thinks page

[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 Željko Filipin
On Mon, Jul 13, 2009 at 1:34 PM, Pallavi Sharma wrote: > Like Selenium wont work if the DOM is broken, but watir doesn' get affected by it.. Watir is not html validator. There are tools like that. Watir just automates browser. If browser does not care, Watir does not care. Selenium does not work

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

[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 wrote: > Which XPI you are using & on which Firefox version? > > On Fri, Jul 10, 2009 at 8:08 PM, Al B. wrote:

[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:41 PM, Pallavi Sharma wrote: > Is there a way we can be help to this development? Yes! :) If you can code: I know SafariWatir is not in active development (and Dave, that created it, offered help if anybody wants to take it over): http://safariwatir.rubyforge.org/ Sai

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

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

2009-07-13 Thread Željko Filipin
On Mon, Jul 13, 2009 at 2:06 PM, Pallavi Sharma wrote: > Can we help with Fire-watir and Chrome-Watir to begin with and also can take up some doc work. Wiki is at http://wiki.openqa.org/display/WTR/. Create an account and fix/update/create any documentation you would like. :) You can fix bugs in

[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 & Regard

[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 wrote: > > Hi Angrez, > > Actually, first I have used firefox version 3.0.11 and then i > uninstalled it and installed

[wtr-general] Re: problem in jssh

2009-07-13 Thread venkatesh kumar
firefox 3.01 Thanks Venkat www.prog2impress.com On Mon, Jul 13, 2009 at 12:15 PM, Angrez Singh wrote: > Which Firefox version are you using? Which XPI are you using? > > > On Sat, Jul 11, 2009 at 11:49 PM, venky wrote: > >> >> Hi all, >> >> I worked in fire watir for a month. my scripts were r

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

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

[wtr-general] Re: Object repository

2009-07-13 Thread LFIdnl
Yes On 13 июл, 18:49, Louis Schatzberg 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 > Sent: 13/Jul/2009 6:39

[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 wrote: > Hi there, > We have used cruise control to run our test suites. > We have structured our test scripts with certain conventions. >

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

[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 tag, but the 'class' attribute is not supported for the tag. Hope that helps... orde --~--~-~--~~~---~--~~ You received this message because yo

[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 wrote: > Check out:http://wiki.openqa.org/display/WTR/Methods+Supported+by+Element > > Multiple attributes are supported for the tag, but the 'clas

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

[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 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 "click_no_wai

[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 wrote: > Hello, thanks for this!  I'm looking at the README file and it says: > > >>For correct work install 'libxml-ruby' gem

[wtr-general] Re: problem in jssh

2009-07-13 Thread Angrez Singh
which XPI you are using and i think you want to say 3.10? On Mon, Jul 13, 2009 at 6:39 PM, venkatesh kumar wrote: > firefox 3.01 > > Thanks > Venkat > www.prog2impress.com > > > On Mon, Jul 13, 2009 at 12:15 PM, Angrez Singh wrote: > >> Which Firefox version are you using? Which XPI are you usin