[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 restarting machine but of no use.
Please help on this issue.

Syed
require "watir"

# set a variable
test_site = "http://www.google.com";

# open a browser
browser = Watir::Browser.new

# print some comments
puts "Beginning of test: Google search."

puts " Step 1: go to the test site: " + test_site
browser.goto test_site

puts " Step 2: enter 'pickaxe' in the search text field."
browser.text_field(:name, "q").set "pickaxe" # "q" is the name of the
search field

puts " Step 3: click the 'Google Search' button."
browser.button(:name, "btnG").click # "btnG" is the name of the Search
button


--~--~-~--~~~---~--~~
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: 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 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: 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] Internet Explorer NOT working in normal after i ran the 
watir script
To: "Watir General" 
Date: Monday, July 13, 2009, 8:14 AM


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 restarting machine but of no use.
Please help on this issue.

Syed
require "watir"

# set a variable
test_site = "http://www.google.com";

# open a browser
browser = Watir::Browser.new

# print some comments
puts "Beginning of test: Google search."

puts " Step 1: go to the test site: " + test_site
browser.goto test_site

puts " Step 2: enter 'pickaxe' in the search text field."
browser.text_field(:name, "q").set "pickaxe" # "q" is the name of the
search field

puts " Step 3: click the 'Google Search' button."
browser.button(:name, "btnG").click # "btnG" is the name of the Search
button






  
--~--~-~--~~~---~--~~
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: 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 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

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-2D5E1DB91038&displaylang=en

Ž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: 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, 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] 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 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] 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 checkbox remains same But the value
of the check box chnages. These values are auto generated.


Regards,
 S.Rakeshsharma


--~--~-~--~~~---~--~~
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: 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/

--~--~-~--~~~---~--~~
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: 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 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: 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.
>
> What is the problem? Why don't you use id to check checkbox?
>
> http://wiki.openqa.org/display/WTR/Checkboxes
>
> Ž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: 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 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.
>
> What is the problem? Why don't you use id to check checkbox?
>
> http://wiki.openqa.org/display/WTR/Checkboxes
>
> Ž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: 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't you use id to check checkbox?
>
> http://wiki.openqa.org/display/WTR/Checkboxes
>
> Ž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: 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?

Ž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: 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 post the html of checkboxes and let us know which one would you like
> to select?
>
> Ž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: 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 
"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: 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 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?
>
> Ž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: 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 problem. Do you want to use value to select checkbox?

Ž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: 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:20px;">
> value="c43afa4c-6c81-11de-9983-0016764319d8"  name= "selectedevent"
> id="selectedevent" />
> Vratham
>07-22-2009
>
>
>
> value="d64ac5be-6c81-11de-9983-0016764319d8"  name= "selectedevent"
> id="selectedevent" />
>
> Kasi Yatra
>07-22-2009
>
>
>
> value="e872f2ac-6c81-11de-9983-0016764319d8"  name= "selectedevent"
> id="selectedevent" />
> 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 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?
> >
> > Ž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: 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
>
> 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 problem. Do you want to use value to select checkbox?
>
> Ž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: 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 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: 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 cases like this.

--- On Mon, 7/13/09, Željko Filipin  wrote:

From: Željko Filipin 
Subject: [wtr-general] Re: Need help
To: watir-general@googlegroups.com
Date: Monday, July 13, 2009, 12:33 PM

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 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: 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,
"selectedevent").set
browser.form(:name, 'guest').table(:index ,3)[4].checkbox(:name,
"selectedevent").set

- regards
Amit Kumar

On Jul 13, 3:41 pm, Brautigam Gergely  wrote:
> 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 cases like this.
>
> --- On Mon, 7/13/09, Željko Filipin  wrote:
>
> From: Željko Filipin 
> Subject: [wtr-general] Re: Need help
> To: watir-general@googlegroups.com
> Date: Monday, July 13, 2009, 12:33 PM
>
> 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 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] 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

--~--~-~--~~~---~--~~
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: 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
is fine, Watir will be happy too.

Ž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: 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, 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
> is fine, Watir will be happy too.
>
> Ž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: 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 with invalid html?! How can that be useful at all?
After all, most of the web is not valid html.

Ž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: 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 let me know.

On Mon, Jul 13, 2009 at 5:08 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> 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 with invalid html?! How can that be useful at all?
> After all, most of the web is not valid html.
>
>
> Ž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: 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:
>
> > Hi Angrez.  Thanks for getting back to me.  The error console says:
>
> > Error: Components.classes['@mozilla.org/jssh-server;1'] is undefined
>
> > Source File:
>
> > file:///C:/Documents%20and%20Settings/baracal/Application%20Data/Mozilla/Firefox/Profiles/bmak0f7g.default/extensions/
> > j...@extensions.mozilla.org/components/nsJSShStarter.js
> > Line: 133
>
> > Thanks,
>
> > Al B.
>
> > On Jul 10, 2:50 am, Angrez Singh  wrote:
> > > Can you check event viewer/firefox error console to check if XPI has been
> > > installed correctly?
>
> > > On Thu, Jul 9, 2009 at 7:46 PM, Al B.  wrote:
>
> > > > Hi Angrez,
>
> > > > I tried the steps in your July 8 post, using the XPI for Windows that
> > > > you posted on July 3, and got the following results when I tried to
> > > > run Firewatir:
>
> > > > 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 benchmark.rb:11:in `new'
> > > >from benchmark.rb:11
>
> > > > Also, I couldn't telnet to port 9997.  I don't have a development
> > > > environment with which to build Firefox, so I'm stuck.
>
> > > > Please help!
>
> > > > Thanks,
>
> > > > Al B.
>
> > > > On Jul 8, 2:05 pm, Angrez Singh  wrote:
> > > > > 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 
> > > > 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 
> > 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.com
> > > > >wrote:
>
> > > > > >>> 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 
> > > > wrote:
>
> > > > >  Sure let me know where it fails
>
> > > > >  On Fri, Jul 3, 2009 at 5:28 PM, Gonza 
> > > > 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- 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 option

[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 is working on new Firefox driver:
http://github.com/saivenkat/firedriver/tree/master

and also on ChromeWatir: http://code.google.com/p/chrome-watir/

I am sure Watir and FireWatir code needs some work too:
http://github.com/bret/watir/tree/master

What are you skills? What are you interested in?

Documentation can be better. If you can just answer questions here, that is
great too.

Ž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: 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 everything so
beautifully that i am most of the times left speechless.

I know ruby, .net, c++, mysql, pgsql, vbscript, java script and i guess i
will learn on the way if required more. language is not an issue nor is
logic reasoning.

Can also help with documentation.

I am interested in first making watir available for all browsers, most of
the times watir usage becomed limited when the web-app requires to be tested
on different web- browsers and that limitation hurts.

Can we help with Fire-watir and Chrome-Watir to begin with and also can take
up some doc work.

We are more than willing.


On Mon, Jul 13, 2009 at 5:21 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> 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 is working on new Firefox driver:
> http://github.com/saivenkat/firedriver/tree/master
>
> and also on ChromeWatir: http://code.google.com/p/chrome-watir/
>
> I am sure Watir and FireWatir code needs some work too:
> http://github.com/bret/watir/tree/master
>
> What are you skills? What are you interested in?
>
> Documentation can be better. If you can just answer questions here, that is
> great too.
>
>
> Ž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: 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 Jira: http://jira.openqa.org/browse/WTR (the same
account for wiki will work).

Code is (almost) all at github, fork it, do what you think should be done,
and send pull requests back to original author.

If you need any help, ask here.

Ž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: 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 & Regards,
Aparna

On Jul 10, 6:00 pm, Angrez Singh  wrote:
> But at no point you said you were using Firefox 3.5, there is separate XPI
> for that? Its good that it started working.
>
>
>
> On Fri, Jul 10, 2009 at 6:27 PM, aparna  wrote:
>
> > Hi,
>
> > After enabling telnet, i have uninstalled the firefox version 3.5 and
> > installed version 3.0. The remaining steps are same like installing
> > JSSH extension(0.9) and changing the firefox settings. Then it started
> > working fine.
>
> > Regards,
> > Aparna
>
> > On Jul 10, 11:48 am, Angrez Singh  wrote:
> > > Can you please tell what you did this time that it started working so
> > that
> > > it benefits other people also?
>
> > > On Thu, Jul 9, 2009 at 7:00 PM, aparna  wrote:
>
> > > > Hi Angrez,
>
> > > > finally its working fine for me...
>
> > > > Thanks & Regards,
> > > > Aparna
>
> > > > On Jul 9, 2:48 pm, Angrez Singh  wrote:
> > > > > Can everybody see if they did all the steps mentioned in the
> > installation
> > > > > document? If they are still facing the problem then we can take it
> > from
> > > > > there
>
> > > > > Thanks,
> > > > > Angrez
>
> > > > > On Thu, Jul 9, 2009 at 2:44 PM, khaja shaik 
> > > > wrote:
> > > > > > Hi,
>
> > > > > > I am also getting same error on windows xp.
>
> > > > > > after running the command i got error saying that " Connection
> > failed"
>
> > > > > > Thanks,
> > > > > > Khaja shariff
>
> > > > > > On Thu, Jul 9, 2009 at 11:51 AM, Angrez Singh 
> > > > wrote:
>
> > > > > >> After enabling it do this:
>
> > > > > >> Start -> run -> [firefox installation directory]\firefox.exe -jssh
>
> > > > > >> and then
>
> > > > > >> Start -> run -> cmd -> type "telnet localhost 9997"
>
> > > > > >> Let me know the results.
>
> > > > > >> - Angrez
>
> > > > > >>   On Thu, Jul 9, 2009 at 11:03 AM, aparna 
> > > > wrote:
>
> > > > > >>> 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  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 
> > > > 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  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 
> > wrote:
> > > > > >>> > > > > > sure. I will try that and let you know if any issues.
>
> > > > > >>> > > > > > Thanks,
> > > > > >>> > > > > > Aparna
>
> > > > > >>> > > > > > On Jul 8, 11:17 am, Angrez Singh 
> > wrote:
>
> > > > > >>> > > > > > > Just to make sure, when you try running the scripts
> > you
> > > > get
> > > >

[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 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 & Regards,
> Aparna
>
> On Jul 10, 6:00 pm, Angrez Singh  wrote:
> > But at no point you said you were using Firefox 3.5, there is separate
> XPI
> > for that? Its good that it started working.
> >
> >
> >
> > On Fri, Jul 10, 2009 at 6:27 PM, aparna  wrote:
> >
> > > Hi,
> >
> > > After enabling telnet, i have uninstalled the firefox version 3.5 and
> > > installed version 3.0. The remaining steps are same like installing
> > > JSSH extension(0.9) and changing the firefox settings. Then it started
> > > working fine.
> >
> > > Regards,
> > > Aparna
> >
> > > On Jul 10, 11:48 am, Angrez Singh  wrote:
> > > > Can you please tell what you did this time that it started working so
> > > that
> > > > it benefits other people also?
> >
> > > > On Thu, Jul 9, 2009 at 7:00 PM, aparna 
> wrote:
> >
> > > > > Hi Angrez,
> >
> > > > > finally its working fine for me...
> >
> > > > > Thanks & Regards,
> > > > > Aparna
> >
> > > > > On Jul 9, 2:48 pm, Angrez Singh  wrote:
> > > > > > Can everybody see if they did all the steps mentioned in the
> > > installation
> > > > > > document? If they are still facing the problem then we can take
> it
> > > from
> > > > > > there
> >
> > > > > > Thanks,
> > > > > > Angrez
> >
> > > > > > On Thu, Jul 9, 2009 at 2:44 PM, khaja shaik <
> khaja.sh...@gmail.com>
> > > > > wrote:
> > > > > > > Hi,
> >
> > > > > > > I am also getting same error on windows xp.
> >
> > > > > > > after running the command i got error saying that " Connection
> > > failed"
> >
> > > > > > > Thanks,
> > > > > > > Khaja shariff
> >
> > > > > > > On Thu, Jul 9, 2009 at 11:51 AM, Angrez Singh <
> ang...@gmail.com>
> > > > > wrote:
> >
> > > > > > >> After enabling it do this:
> >
> > > > > > >> Start -> run -> [firefox installation directory]\firefox.exe
> -jssh
> >
> > > > > > >> and then
> >
> > > > > > >> Start -> run -> cmd -> type "telnet localhost 9997"
> >
> > > > > > >> Let me know the results.
> >
> > > > > > >> - Angrez
> >
> > > > > > >>   On Thu, Jul 9, 2009 at 11:03 AM, aparna <
> aparna.m...@gmail.com>
> > > > > wrote:
> >
> > > > > > >>> 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  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 
> 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
> > > > > > >>> > > > > gett

[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 running fine. Due
>> to some other reason i had to format my hard disk.
>>
>> I installed firewatir with jssh extension but now the same script is
>> not running am getting a error like this
>>
>> 
>> 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'
>> 
>>
>> i have tried reinstalling firewatir and firefox browser along with
>> jssh for few times but error still persists. What going wrong can any
>> body throw some light on this?
>>
>> Thanks,
>> Venky
>> www.prog2impress.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: 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] Object repository

Hello all. I've created an object repository for Watir. May be it will be 
useful for someone. Documentation and examples are in README file



--~--~-~--~~~---~--~~
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: 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 Jul 13, 2:46 pm, "rakesh sharma" 
wrote:
> Hello Željko,
>  ur correct,
>  Here is the page .
>  Regards,
>   Rakesh
>
> The information contained in this electronic message and any attachments to 
> this message are intended for the exclusive
> use of the addressee(s) and may contain proprietary, confidential or 
> privileged information. If you are not the intended
>  recipient, you should not disseminate, distribute or copy this e-mail. 
> Please notify the sender immediately and destroy
>  all copies of this message and any attachments contained in it.
>
>  createguest.htm
> 54KViewDownload
--~--~-~--~~~---~--~~
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: 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 AM
> To: watir-general@googlegroups.com
> Subject: [wtr-general] Object repository
>
> Hello all. I've created an object repository for Watir. May be it will be 
> useful for someone. Documentation and examples are in README file
--~--~-~--~~~---~--~~
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 + 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.
>
> 1) We have an ERP suite which has different watir scripts for different
> projects. each set is developed and maintained by different testers.
>
> 2) All of us follow this. - we have a folder called "*regression*" where all
> our test case ruby files are stored in there. Each testcase file is named as
> *test_*.rb.
>
> Each test case class name starts with _TC_. We use
> TEST::UNIT framework.
> Using Watir::TestCase did not solve the problem of determining the order of
> execution. So we instead used  in the class name so that all
> those testcases under that project will be executed as one set after which
> other scripts of another PROJECT is run. Does not matter which PROJECT is
> run first as long as the whole set is run.
>
> 3) Along with regression as a folder, we also have "*common*" as another
> folder where our common files like utils and constants are placed there
>
> 4) On cruise control, on top of all the PROJECT folders, we have a *setup.rb
> * file which is a simple ruby file with one line -
> which does the foll:
> "require' all those testcases under regression folder starting with test_*
>
> this will get all the scripts grouped by PROJECTNAME class.
>
> 5) In Cruise control build file, have set up the ant target as run.watir
> which runs *setup.rb*
> Before we started using  in the class name, all the testcase
> scripts in different projects were getting jumbled up
> and hence the name.
>
> 6) We are using ci_reporter for results and publising the results by sending
> a mail (target is set in cruise control config.xml)
> and we give the CC dashboard link in the mail to view the results.
>
> Regards,
> Pallavi
>
> On Mon, Jul 13, 2009 at 5:57 AM, Zhimin  wrote:
>
> >http://www.itest2.com/articles/2009/03/22/setup-continuous-build-serv...
>
> > It uses ci_reporter as well.
>
> > Zhimin
> >http://www.itest2.com
>
> > On Jul 10, 3:58 am, Dylan  wrote:
> > > Does anyone know of a good tutorial/step-by-step instructions for how
> > > to integrate watir/ruby into a cruise control build cycle. I have 1
> > > xml output file (from ci_reporter) and I want my script to run after
> > > the build and then integrate the xml results into the cruise control
> > > output. Thanks!
>
> > > -Dylan
--~--~-~--~~~---~--~~
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 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_no_wait on that). I'm not sure how hard that would be
to extend watir to do. Then you can run a while loop (this is
pseudocode):

start = Time.now
while Time.now - start <= 20
if ($ie.text.include? "Some text on the page")
  Write to log file that page loaded in Time.now-start seconds
   end
end

Write to log file that page did not load within 20 seconds


Alternatively, you can use a Timeout, which neatly sidesteps the
freeze while a page loads (actual code):

require 'watir'
require 'timeout'
mylog= File.new( Time.now.strftime("%d-%b-%y") + ".csv",'a')
$ie = Watir::IE.new
ltitle = ""
start = Time.now
begin
   Timeout::timeout(20) do
   $ie.goto("http://www.localhost";)
   ltitle = $ie.title
   if $ie.text.include?("Home")
 stop = Time.now
 mylog.puts Time.now.strftime("%I:%M:%S%p").to_s + "," +
"Page Loaded Successfully" + "," + (stop-start).to_s
   else
 mylog.puts Time.now.strftime("%I:%M:%S%p").to_s + "," +
"Failed to load the URL" + "," + ltitle.to_s
   end
   end
rescue Timeout::Error
   mylog.puts Time.now.strftime("%I:%M:%S%p").to_s + "," + "Taking
more time to respond" + ",20"
rescue => e
   mylog.puts Time.now.strftime("%I:%M:%S%p").to_s + "," + "Failed to
load the URL" + "," + ltitle.to_s + "," + e.to_s
end
$ie.close

Hope that helps!

On Jul 5, 11:54 pm, Soori  wrote:
> Hi All,
>
> I would like to monitor the load time of an web page once in a 15 mins
> for 2hrs, i should log in a file if the load time of that web page
> exceeds 20secs, I tried with following code, but sometimes my page
> takes more than 100 secs to load, am getting that message after that
> 100 sec, It would be better if i get the entry on log file immediately
> after exceeding the 20 secs.Please help me in this front. Thanks in
> advance for ur help.
>
> require 'watir'
> mylog= File.new( Time.now.strftime("%d-%b-%y") + ".csv",'a')
> $ie=IE.new
>   begin
>   startTime=Time.now
>   $ie.goto('http://localhost/')
>   x=Time.now-startTime
>   ltitle=$ie.title
>   if x > 20
>     mylog.puts Time.now.strftime("%I:%M:%S%p").to_s + "," + "Taking
> more time to respond" + "," + x.to_s
>
>  elsif $ie.text.include?("Home")
>     mylog.puts Time.now.strftime("%I:%M:%S%p").to_s + "," +  "Page
> Loaded Successfully" + "," + x.to_s
>  else
>     mylog.puts Time.now.strftime("%I:%M:%S%p").to_s + "," + "Failed to
> load the URL" + "," + ltitle.to_s
>   end
> rescue => e
>     mylog.puts Time.now.strftime("%I:%M:%S%p").to_s + "," + "Failed to
> load the URL" + "," + ltitle.to_s + "," + e.to_s
> end
>
> /Soori
--~--~-~--~~~---~--~~
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: 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 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: 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 'class'
> attribute is not supported for the  tag.
>
> Hope that helps...
>
> orde
--~--~-~--~~~---~--~~
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: 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,

George



On Jul 13, 3:39 am, Ivan Kabluchkov  wrote:
> Hello all. I've created an object repository for Watir. May be it will
> be useful for someone. Documentation and examples are in README file
>
>  rep.zip
> 2KViewDownload
--~--~-~--~~~---~--~~
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 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_wait" for "goto" (or
> you can justwrite a tiny html file that just has a link to the page
> and call click_no_wait on that). I'm not sure how hard that would be
> to extend watir to do. Then you can run a while loop (this is
> pseudocode):
>
> start = Time.now
> while Time.now - start <= 20
>     if ($ie.text.include? "Some text on the page")
>           Write to log file that page loaded in Time.now-start seconds
>    end
> end
>
> Write to log file that page did not load within 20 seconds
>
> Alternatively, you can use a Timeout, which neatly sidesteps the
> freeze while a page loads (actual code):
>
> require 'watir'
> require 'timeout'
> mylog= File.new( Time.now.strftime("%d-%b-%y") + ".csv",'a')
> $ie = Watir::IE.new
> ltitle = ""
> start = Time.now
> begin
>    Timeout::timeout(20) do
>        $ie.goto("http://www.localhost";)
>        ltitle = $ie.title
>        if $ie.text.include?("Home")
>              stop = Time.now
>              mylog.puts Time.now.strftime("%I:%M:%S%p").to_s + "," +
> "Page Loaded Successfully" + "," + (stop-start).to_s
>        else
>              mylog.puts Time.now.strftime("%I:%M:%S%p").to_s + "," +
> "Failed to load the URL" + "," + ltitle.to_s
>        end
>    end
> rescue Timeout::Error
>    mylog.puts Time.now.strftime("%I:%M:%S%p").to_s + "," + "Taking
> more time to respond" + ",20"
> rescue => e
>    mylog.puts Time.now.strftime("%I:%M:%S%p").to_s + "," + "Failed to
> load the URL" + "," + ltitle.to_s + "," + e.to_s
> end
> $ie.close
>
> Hope that helps!
>
> On Jul 5, 11:54 pm, Soori  wrote:
>
> > Hi All,
>
> > I would like to monitor the load time of an web page once in a 15 mins
> > for 2hrs, i should log in a file if the load time of that web page
> > exceeds 20secs, I tried with following code, but sometimes my page
> > takes more than 100 secs to load, am getting that message after that
> > 100 sec, It would be better if i get the entry on log file immediately
> > after exceeding the 20 secs.Please help me in this front. Thanks in
> > advance for ur help.
>
> > require 'watir'
> > mylog= File.new( Time.now.strftime("%d-%b-%y") + ".csv",'a')
> > $ie=IE.new
> >   begin
> >   startTime=Time.now
> >   $ie.goto('http://localhost/')
> >   x=Time.now-startTime
> >   ltitle=$ie.title
> >   if x > 20
> >     mylog.puts Time.now.strftime("%I:%M:%S%p").to_s + "," + "Taking
> > more time to respond" + "," + x.to_s
>
> >  elsif $ie.text.include?("Home")
> >     mylog.puts Time.now.strftime("%I:%M:%S%p").to_s + "," +  "Page
> > Loaded Successfully" + "," + x.to_s
> >  else
> >     mylog.puts Time.now.strftime("%I:%M:%S%p").to_s + "," + "Failed to
> > load the URL" + "," + ltitle.to_s
> >   end
> > rescue => e
> >     mylog.puts Time.now.strftime("%I:%M:%S%p").to_s + "," + "Failed to
> > load the URL" + "," + ltitle.to_s + "," + e.to_s
> > end
>
> > /Soori
--~--~-~--~~~---~--~~
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: 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 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,
>
> George
>
> On Jul 13, 3:39 am, Ivan Kabluchkov  wrote:
>
> > Hello all. I've created an object repository for Watir. May be it will
> > be useful for someone. Documentation and examples are in README file
>
> >  rep.zip
> > 2KViewDownload
>
>
--~--~-~--~~~---~--~~
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: 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 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 running fine. Due
>>> to some other reason i had to format my hard disk.
>>>
>>> I installed firewatir with jssh extension but now the same script is
>>> not running am getting a error like this
>>>
>>> 
>>> 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'
>>> 
>>>
>>> i have tried reinstalling firewatir and firefox browser along with
>>> jssh for few times but error still persists. What going wrong can any
>>> body throw some light on this?
>>>
>>> Thanks,
>>> Venky
>>> www.prog2impress.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
-~--~~~~--~~--~--~---