Re: [wtr-general] Watir at Wikipedia

2010-08-31 Thread Pallavi Sharma
Hi

The handling pp ups example should link to the popup handling example at the
watir site. It tells watir can be used for firefox, chrome, but there are
different version of watir which does. Fire watir.

It also starts talking about some tit bits to help people in developing
frameworks, like interfacing with excel, csv file, which was good. I liked
it, but may be it can be organized, in a manner people dont relate it to
watir the gem directly.

hope this helps.

Regards
Pallavi.

On Tue, Aug 31, 2010 at 3:46 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> There is an article on Watir at Wikipedia [1]. I have decided to clean it
> up, because it was out of date. If anybody has a minute, please take a look,
> fix something, or let me know what should be fixed.
>
> Thanks,
>
> Željko
> --
> [1] http://en.wikipedia.org/wiki/Watir
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] using regular expression

2010-08-23 Thread Pallavi Sharma
:) great.. all the best

Regards
Pallavi.

On Mon, Aug 23, 2010 at 9:01 PM, chunchu kartheek  wrote:

> Thanks alot pallavi its working now
>
> On Mon, Aug 23, 2010 at 10:45 AM, Pallavi Sharma 
> wrote:
>
>> Hi
>>
>> I believe first you would have to get the count of check boxes in your
>> page ... e.g. " ie.checkboxes.each { |c| puts c.to_s } "
>>
>> if they are in a table you can get the rows of your table.
>>
>> and you may use regular expression in here
>>
>> ie.checkbox(:name, /checkbox_/).set
>>
>> This should be able to get you going.
>>
>>
>> Regards
>> Pallavi.
>>
>>
>>
>> On Sun, Aug 22, 2010 at 9:43 PM, goutham mandadi <
>> goutham.mand...@gmail.com> wrote:
>>
>>> Hai Pallavi ,
>>>
>>> Thanks alot for your reply it is working ,suppose if i am not having
>>> numbers how can i do that
>>>
>>> example :checkbox_one
>>>   checkbox_two
>>>   checkbox_three are the checkbox names for 3 different users
>>> the text at the end is changing so my script is not working. i need to set
>>> the checkbox that starts with checkbox_  for all the users. selecting a
>>> single checkbox is enough.
>>> Can you please help me on this.
>>>
>>> Thankyou,
>>> Kartheek
>>>
>>>
>>>
>>>
>>>
>>>   On Sun, Aug 22, 2010 at 7:09 PM, Pallavi Sharma <
>>> write2pall...@gmail.com> wrote:
>>>
>>>>  Hi
>>>>
>>>> If you wish to select multiple check boxes, may be you would require a
>>>> 'for' loop and some code like this:
>>>>
>>>> for i in (1..5)
>>>>
>>>>str= "ie.frame(:id,'frame').checkbox(:name, checkbox_" + i.to_s
>>>>obj=eval str
>>>>obj.set
>>>>
>>>> end
>>>>
>>>> Regards
>>>> Pallavi.
>>>>
>>>>
>>>> On Sun, Aug 22, 2010 at 11:49 AM, chunchu kartheek <
>>>> chunchukarth...@gmail.com> wrote:
>>>>
>>>>> Hai,
>>>>>
>>>>> i am having multiple check boxes in a frame i need to select multiples
>>>>> checkboxe
>>>>>
>>>>> i am having checkbox names as checkbox_1 checkbox_2 checkbox_3 and so.
>>>>> can i use regular expression here for names of checkboxe if possible
>>>>> how to do that
>>>>>
>>>>> ie.frame(:id,"frame").checkbox(:name,"checkbox_1" ).set
>>>>>
>>>>> Can anyone please help me on this
>>>>>
>>>>> Thankyou,
>>>>> Kartheek
>>>>>
>>>>> --
>>>>> Before posting, please read http://watir.com/support. In short: search
>>>>> before you ask, be nice.
>>>>>
>>>>> You received this message because you are subscribed to
>>>>> http://groups.google.com/group/watir-general
>>>>> To post: watir-general@googlegroups.com
>>>>> To unsubscribe: 
>>>>> watir-general+unsubscr...@googlegroups.com
>>>>>
>>>>
>>>>   --
>>>> Before posting, please read http://watir.com/support. In short: search
>>>> before you ask, be nice.
>>>>
>>>> You received this message because you are subscribed to
>>>> http://groups.google.com/group/watir-general
>>>> To post: watir-general@googlegroups.com
>>>> To unsubscribe: 
>>>> watir-general+unsubscr...@googlegroups.com
>>>>
>>>
>>> --
>>>  Before posting, please read http://watir.com/support. In short: search
>>> before you ask, be nice.
>>>
>>> You received this message because you are subscribed to
>>> http://groups.google.com/group/watir-general
>>> To post: watir-general@googlegroups.com
>>> To unsubscribe: 
>>> watir-general+unsubscr...@googlegroups.com
>>>
>>
>> --
>>  Before posting, please read http://watir.com/support. In short: search
>> before you ask, be nice.
>>
>> You received this message because you are subscribed to
>> http://groups.google.com/group/watir-general
>> To post: watir-general@googlegroups.com
>> To unsubscribe: 
>> watir-general+unsubscr...@googlegroups.com
>>
>
>  --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


[wtr-general] Re: WATiR Query

2010-08-23 Thread Pallavi Sharma
Adding Watir group, for everyone's benefit.

Best place is www.watir.com go to the documentation part you have nice well
explained examples. and some great cheat sheets

ruby, www.ruby.org,

rest the more you do it the more you learn...

Regards
Pallavi.

On Mon, Aug 23, 2010 at 10:48 AM, Mohamed Rafiq wrote:

> Hi Pallavi,
>
> Whats the best way to learn Ruby & Watir
>
> Any inputs
>
> Thanks
> Rafiq
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] using regular expression

2010-08-22 Thread Pallavi Sharma
Hi

I believe first you would have to get the count of check boxes in your page
... e.g. " ie.checkboxes.each { |c| puts c.to_s } "

if they are in a table you can get the rows of your table.

and you may use regular expression in here

ie.checkbox(:name, /checkbox_/).set

This should be able to get you going.


Regards
Pallavi.



On Sun, Aug 22, 2010 at 9:43 PM, goutham mandadi
wrote:

> Hai Pallavi ,
>
> Thanks alot for your reply it is working ,suppose if i am not having
> numbers how can i do that
>
> example :checkbox_one
>   checkbox_two
>   checkbox_three are the checkbox names for 3 different users
> the text at the end is changing so my script is not working. i need to set
> the checkbox that starts with checkbox_  for all the users. selecting a
> single checkbox is enough.
> Can you please help me on this.
>
> Thankyou,
> Kartheek
>
>
>
>
>
> On Sun, Aug 22, 2010 at 7:09 PM, Pallavi Sharma 
> wrote:
>
>> Hi
>>
>> If you wish to select multiple check boxes, may be you would require a
>> 'for' loop and some code like this:
>>
>> for i in (1..5)
>>
>>str= "ie.frame(:id,'frame').checkbox(:name, checkbox_" + i.to_s
>>obj=eval str
>>obj.set
>>
>> end
>>
>> Regards
>> Pallavi.
>>
>>
>> On Sun, Aug 22, 2010 at 11:49 AM, chunchu kartheek <
>> chunchukarth...@gmail.com> wrote:
>>
>>> Hai,
>>>
>>> i am having multiple check boxes in a frame i need to select multiples
>>> checkboxe
>>>
>>> i am having checkbox names as checkbox_1 checkbox_2 checkbox_3 and so.
>>> can i use regular expression here for names of checkboxe if possible
>>> how to do that
>>>
>>> ie.frame(:id,"frame").checkbox(:name,"checkbox_1" ).set
>>>
>>> Can anyone please help me on this
>>>
>>> Thankyou,
>>> Kartheek
>>>
>>> --
>>> Before posting, please read http://watir.com/support. In short: search
>>> before you ask, be nice.
>>>
>>> You received this message because you are subscribed to
>>> http://groups.google.com/group/watir-general
>>> To post: watir-general@googlegroups.com
>>> To unsubscribe: 
>>> watir-general+unsubscr...@googlegroups.com
>>>
>>
>>   --
>> Before posting, please read http://watir.com/support. In short: search
>> before you ask, be nice.
>>
>> You received this message because you are subscribed to
>> http://groups.google.com/group/watir-general
>> To post: watir-general@googlegroups.com
>> To unsubscribe: 
>> watir-general+unsubscr...@googlegroups.com
>>
>
>  --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] using regular expression

2010-08-22 Thread Pallavi Sharma
Hi

If you wish to select multiple check boxes, may be you would require a 'for'
loop and some code like this:

for i in (1..5)

   str= "ie.frame(:id,'frame').checkbox(:name, checkbox_" + i.to_s
   obj=eval str
   obj.set

end

Regards
Pallavi.

On Sun, Aug 22, 2010 at 11:49 AM, chunchu kartheek <
chunchukarth...@gmail.com> wrote:

> Hai,
>
> i am having multiple check boxes in a frame i need to select multiples
> checkboxe
>
> i am having checkbox names as checkbox_1 checkbox_2 checkbox_3 and so.
> can i use regular expression here for names of checkboxe if possible
> how to do that
>
> ie.frame(:id,"frame").checkbox(:name,"checkbox_1" ).set
>
> Can anyone please help me on this
>
> Thankyou,
> Kartheek
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Speed/Delay

2010-08-20 Thread Pallavi Sharma
Hi

Which version are you using? It works fine with 1.6.2.

Regards
Pallavi.

On Sat, Aug 21, 2010 at 2:10 AM, ravi  wrote:

> The cheat sheet here(http://wiki.openqa.org/display/WTR/Cheat+Sheet)
> specifies a parameter called "speed" for the browser object which can
> be used to set the browser's speed. However this option seems to be
> deprecated in the latest version, my browser objects do not have any
> attributes/methods called speed!
>
> I would like to know if there is any other option currently available
> that I can use to speed up my tests.
>
>
> Thanks,
> Ravi
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Re: How to select a item from the dropbox

2010-08-16 Thread Pallavi Sharma
Hi Sudhir

Chuck is right in here stating the same, i am just trying here to identify
hat after you login you get frames in your application, just make sure if
your select list is in a frame you give the right object identification, and
another thing, if the select list is identified as an object than like Chuck
stated, there must be an event which has to be fired so that you are able to
select the element in the list, if just .select is not working.


require 'watir'
begin

test_site = 'http://newpmr2prod.jpmorgan.com/PM/PMlogin.do'
 b = Watir::Browser.new
 b.goto(test_site)
 b.text_field(:name, "userID").set("sudhikumar")
 b.text_field(:name, "password").set("jpm")
 b.form(:action, "/PM/PMlogin.do").submit
 b.show_frames
 b.frame(:name, "menuMiddle").link(:text, "Performance").click
 if b.select_list(:name, 'level0').exists? then
  puts "true"
   b.select_list(:name, 'level0').select ("00990")
 end
rescue Exception => ex
 puts ex.message
end


Whats your out put in here? Is it possible to give a session like using team
viewer or web ex, to see whats happening in there... if not allowed to
access the site?


Regards
Pallavi.

On Tue, Aug 17, 2010 at 4:37 AM, Chuck van der Linden wrote:

> It doesn't make any sense that a change later in the script would
> cause a problem with logging in, unless perhaps you had not logged out
> the prior user, it was the same browser session, and an active session
> still existed?, or there were cookies or some other means by which an
> active session was persisted?   For tests like this I'd always make
> sure the user is logged out, before you try to run the script.
>
> The selection list looks pretty much like a normal select list other
> than having a javascript onchange event in there.  So I'd try
> addressing it like a normal selection list, but I'd also after
> using .select  to pick an option by name, I'd add a command to fire
> the onchange method on the select_list element, which should give the
> javascript a chance to do it's stuff.
>
> On Aug 16, 6:04 am, sudhir  wrote:
> > require 'watir'
> > begin
> >  test_site = 'http://newpmr2prod.jpmorgan.com/PM/PMlogin.do'
> >  b = Watir::Browser.new
> >
> >  b.goto(test_site)
> >  b.text_field(:name, "userID").set("sudhikumar")
> >  b.text_field(:name, "password").set("jpm")
> >  b.form(:action, "/PM/PMlogin.do").submit
> >  #b.show_frames()
> >  b.frame(:name, "menuMiddle").link(:text, "Performance").click
> >  #b.select_list(:name, 'level0').select ("00990")
> >  rescue Exception => ex
> >
> >  end
> > => false
> > => 2.172
> > irb(main):087:0> require 'watir'
> > begin
> >  test_site = 'http://newpmr2prod.jpmorgan.com/PM/PMlogin.do'
> >  b = Watir::Browser.new
> >
> >  b.goto(test_site)
> >  b.text_field(:name, "userID").set("sudhikumar")
> >  b.text_field(:name, "password").set("jpm")
> >  b.form(:action, "/PM/PMlogin.do").submit
> >  #b.show_frames()
> >  b.frame(:name, "menuMiddle").link(:text, "Performance").click
> >  b.select_list(:name, 'level0').select ("00990")
> >  rescue Exception => ex
> >
> >  end
> > => false
> > Errno::EBADF: Bad file descriptor
> > from (irb):98:in `write'
> >
> > See the two executionFirst one able to login
> > but with b.show_frames() not able to login
> >
> > On Aug 16, 5:23 pm, Pallavi Sharma  wrote:
> >
> >
> >
> > > Sudhir
> >
> > > Do this:
> >
> > > require 'watir'
> > > begin
> > >  test_site = '.'
> > >  b = Watir::Browser.new
> > >  b.goto(test_site)
> > >  b.text_field(:name, "userID").set("sudhikumar")
> > >  b.text_field(:name, "password").set("jpm")
> > >  b.form(:action, "/PM/PMlogin.do").submit
> > >  b.show_frames()  ##TO GET THE NAME OF THE FRAMES##
> >
> > >  b.frame(:name, "menuMiddle").link(:text, "Performance").click
> > >  #b.select_list(:name, 'level0').select ("00990")
> > >  rescue Exception => ex
> > >  puts ex.message
> > >  end
> >
> > > Is it possible that the select list you are trying to access is also in
> a
> > > frame??
> &g

Re: [wtr-general] Re: How to select a item from the dropbox

2010-08-16 Thread Pallavi Sharma
Sudhir

Do this:

require 'watir'
begin
 test_site = '.'
 b = Watir::Browser.new
 b.goto(test_site)
 b.text_field(:name, "userID").set("sudhikumar")
 b.text_field(:name, "password").set("jpm")
 b.form(:action, "/PM/PMlogin.do").submit
 b.show_frames()  ##TO GET THE NAME OF THE FRAMES##

 b.frame(:name, "menuMiddle").link(:text, "Performance").click
 #b.select_list(:name, 'level0').select ("00990")
 rescue Exception => ex
 puts ex.message
 end


Is it possible that the select list you are trying to access is also in a
frame??

Regards
Pallavi


2010/8/16 Pallavi Sharma 

> Sudhir
>
> Do this:
>
> require 'watir'
> begin
>  test_site = '.'
>  b = Watir::Browser.new
>
>  b.goto(test_site)
>  b.text_field(:name, "userID").set("sudhikumar")
>  b.text_field(:name, "password").set("jpm")
>  b.form(:action, "/PM/PMlogin.do").submit
>  b.show_frames()
>
>  b.frame(:name, "menuMiddle").link(:text, "Performance").click
>  #b.select_list(:name, 'level0').select ("00990")
>  rescue Exception => ex
>
>  end
>
>
> 2010/8/16 sudhir 
>
>> require 'watir'
>>
>>  test_site = '.'
>>
>> b = Watir::Browser.new
>>
>>  b.goto(test_site)
>>  b.text_field(:name, "userID").set("sudhikumar")
>>  b.text_field(:name, "password").set("jpm")
>>  b.form(:action, "/PM/PMlogin.do").submit
>>  b.frame(:name, "menuMiddle").link(:text, "Performance").click
>>
>> Instead of exception I am able to login with above userid and pwd and
>> upto "Performance" click
>>
>> On Aug 16, 2:40 pm, Pallavi Sharma  wrote:
>> > No Sudhir
>> >
>> > You are getting this exception for all objects in your application.
>> remove
>> > all code and just try the setting user id,
>> >
>> > Does your application has frames...?
>> >
>> > Regards
>> > Pallavi.
>> >
>> > On Mon, Aug 16, 2010 at 2:42 PM, sudhir  wrote:
>> > > require 'watir'
>> > >  test_site = '.'
>> >
>> > > b = Watir::Browser.new
>> >
>> > >  b.goto(test_site)
>> > >  b.text_field(:name, "userID").set("sudhikumar")
>> > >  b.text_field(:name, "password").set("jpm")
>> > >  b.form(:action, "/PM/PMlogin.do").submit
>> > >  b.frame(:name, "menuMiddle").link(:text, "Performance").click
>> > >  b.select_list(:name, 'level0').select ("00990")
>> >
>> > >
>> b.select_list(:name,'selectedReportDetailsString').select("SecurityPerformance##4##
>> > > ## || ##RPTTYP##PERF|| ||")
>> > > => false
>> > > => "http://newpmr2prod.jpmorgan.com/PM/PMlogin.do";
>> > > => #
>> > > => 5.391
>> > > Watir::Exception::UnknownObjectException: Unable to locate element,
>> > > using :name, "userID"
>> > >from
>> > > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
>> > > 56:in `assert_exists'
>> > >from
>> > > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
>> > > 288:in `enabled?'
>> > >from
>> > > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
>> > > 60:in `assert_enabled'
>> > >from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/
>> > > input_elements.rb:327:in `set'
>> > >from (irb):27
>> > >from :0
>> > > Watir::Exception::UnknownObjectException: Unable to locate element,
>> > > using :name, "password"
>> > >from
>> > > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
>> > > 56:in `assert_exists'
>> > >from
>> > > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
>> > > 288:in `enabled?'
>> > >from
>> > > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
>> > > 60:in `assert_enabled'
>> > >from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/
>> > > input_elemen

Re: [wtr-general] Re: How to select a item from the dropbox

2010-08-16 Thread Pallavi Sharma
Sudhir

Do this:

require 'watir'
begin
 test_site = '.'
 b = Watir::Browser.new

 b.goto(test_site)
 b.text_field(:name, "userID").set("sudhikumar")
 b.text_field(:name, "password").set("jpm")
 b.form(:action, "/PM/PMlogin.do").submit
 b.show_frames()
 b.frame(:name, "menuMiddle").link(:text, "Performance").click
 #b.select_list(:name, 'level0').select ("00990")
 rescue Exception => ex

 end


2010/8/16 sudhir 

> require 'watir'
>  test_site = '.'
>
> b = Watir::Browser.new
>
>  b.goto(test_site)
>  b.text_field(:name, "userID").set("sudhikumar")
>  b.text_field(:name, "password").set("jpm")
>  b.form(:action, "/PM/PMlogin.do").submit
>  b.frame(:name, "menuMiddle").link(:text, "Performance").click
>
> Instead of exception I am able to login with above userid and pwd and
> upto "Performance" click
>
> On Aug 16, 2:40 pm, Pallavi Sharma  wrote:
> > No Sudhir
> >
> > You are getting this exception for all objects in your application.
> remove
> > all code and just try the setting user id,
> >
> > Does your application has frames...?
> >
> > Regards
> > Pallavi.
> >
> > On Mon, Aug 16, 2010 at 2:42 PM, sudhir  wrote:
> > > require 'watir'
> > >  test_site = '.'
> >
> > > b = Watir::Browser.new
> >
> > >  b.goto(test_site)
> > >  b.text_field(:name, "userID").set("sudhikumar")
> > >  b.text_field(:name, "password").set("jpm")
> > >  b.form(:action, "/PM/PMlogin.do").submit
> > >  b.frame(:name, "menuMiddle").link(:text, "Performance").click
> > >  b.select_list(:name, 'level0').select ("00990")
> >
> > >
> b.select_list(:name,'selectedReportDetailsString').select("SecurityPerformance##4##
> > > ## || ##RPTTYP##PERF|| ||")
> > > => false
> > > => "http://newpmr2prod.jpmorgan.com/PM/PMlogin.do";
> > > => #
> > > => 5.391
> > > Watir::Exception::UnknownObjectException: Unable to locate element,
> > > using :name, "userID"
> > >from
> > > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
> > > 56:in `assert_exists'
> > >from
> > > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
> > > 288:in `enabled?'
> > >from
> > > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
> > > 60:in `assert_enabled'
> > >from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/
> > > input_elements.rb:327:in `set'
> > >from (irb):27
> > >from :0
> > > Watir::Exception::UnknownObjectException: Unable to locate element,
> > > using :name, "password"
> > >from
> > > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
> > > 56:in `assert_exists'
> > >from
> > > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
> > > 288:in `enabled?'
> > >from
> > > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
> > > 60:in `assert_enabled'
> > >from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/
> > > input_elements.rb:327:in `set'
> > >from (irb):28
> > >from :0
> > > Watir::Exception::UnknownFormException: Unable to locate a form using
> > > action and /PM/PMlogin.do
> > >from
> C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/form.rb:
> > > 79:in `assert_exists'
> > >from
> C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/form.rb:
> > > 86:in `submit'
> > >from (irb):29
> > >from :0
> > > => 1.734
> > > Errno::EBADF: Bad file descriptor
> > >from (irb):31:in `write'
> > > Watir::Exception::UnknownObjectException: Unable to locate element,
> > > using :name, "selectedReportDetailsString"
> > >from
> > > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
> > > 56:in `assert_exists'
> > >from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/
> > > input_elements.rb:62:in `select_item_in_select_lis

Re: [wtr-general] Re: How to select a item from the dropbox

2010-08-16 Thread Pallavi Sharma
No Sudhir

You are getting this exception for all objects in your application. remove
all code and just try the setting user id,

Does your application has frames...?


Regards
Pallavi.

On Mon, Aug 16, 2010 at 2:42 PM, sudhir  wrote:

> require 'watir'
>  test_site = '.'
>
> b = Watir::Browser.new
>
>  b.goto(test_site)
>  b.text_field(:name, "userID").set("sudhikumar")
>  b.text_field(:name, "password").set("jpm")
>  b.form(:action, "/PM/PMlogin.do").submit
>  b.frame(:name, "menuMiddle").link(:text, "Performance").click
>  b.select_list(:name, 'level0').select ("00990")
>
>
> b.select_list(:name,'selectedReportDetailsString').select("SecurityPerformance##4##
> ## || ##RPTTYP##PERF|| ||")
> => false
> => "http://newpmr2prod.jpmorgan.com/PM/PMlogin.do";
> => #
> => 5.391
> Watir::Exception::UnknownObjectException: Unable to locate element,
> using :name, "userID"
>from
> C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
> 56:in `assert_exists'
>from
> C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
> 288:in `enabled?'
>from
> C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
> 60:in `assert_enabled'
>from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/
> input_elements.rb:327:in `set'
>from (irb):27
>from :0
> Watir::Exception::UnknownObjectException: Unable to locate element,
> using :name, "password"
>from
> C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
> 56:in `assert_exists'
>from
> C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
> 288:in `enabled?'
>from
> C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
> 60:in `assert_enabled'
>from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/
> input_elements.rb:327:in `set'
>from (irb):28
>from :0
> Watir::Exception::UnknownFormException: Unable to locate a form using
> action and /PM/PMlogin.do
>from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/form.rb:
> 79:in `assert_exists'
>from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/form.rb:
> 86:in `submit'
>from (irb):29
>from :0
> => 1.734
> Errno::EBADF: Bad file descriptor
>from (irb):31:in `write'
> Watir::Exception::UnknownObjectException: Unable to locate element,
> using :name, "selectedReportDetailsString"
>from
> C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
> 56:in `assert_exists'
>from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/
> input_elements.rb:62:in `select_item_in_select_list'
>from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/
> input_elements.rb:46:in `select'
>from (irb):32
>from :0
>
>
> I am getting the above error while selecting from the
> dropbox...
> Let me know if you require more deatils.
> The website I want to automate is not public...
>
> On Aug 16, 11:18 am, Pallavi Sharma  wrote:
> > Sudhir
> >
> > ie.select_list(:name, 'level0').select ("ITEM you want to select")
> >
> > Regards
> >
> > Pallavi
> >
> > 2010/8/16 sudhir 
> >
> > > Pallavi,
> > > The select list for ABPorts is given below:
> > >  >
> > >
> onchange="javascript:selectcombo_Report('0','ReportTemplate_Buselect',this.form)"
> > > class="select-menut">- Select
> > > One -
> > > ABC Company
> > > ABPorts
> > > Washington State Investment Board
> > > Wellcome Trust
> >
> > > Thanks for your help
> >
> > > On Aug 14, 4:19 pm, Pallavi Sharma  wrote:
> > > > Sudhir
> >
> > > > For ABPorts, give the complete select list html code, for the other
> one:
> >
> > > >  > > > onchange="javascript:submitReportTypes('<
> > > > %=WebOperation.REPORTTEMPLATE_REPORT_SELECT%>');" class="select-
> > > > menu180"> > > > selected="selected">- Select One -
> > > > Performance by Dimension
> > > > Historical Summary
> > > > Index Performance
> > > > Security Performance
> >
> > > >
> browser.select_list(:name,'selec

Re: [wtr-general] Extracting String from a node / (String Function)

2010-08-16 Thread Pallavi Sharma
Hi Cyril

The return you are getting is right, as the div, contains all the text.

Try this:

require 'watir'
ie=Watir::IE.attach(:title,//)
a=ie.div(:id,'answer_text').text
b=a.split("Text - How useful was my answer?")
puts b[0].strip


Regards
Pallavi.


On Mon, Aug 16, 2010 at 1:43 PM, cyril.gonsal...@mastek.com <
cyril.gonsal...@mastek.com> wrote:

> Hi,
>
> I want the text "Condition with main rank 1 and subrank upto 20 is
> working" from the div tag.
>
> Source HTML :
>
> 
> Text - Condition with main rank 1 and subrank upto 20 is working
> 
> 
> 
> Text - How useful was my answer?
> 
> 
>
> I have written below code to extract text from above Page :
>
> ans_txt = ie.div(:id,"answer_text").text
>
> But this returns to me :
>
> "Condition with main rank 1 and subrank upto 20 is working
>
>
> How useful was my answer?"
>
>
> Is there any way thru which i can retrive only the required test
>
> I took another approach also.
>
> I took exntire answer text and wrote code below
>
> extra_txt_pos = ans_txt.rindex('How useful was my answer?')
>
> here i get the startup position on the text "How useful was my
> answer?". But then i am not finding any string function which would
> then eliminate the above string from the whole text.
>
> please reply
>
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Re: How to select a item from the dropbox

2010-08-15 Thread Pallavi Sharma
Sudhir

ie.select_list(:name, 'level0').select ("ITEM you want to select")

Regards

Pallavi

2010/8/16 sudhir 

> Pallavi,
> The select list for ABPorts is given below:
> 
> onchange="javascript:selectcombo_Report('0','ReportTemplate_Buselect',this.form)"
> class="select-menut">- Select
> One -
> ABC Company
> ABPorts
> Washington State Investment Board
> Wellcome Trust
>
> Thanks for your help
>
> On Aug 14, 4:19 pm, Pallavi Sharma  wrote:
> > Sudhir
> >
> > For ABPorts, give the complete select list html code, for the other one:
> >
> >  > onchange="javascript:submitReportTypes('<
> > %=WebOperation.REPORTTEMPLATE_REPORT_SELECT%>');" class="select-
> > menu180"> > selected="selected">- Select One -
> > Performance by Dimension
> > Historical Summary
> > Index Performance
> > Security Performance
> >
> > browser.select_list(:name,'selectedReportDetailsString').select("Security
> > Performance##4## ## || ##RPTTYP##PERF|| ||") to select this element in
> the
> > list.
> >
> > I hope this helps, if it doesn't let us know, whether the page on which
> you
> > are working is available publicly or no...
> >
> > Regards
> > Pallavi.
> >
> > 2010/8/14 sudhir 
> >
> > > Hi All,
> > > Here is another select list from which I have to select "Performance
> > > by Dimension" Can you Guide about it.
> >
> > >  > > onchange="javascript:submitReportTypes('<
> > > %=WebOperation.REPORTTEMPLATE_REPORT_SELECT%>');" class="select-
> > > menu180"> > > selected="selected">- Select One -
> > > Performance by Dimension
> > > Historical Summary
> > > Index Performance
> > > Security Performance
> >
> > > Thanks A Lot for your help
> >
> > > On Aug 14, 9:38 am, sudhir  wrote:
> >
> > >
> onchange="javascript:selectcombo_Report('0','ReportTemplate_Buselect',this.form)"
> > > > class="select-menut">- Select
> > > > One -
> > > > ABC Company
> > > > ABC-GBP
> > > > ABPorts
> > > > ABS Combined
> >
> > > > I want to select from the drop box like ABPorts. can you please Guide
> > > > Thanks Lot for your help
> >
> > > > On Aug 9, 10:06 pm, Chuck van der Linden  wrote:
> >
> > > > > If the below does not work, then use the IE Developer Toolbar, or
> > > > > Firebug, to have a look at the element to see if it is really an
> HTML
> > > > > select list, or if it is some other kind of control.
> >
> > > > > There are often Javascript powered 'section lists' which are
> enabled
> > > > > using other types of objects (often an ordered list) and a lot of
> > > > > javascript eventing.   In that case you typically have to use click
> > > > > methods on the elements the control is created from, or sometimes
> fire
> > > > > specfic events like 'onmouseover' followed by clicks, in order to
> > > > > activate the control.
> >
> > > > > There are several existing threads on dealing with those kind of
> > > > > controls, which would bear searching for and reading if you find
> > > > > yourself in that situation
> >
> > > > > On Aug 9, 1:45 am, Željko Filipin 
> > > > > wrote:
> >
> > > > > > On Sun, Aug 8, 2010 at 5:15 PM, sudhir 
> wrote:
> > > > > > > I am trying to select an item from dropbox but could not.
> >
> > > > > > Take a look:
> >
> > > > > >http://wiki.openqa.org/display/WTR/Selection+Boxes
> >
> > > > > > Željko
> > > > > > --
> > > > > > watir.com - community manager
> > > > > > watirpodcast.com - host
> > > > > > testingpodcast.com - audio podcasts on software testing. all of
> them
> > > > > > vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi
> >
> > > --
> > > Before posting, please readhttp://watir.com/support. In short: search
> > > before you ask, be nice.
> >
> > > You received this message because you are subscribed to
> > >http://groups.google.com/group/watir-general
> > > To post: watir-general@googlegroups.com
> > > To unsubscribe: 
> > > watir-general+unsubscr...@googlegroups.com
> 
> >
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


[wtr-general] Re: regarding watir and there use

2010-08-15 Thread Pallavi Sharma
Adding watir group so that everyone can benefit in here Sudhir.

Yes should be feasible, can we have a look at your website if its available
publicly, or can you send us the html of the page.

Is there any frames on your website, what error do you get when you try
selecting the element in your select box?

It could be possible that there is some javascript even which is not getting
called...

Time can be captured easily by using ruby Time gem and using is function...


Hope this helps, the more information you provide in here, the better help
you may get.


Regards
Pallavi.

On Sun, Aug 15, 2010 at 1:30 PM, sudhir kumar  wrote:

>
> Hi Pallavi,
>
> I am trying to automate monitoring process of one of the website.
> My req.. is
> Open the website(using login and Pwd).
> Select the Bu from DropBox.
> Select report type from DropBox.
> Select report as Button
> Run it and capture the timing and error if any.
>
> I am stuck at Select the Bu from DropBox.
> Is it possible to do it using watir and Ruby.
> Let me know If you require more details.
>
>
>
> Thanks lot for your help.
>
> Sudhir kumar
>
>
>
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Re: How to select a item from the dropbox

2010-08-14 Thread Pallavi Sharma
Sudhir

For ABPorts, give the complete select list html code, for the other one:


- Select One -
Performance by Dimension
Historical Summary
Index Performance
Security Performance

browser.select_list(:name,'selectedReportDetailsString').select("Security
Performance##4## ## || ##RPTTYP##PERF|| ||") to select this element in the
list.

I hope this helps, if it doesn't let us know, whether the page on which you
are working is available publicly or no...


Regards
Pallavi.




2010/8/14 sudhir 

> Hi All,
> Here is another select list from which I have to select "Performance
> by Dimension" Can you Guide about it.
>
>  onchange="javascript:submitReportTypes('<
> %=WebOperation.REPORTTEMPLATE_REPORT_SELECT%>');" class="select-
> menu180"> selected="selected">- Select One -
> Performance by Dimension
> Historical Summary
> Index Performance
> Security Performance
>
>
> Thanks A Lot for your help
>
> On Aug 14, 9:38 am, sudhir  wrote:
> >
> onchange="javascript:selectcombo_Report('0','ReportTemplate_Buselect',this.form)"
> > class="select-menut">- Select
> > One -
> > ABC Company
> > ABC-GBP
> > ABPorts
> > ABS Combined
> >
> > I want to select from the drop box like ABPorts. can you please Guide
> > Thanks Lot for your help
> >
> > On Aug 9, 10:06 pm, Chuck van der Linden  wrote:
> >
> > > If the below does not work, then use the IE Developer Toolbar, or
> > > Firebug, to have a look at the element to see if it is really an HTML
> > > select list, or if it is some other kind of control.
> >
> > > There are often Javascript powered 'section lists' which are enabled
> > > using other types of objects (often an ordered list) and a lot of
> > > javascript eventing.   In that case you typically have to use click
> > > methods on the elements the control is created from, or sometimes fire
> > > specfic events like 'onmouseover' followed by clicks, in order to
> > > activate the control.
> >
> > > There are several existing threads on dealing with those kind of
> > > controls, which would bear searching for and reading if you find
> > > yourself in that situation
> >
> > > On Aug 9, 1:45 am, Željko Filipin 
> > > wrote:
> >
> > > > On Sun, Aug 8, 2010 at 5:15 PM, sudhir  wrote:
> > > > > I am trying to select an item from dropbox but could not.
> >
> > > > Take a look:
> >
> > > >http://wiki.openqa.org/display/WTR/Selection+Boxes
> >
> > > > Željko
> > > > --
> > > > watir.com - community manager
> > > > watirpodcast.com - host
> > > > testingpodcast.com - audio podcasts on software testing. all of them
> > > > vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Differences between Watir, FireWatir, Webdriver ?

2010-08-14 Thread Pallavi Sharma
Can you post your three scripts here, as far as i have used, firwatir and
watir are quite consistent, except where text handling is required, rest all
you need is to change the browser instance.


Regards
Pallavi.

On Sat, Aug 14, 2010 at 11:24 AM, Chan Nguyen  wrote:

>  Hi everyone,
> I came across 3 *watir, and I think they're compatible with each
> other. My IE script that I wrote broke when using FireWatir and
> Webdrive :(. I just want to know what are significant differences
> between those three? Thanks !
>
> ps: Why don't people make them become consistent and unique for all
> browsers ( IE, FF, Safari... )?
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Re: Calendar Click

2010-08-04 Thread Pallavi Sharma
Hi

This would work:

require "watir"
browser = Watir::Browser.start("http://www.cleartrip.com/";)
browser.radio(:id => "rnd_trip").set # set round trip radio button
browser.image(:src => /calendar_icon.gif/).click # click the first calendar
browser.image(:src => /calendar_icon.gif/, :index => 2).click # click the
second calendar


Zelkjko, i just removed all path of images etc, and used regular expression
in here, it would click.


Regards
Pallavi

On Wed, Aug 4, 2010 at 4:15 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> On Wed, Aug 4, 2010 at 12:42 PM, madhu kumar  wrote:
> > browser.image(:src => "/images/global/calendar_icon.gif").click, i am
> getting error as Watir::Exception::UnknownObjectException: unable to locate
> element, using :src => "/images/global/calendar_icon. and its showing error
> as assert_exit and enabled.
>
> Well, image is not on the page, as error said. Are you sure you are at the
> right page?
>
>
> Željko
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] What Ruby version do you all recommend using with Watir?

2010-08-02 Thread Pallavi Sharma
1.86, and windows xp is good enough. watir version 1.6.5


Regards
Pallavi.

On Sat, Jul 31, 2010 at 10:26 PM, karim rayani wrote:

> yeh 1.8.6 is recommended,
>
> ruby 1.9.* would work on unix but on windows environment gosh knows,
> although the library has been patched to work with 1.9.*
>
>
>
> On 7/30/10, Yuping Zhong  wrote:
> > recommend 1.8.6
> >
> > On Sat, Jul 31, 2010 at 6:26 AM, John Fitisoff 
> wrote:
> >
> >> 1.8.6-25
> >>
> >>
> >>
> >> - Original Message 
> >> From: Melissa 
> >> To: Watir General 
> >> Sent: Fri, July 30, 2010 2:15:58 PM
> >> Subject: [wtr-general] What Ruby version do you all recommend using with
> >>  Watir?
> >>
> >> My test team is experimenting with Watir, and one tester has
> >> experienced problems running Watir with the 1.9.1-p429 version of
> >> Ruby.
> >>
> >> What Ruby version do most of you run?
> >>
> >> Thanks for any tips.
> >>
> >> --
> >> Before posting, please read http://watir.com/support. In short: search
> >> before
> >> you ask, be nice.
> >>
> >> You received this message because you are subscribed to
> >> http://groups.google.com/group/watir-general
> >> To post: watir-general@googlegroups.com
> >> To unsubscribe:
> >> watir-general+unsubscr...@googlegroups.com
> 
> >
> >>
> >>
> >>
> >>
> >>
> >> --
> >> Before posting, please read http://watir.com/support. In short: search
> >> before you ask, be nice.
> >>
> >> You received this message because you are subscribed to
> >> http://groups.google.com/group/watir-general
> >> To post: watir-general@googlegroups.com
> >> To unsubscribe:
> >> watir-general+unsubscr...@googlegroups.com
> 
> >
> >>
> >
> > --
> > Before posting, please read http://watir.com/support. In short: search
> > before you ask, be nice.
> >
> > You received this message because you are subscribed to
> > http://groups.google.com/group/watir-general
> > To post: watir-general@googlegroups.com
> > To unsubscribe: 
> > watir-general+unsubscr...@googlegroups.com
> >
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Calendar Click

2010-08-02 Thread Pallavi Sharma
Hi Madhu

Can't you directly type in your text box for date? Is it disabled? Looks
like a travel site, if the link available online which is public which we
can try..

Calrendar's are usually div objects.

Send us the html of the calendar div and your page, that might give more
information.


Regards
Pallavi

On Mon, Aug 2, 2010 at 4:51 PM, madhu kumar  wrote:

>
> Hi,
>
>  I attached the screenshot, just let me know how to click the calendar from
> mouse click using watir.
>
> Regards,
> Madhu
>
> On Mon, Aug 2, 2010 at 4:11 PM, Željko Filipin <
> zeljko.fili...@wa-research.ch> wrote:
>
>> On Mon, Aug 2, 2010 at 12:34 PM, madhu kumar  wrote:
>> >  Hi have a calendar in my webpage, and i intalled watir recorder
>>
>> Watir recorder is not supported here. Please post to their support forum.
>> Let me know if you can not find it.
>>
>> If you would like to automate calendar with Watir, you will have to
>> provide more information.
>>
>> Željko
>> --
>> watir.com - community manager
>> watirpodcast.com - host
>> testingpodcast.com - audio podcasts on software testing. all of them
>> vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi
>>
>> --
>> Before posting, please read http://watir.com/support. In short: search
>> before you ask, be nice.
>>
>> You received this message because you are subscribed to
>> http://groups.google.com/group/watir-general
>> To post: watir-general@googlegroups.com
>> To unsubscribe: 
>> watir-general+unsubscr...@googlegroups.com
>>
>
>  --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Re: `const_get': no such file to load -- safariwatir (MissingSourceFile) with FireWatir

2010-05-01 Thread Pallavi Sharma
Thanks a lot for sharing this, this would help definitely.

Regards

Pallavi.

On Sat, May 1, 2010 at 2:02 AM, joedio  wrote:

> Oops,
>
> The code for the display of the Global variables I previously posted
> was a cut 'n paste mistake. The correct code is:
>
> # Variables
> puts2("\nRuby Global Variables: ")
> aRubyGlobalVars = global_variables()  # Populate array with the Ruby
> Global variables
> aRubyGlobalVars.each do |key|  # Loop through the Ruby Global
> variables
>if(eval(key).class.to_s == "String")
>puts2("  #{key.to_s} = \""  + eval(key).to_s  + "\",\t
> Class: "  + eval(key).class.to_s)
>  else
>puts2("  #{key.to_s} = "  + eval(key).to_s  + ",\t  Class:
> "  + eval(key).class.to_s)
>end
> end # End of Variables loop
>
>
> On Apr 30, 9:43 am, joedio  wrote:
> > Betsy,
> >
> > One of the things to do is to gather info on the execution
> > environment. Perhaps somewhere during the scripts execution of the
> > first (working) and second (failing) attempt, something is either
> > trying to require or include safariwatir, or the browser type
> > (Watir.options[:browser]) is getting set incorrectly.
> >
> > Below is code to gather a lot of that info. It prints out info on
> > Ruby, the O/S, the files Ruby has loaded, and each of the Global
> > variables defined in Ruby, at that point in the scripts execution.
> > Temporarily put it into your failing script, once just before the
> > first (working) invocation of the browser, and then again just before
> > the second time (the one that raises the safariwatir message). Perhaps
> > you can't spot a difference. Post the output back here if you wish,
> > and someone may be able to use it to further assist with this issue.
> >
> > Also, presuming that you are using Watir1.6.5 is there a reason you
> > are starting the browser with:
> >require 'firewatir'
> >include FireWatir
> >$ie=FireWatir::Firefox.new
> >
> > instead of the newer (As described in the CommonWatir Rdoc for the
> > class Watir::Browser):
> >   require 'watir'
> >   $browser = Watir::Browser.new# Of course you can still name
> > the global browser $ie instead if $browser if you prefer, as I switch
> > between IE & FF I prefer to use $browser
> >
> > You might want to switch over to the newer one and see if that has any
> > bearing on the issue.
> >
> > Here's the code I was mentioning:
> >
> > # Collect information on the execution environment
> >
> > # Ruby & Browser
> > puts("RUBY_VERSION: " + RUBY_VERSION)
> > puts("RUBY_PLATFORM: " + RUBY_PLATFORM)
> > puts("Browser: " + Watir.options[:browser])
> >
> > # O/S
> > puts("\nOS ENV Variables: ")
> > ENV.each do |key, value|  # Loop through the O/S Env variables
> > puts("  #{key}  =  #{value}") # Display each variable and its
> setting
> > end # End of O/S loop
> >
> > # Loaded Files
> > puts("\nRuby Loaded files: ")
> > $LOADED_FEATURES.each do |value|  # Loop through the files
> > puts("  #{value}")  # Display each file
> > end # End of Files loop
> >
> > # Global Variables
> > puts("\nRuby Global Variables: ")
> > aRubyGlobalVars = global_variables()  # Populate array with the Ruby
> > Global variables
> > aRubyGlobalVars.each do |key, value|  # Loop through the Ruby Global
> > variables
> > puts("  #{key}  =  #{value}")  # Display each variable and its
> > setting
> > end # End of Variables loop
> >
> > On Apr 29, 6:13 am, Betsy  wrote:
> >
> >
> >
> > > Hi,
> >
> > > Still waiting for a way out of this FireWatir issue.
> >
> > > -Betsy
> >
> > > On Apr 21, 2:51 pm, Željko Filipin 
> > > wrote:
> >
> > > > On Wed, Apr 21, 2010 at 11:35 AM, Betsy  wrote:
> > > > > include FireWatir
> >
> > > > Remove this and let me know if there is any improvement.
> >
> > > > > The problem with this issue is that it does not come up every time.
> >
> > > > That would make it hard to debug.
> >
> > > > Željko
> >
> > > > --
> > > > Before posting, please readhttp://watir.com/support. In short:
> search before you ask, be nice.
> >
> > > > You received this message because you are subscribed tohttp://
> groups.google.com/group/watir-general
> > > > To post: watir-general@googlegroups.com
> >
> > > --
> > > Before posting, please readhttp://watir.com/support. In short: search
> before you ask, be nice.
> >
> > > You received this message because you are subscribed tohttp://
> groups.google.com/group/watir-general
> > > To post: watir-general@googlegroups.com
> > > To unsubscribe: 
> > > watir-general+unsubscr...@googlegroups.com
> >
> > --
> > Before posting, please readhttp://watir.com/support. In short: search
> before you ask, be nice.
> >
> > You received this message because you are subscribed tohttp://
> groups.google.com/group/watir-general
> > To post: watir-general@googlegroups.com
> > To unsubscribe: 
> > watir-general+unsubscr...@googlegroups.com
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> Yo

Re: [wtr-general] Watir and Frames

2010-03-20 Thread Pallavi Sharma
Zeljko


The last step was not there, thats why i struggled, i do plan to update wiki
.. :)

Thanks

Regards

Pallavi.

On Fri, Mar 19, 2010 at 2:43 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> On Fri, Mar 19, 2010 at 7:37 AM, Pallavi Sharma 
> wrote:
> > This worked:
> > Adding site in trusted site
> > Checking low security for accepting all cookies
> > Lowering the security of browser to minimum possible.
>
> Are those steps at Frames wiki page? If not, would you add them there, so
> other could find them later?
>
> Željko
>
>  --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com
>
> To unsubscribe from this group, send email to watir-general+
> unsubscribegooglegroups.com or reply to this email with the words "REMOVE
> ME" as the subject.
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com

To unsubscribe from this group, send email to 
watir-general+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


Re: [wtr-general] Watir and Frames

2010-03-18 Thread Pallavi Sharma
This worked:

Adding site in trusted site
Checking low security for accepting all cookies
Lowering the security of browser to minimum possible.




Regards

Pallavi.

On Tue, Mar 16, 2010 at 11:50 AM, Mrunal  wrote:

>  Hi Pallavi,
>
> Can  see the link properties or that frame objects in IE Developer toolbar.
> If yes then put your site url in Trusted Sites.
> Then try your code.
>
> Reagrds,
>
> Mrunal
>
>
>
> Pallavi Sharma wrote:
>
> Hi
>
>  I have attached the complete error i am getting,
>
>  the code is simple
>
>  ie=Watir::IE.attach(:title,//)
>
>  a=ie.frames(:index,1).link(:text ,'ABC')
>
>  puts a.to_s
>
>
>  I get the error on Frame 'Access Denied' which i wrote earlier, and then
> the error 'couldnot locate the object' as since frame is not accessible, i
> cannot access the link.
>
>  Have tried all options available on the watir help page for this but
> nothing worked...
>
>  Regards,
> Pallavi
>
>
> On Mon, Mar 15, 2010 at 3:32 PM, Mrunal  wrote:
>
>>
>> Hi Pallavi,
>>
>> Can u attach the code for which you r getting the error?
>>
>> Regards,
>> Mrunal
>>
>>
>>
>> Pallavi Sharma wrote:
>>
>>  Hi
>>
>>  I have a frame issue with watir, where i get the following error:
>>
>>  c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/frame.rb:52:in
>> `method_missing': document (WIN32OLERuntimeError)
>> OLE error code:80070005 in 
>>   Access is denied.
>>
>>
>>  HRESULT error code:0x80020009
>>   Exception occurred. from
>> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/frame.rb:52:in
>> `document'
>>
>>
>>  Have tried every option available on:
>> http://wiki.openqa.org/display/WTR/Frames
>>
>>  but nothing is working.
>>
>>  Can anyone here please help me with it.
>>
>>
>>  Regards
>>
>>  Pallavi.
>>   --
>> Before posting, please read http://watir.com/support. In short: search
>> before you ask, be nice.
>>
>> You received this message because you are subscribed to
>> http://groups.google.com/group/watir-general
>> To post: watir-general@googlegroups.com
>> To unsubscribe: watir-general+unsubscr...@googlegroups.com
>>
>>
>>   --
>> Before posting, please read http://watir.com/support. In short: search
>> before you ask, be nice.
>>
>> You received this message because you are subscribed to
>> http://groups.google.com/group/watir-general
>> To post: watir-general@googlegroups.com
>> To unsubscribe: 
>> watir-general+unsubscr...@googlegroups.com
>>
>
>  --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: watir-general+unsubscr...@googlegroups.com
>
>
>  --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com

To unsubscribe from this group, send email to 
watir-general+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


Re: [wtr-general] Watir and Frames

2010-03-15 Thread Pallavi Sharma
Hi

I have attached the complete error i am getting,

the code is simple

ie=Watir::IE.attach(:title,//)

a=ie.frames(:index,1).link(:text ,'ABC')

puts a.to_s


I get the error on Frame 'Access Denied' which i wrote earlier, and then the
error 'couldnot locate the object' as since frame is not accessible, i
cannot access the link.

Have tried all options available on the watir help page for this but nothing
worked...

Regards,
Pallavi


On Mon, Mar 15, 2010 at 3:32 PM, Mrunal  wrote:

>
> Hi Pallavi,
>
> Can u attach the code for which you r getting the error?
>
> Regards,
> Mrunal
>
>
>
> Pallavi Sharma wrote:
>
> Hi
>
>  I have a frame issue with watir, where i get the following error:
>
>  c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/frame.rb:52:in
> `method_missing': document (WIN32OLERuntimeError)
> OLE error code:80070005 in 
>   Access is denied.
>
>
>  HRESULT error code:0x80020009
>   Exception occurred. from
> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/frame.rb:52:in
> `document'
>
>
>  Have tried every option available on:
> http://wiki.openqa.org/display/WTR/Frames
>
>  but nothing is working.
>
>  Can anyone here please help me with it.
>
>
>  Regards
>
>  Pallavi.
>  --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: watir-general+unsubscr...@googlegroups.com
>
>
>  --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


[wtr-general] Watir and Frames

2010-03-15 Thread Pallavi Sharma
Hi

I have a frame issue with watir, where i get the following error:

c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/frame.rb:52:in
`method_missing': document (WIN32OLERuntimeError)
OLE error code:80070005 in 
  Access is denied.


HRESULT error code:0x80020009
  Exception occurred. from
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/frame.rb:52:in
`document'


Have tried every option available on:
http://wiki.openqa.org/display/WTR/Frames

but nothing is working.

Can anyone here please help me with it.


Regards

Pallavi.

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] ".text" method in Watir and FireWatir

2010-02-02 Thread Pallavi Sharma
Dear Angrez

Thanks, yes we would log it in the Jira

Tiffany,

sure we would mail the code and the sample page where we could reproduce
this issue and check it.


Thanks for answering.

Regards

Pallavi.

On Tue, Feb 2, 2010 at 12:46 PM, Angrez Singh  wrote:

> Surely, will look into this. Can you open a JIRA ticket for the same?
>
>
> On Tue, Feb 2, 2010 at 11:26 AM, Betsy  wrote:
>
>> The ".text" method returns the complete text of an object including
>> the text of the child objects if any in watir but in FireWatir, the
>> same method behaves differently by returning only the text of the
>> object itself without the text of the Child Objects.
>>
>> Please let us know how to handle this difference in behavior.
>>
>> Thanks,
>> Betsy Joy.
>>
>> --
>> 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
>>
>
>  --
> 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
>

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

Re: [wtr-general] Re: Problem with ".click" method

2010-02-02 Thread Pallavi Sharma
Hi Tiffany and all

The problem is which happens rarely is, the IE status comes as "done" but
all the objects are not yet loaded in the page. And we see a white page.

Is it something to do with the ie.ready_status coming to 4 ?

So even if the page objects have not loaded completely the ie status comes
4?

Just want to know is it automation issue or application issue.

We can use check points to capture this behaviour, but needed some insight
as to what could be the reason for this problem

Thanks

Pallavi.

On Tue, Feb 2, 2010 at 12:29 PM, Tiffany Fodor  wrote:

> Hi Betsy!
>
> Could you please provide more detail on your problem?  Your code, the
> html you're testing and any error messages you're getting would help
> us troubleshoot.
>
> Thanks!
>
> -Tiffany
>
> On Feb 1, 10:53 pm, Betsy  wrote:
> > Hi all,
> >
> > We seem to be facing some issue with the ".click" method. At times it
> > seems to release control of the page before it could load completely.
> > Ideally the ".click" method waits for the page to load completely
> > before releasing control and so we do not use waits for page load
> > explicitly.
> >
> > Can someone please explain this strange behavior?
> >
> > Thanks in advance,
> > Betsy Joy.
>
> --
> 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
>

-- 
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] Fire Watir and Team Viewer

2010-01-20 Thread Pallavi Sharma
Hi

We have a weird problem, whenever we connect teamviewer to the system which
is using firewatir to execute runs, the Firewatir plugin doesn't work.

Has it got anything to do with the interference in the port which these two
might be using?

in that case is this configurable in firewatir or could there be some other
reason?

Team viewer is a tool to help connect systems across internet.


Anyone here kindly help.

Regards

Pallavi.

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

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Pallavi Sharma
Zeljko

Thanks for the help, the input elements were under a Span tag,

so when i tried browser.span(:id,'sfg').text_field(:name,'dfrf)

it worked... :)


Thanks a lot for the help.

The ip is not public, but i would surely share the screen shot with the IE
developer tool bar for the same.


Regards
Pallavi.

On Tue, Jan 19, 2010 at 7:39 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> On Tue, Jan 19, 2010 at 3:04 PM, Pallavi Sharma 
> wrote:
> > Can it be possible, that the element doesn't allowing setting of text on
> it, in case of a dojo control...??
>
> It is hard to tell when I can not see the page. Is it public?
>
> What do you get from this:
>
> browser.text_field(:name => "inputFromDate").value
>
> Ž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
>

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

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Pallavi Sharma
Zeljko

The latter one is true, its not indexing issue. The elements have different
properties.

Can it be possible, that the element doesn't allowing setting of text on it,
in case of a dojo control...??


Regards

Pallavi

On Tue, Jan 19, 2010 at 7:12 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> On Tue, Jan 19, 2010 at 2:38 PM, Pallavi Sharma 
> wrote:
> > other elements are getting recognized with watir, but for this particula
> dojo kind element, we are not able to recognize.
>
> When you use the code I have provided, another element is recognized?
>
> Or you can recognize other element on the page using code similar to what I
> have provided, but not the one you want?
>
> Ž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
>

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

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Pallavi Sharma
Zeljo

I checked, but other elements are getting recognized with watir, but for
this particula dojo kind element, we are not able to recognize.

Anything else which we could try please..

Regards

Pallavi.

On Tue, Jan 19, 2010 at 3:48 PM, Pallavi Sharma wrote:

> Ok Zeljko
>
> Thanks, for the info i would check and revert back the same.
>
> Regards
> Pallavi.
>
> On Tue, Jan 19, 2010 at 3:28 PM, Željko Filipin <
> zeljko.fili...@wa-research.ch> wrote:
>
>> On Tue, Jan 19, 2010 at 10:49 AM, Pallavi Sharma 
>> wrote:
>> > The problem is that its not mentioned that the input is of type text,
>> like it should in case its a text field.
>>
>> My browsers display it as text field. I think input tag defaults to text
>> if no type attribute is specified.
>>
>> Ž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
>>
>
>

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

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Pallavi Sharma
Ok Zeljko

Thanks, for the info i would check and revert back the same.

Regards
Pallavi.

On Tue, Jan 19, 2010 at 3:28 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> On Tue, Jan 19, 2010 at 10:49 AM, Pallavi Sharma 
> wrote:
> > The problem is that its not mentioned that the input is of type text,
> like it should in case its a text field.
>
> My browsers display it as text field. I think input tag defaults to text if
> no type attribute is specified.
>
> Ž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
>

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

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Pallavi Sharma
Zeljko

The problem is that its not mentioned that the input is of type text, like
it should in case its a text field.

Will watir work with such html code, where its just written  wrote:

> On Mon, Jan 18, 2010 at 6:16 AM, Betsy  wrote:
> > " > name="inputFromDate" __doClobber__ autocomplete="off"
> > dojoAttachPoint="inputNode" value="18/01/2010" /> "
>
> This should work (not tested):
>
> browser.text_field(:name => "inputFromDate").set "text"
>
> Ž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
>

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

Re: [wtr-general] Automatic Updates of Mozilla Firefox

2010-01-05 Thread Pallavi Sharma
Thanks for info Brian, I believe that was the problem with us.

We will try that.

Angrez thanks for the link as well. Would ensure we have compatible jssh.

Regards

Pallavi.

On Wed, Jan 6, 2010 at 12:19 PM, Brian Rosenthal wrote:

> If you turn off automatic updates in the advanced settings section, it
> shouldn't update itself.
>
> Best,
> Brian
>
>
> On 1/5/10 10:39 PM, "Betsy"  wrote:
>
> > Mozilla Firefox updates itself automatically.
> >
> > Hence if we set up a suite of Test cases for execution on FireWatir,
> > it fails after a few test cases as Firefox updates itself and
> > FireWatir fails to execute successfully due to the absence of the
> > related jssh of the new version of Firefox.
> >
> > Even if we try to turn off the Automatic updates of Firefox, it does
> > update itself.
> >
> > How can we overcome this issue for the successful execution of the
> > Test suite???
> >
> > -Thanks
> > Betsy Joy
>
>
> --
> 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
>
-- 
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

Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2010-01-05 Thread Pallavi Sharma
Hi Angrez

We were able to solve the problem by building a wrapper as stated in the
mail earlier.

Although the solution is right now working for us, but its prone to
breakage.

Meanwhile I have logged the jira tickets.

Thanks for the help so far.

Regards
Pallavi.

On Tue, Jan 5, 2010 at 3:19 PM, Krishna saradka
wrote:

> Angrez,
>
> Thanks for the clarification. The insight was really helpful.
>
> Thanks & regards,
> KK
>
>
> On Thu, Dec 31, 2009 at 2:50 PM, Angrez Singh  wrote:
>
>> For benefit of others I am adding watir-general group as well.
>> http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-textContent
>>
>> If you see the standards for getting the text of body element i.e. using
>> the function textContent, text should be returned by combining the text of
>> all the elements that are child node of the element for which you want the
>> text. Now for  element the text is empty string so it doesn't introduce
>> a line break.
>> Its not a bug in Firefox its as per the standards.
>> In IE, we use innerText function which is not per the standard and it does
>> introduce a line break when you get text.
>>
>> Issue is not which browser is following the standards and which is better,
>> issue is both of them see's the things differently and return different
>> text.
>>
>> - Angrez
>>
>>
>> On Thu, Dec 31, 2009 at 2:20 PM, Krishna saradka <
>> krishna.sara...@gmail.com> wrote:
>>
>>> Dear Angrez,
>>>
>>> I'm little confused. Using a ,br. tag in html should break the line and
>>> move the follwoing text to the next line. Currently as per the original
>>> posted question on this thread, she is pointing out that the output of
>>> firewatir in this case is different. Which is instead of the line break it
>>> is introducing just a space. Where as while using IE [watir instead of
>>> firewatir] she is getting the desired result.
>>>
>>> While going over the below link, I understand that FF had a bug in it and
>>> it was not treating the  tag appropriately if the following text also
>>> continues in the same line in html code. This is observed while using
>>> textContext.
>>>
>>> Thanks & Regards,
>>> KK
>>>
>>> On Thu, Dec 31, 2009 at 12:55 PM, Angrez Singh  wrote:
>>>
>>>> Actually for your HTML code the result returned by Firewatir is as per
>>>> the W3C standard. Check this link:
>>>> https://bugzilla.mozilla.org/show_bug.cgi?id=316063
>>>>
>>>> I am working on how we can actually make the results similar.
>>>> - Angrez
>>>>
>>>>
>>>> On Thu, Dec 31, 2009 at 11:26 AM, Pallavi Sharma <
>>>> write2pall...@gmail.com> wrote:
>>>>
>>>>> Thanks Angrez.
>>>>>
>>>>> Rgds
>>>>> Pallavi.
>>>>>
>>>>>   On Thu, Dec 31, 2009 at 11:18 AM, Angrez Singh wrote:
>>>>>
>>>>>>  I'll look into this issue.
>>>>>> - Angrez
>>>>>>
>>>>>>
>>>>>> On Thu, Dec 31, 2009 at 10:40 AM, Krishna saradka <
>>>>>> krishna.sara...@gmail.com> wrote:
>>>>>>
>>>>>>>  by virtue should break the line and what you observe while
>>>>>>> running in ie is correct. May be that firewatir is not treating it that 
>>>>>>> way.
>>>>>>> [I have not explored firewatir to that extent to confirm this]
>>>>>>>
>>>>>>> If you can tell us what exactly you are intend to do after getting
>>>>>>> the text then we can think of some workaround until we get clarity on 
>>>>>>> the
>>>>>>> above.
>>>>>>>
>>>>>>> If you are comparing the string to arrive at some decision then for
>>>>>>> the time being try making it compare depending on whether it is ie or 
>>>>>>> ff.
>>>>>>> Though this is not a clean way of doing the things.
>>>>>>>
>>>>>>> Thanks & regards,
>>>>>>> KK
>>>>>>>
>>>>>>>   On Thu, Dec 31, 2009 at 10:11 AM, Pallavi Sharma <
>>>>>>> write2pall...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi Angrez
>>>>>>>>
>>>>>>>>

Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2010-01-05 Thread Pallavi Sharma
Sure Angrez

I would do that, also if you get time please look into the .text wrapper
solution which we are thinking of as it would help us immensely.

Regards
Pallavi.

On Tue, Jan 5, 2010 at 1:18 PM, Angrez Singh  wrote:

> The difference you see in HTML is because Watir returns outerHTML for an
> element and FireWatir returns innerHTML for element. Can you log a bug in
> JIRA so that we can track this in next release?
>
> - Angrez
>
> On Mon, Jan 4, 2010 at 3:44 PM, Pallavi Sharma wrote:
>
>> Hi Angrez
>>
>> As we were trying at our end we thought of this solution, which is right
>> now breakable but nevertheless here it is:
>>
>>
>> There is an output of FireWatir in form of HTML and TEXT.
>>
>> The HTML output will contain  tag, so we create an array by splitting
>> the html on the  tag and then do a text include check with the .text
>> output. Whatever matches we forcefully amend a new line to the end of the
>> text, concatenate it and we are done.
>>
>> But our solution is right now breakable.
>>
>> I am mailing you a sample script for you to look into it and help me with
>> it please.
>>
>> Sample.rar is breakable, the other one is not.
>>
>> Rgds
>> Pallavi.
>>
>>
>> On Mon, Jan 4, 2010 at 10:31 AM, Pallavi Sharma 
>> wrote:
>>
>>> Hi Angrez
>>>
>>> Another point we noted is as follows:
>>>
>>> If we take the .html in watir and FireWatir they return different
>>> outputs. We are thinking if we can directly use the BR tag for splitting.
>>>
>>> Attaching the script and output for your reference.
>>>
>>> require 'watir'
>>> require 'firewatir'
>>>
>>> #To Open Url in Internet Explorer
>>> ie=Watir::IE.new
>>>
>>> #To Open Url in Mozilla Firefox
>>> #ie=FireWatir::Firefox.new
>>>
>>> #To open url
>>> ie.goto('http://www.makemytrip.co.in')
>>>
>>> #To reach the required page
>>> ie.select_list(:id,'selorigin').set('Bangalore')
>>> ie.select_list(:id,'seldestination').set('Delhi')
>>> ie.text_field(:id,'txtdeptDateOway').set('17/02/2010')
>>> ie.image(:alt,'Search for Flight').click
>>>
>>> #To get the output of ".html"
>>> puts ie.cell(:class,'white-header-promotions').html
>>>
>>>  Regarding the first solution of splitting the output using “”, even
>>> the “.html” method does not return the exact same output in Watir and
>>> FireWatir.
>>>
>>>  Please find attached the script that illustrates this difference as well
>>> as the screenshot of the Object taken for reference.
>>>
>>>  Output:-
>>>
>>> *Watir-*
>>>
>>>  >> src="images/flightimg/goAir.gif" border=0>Go AirG8-372>> onmouseover="showRating('ratingDiv','-1','-1','-1','-1','-1','-1','-1')"
>>> onmouseout=hideRating() src="images/spacer.gif">
>>>
>>>  FireWatir-
>>>
>>> Go
>>> AirG8-372>> onmouseover="showRating('ratingDiv','-1','-1','-1','-1','-1','-1','-1')">
>>>
>>> Kindly look into it.
>>>
>>> Regards
>>>
>>> Pallavi.
>>>
>>>
>>> On Sat, Jan 2, 2010 at 10:30 AM, Pallavi Sharma >> > wrote:
>>>
>>>> Sure Angrez,
>>>>
>>>> Let me know if there is any help I could provide or research on. Thanks
>>>> for looking into the issue once again and wish you a happy new year.
>>>>
>>>> Rgds
>>>> Pallavi.
>>>>
>>>> On Thu, Dec 31, 2009 at 3:31 PM, Angrez Singh  wrote:
>>>>
>>>>> The thing is this even if I add line break for  tag while fetching
>>>>> text, it might still break somewhere else. So, let me see if something is
>>>>> possible to make then look similar.
>>>>> - Angrez
>>>>>
>>>>> On Thu, Dec 31, 2009 at 3:02 PM, Pallavi Sharma <
>>>>> write2pall...@gmail.com> wrote:
>>>>>
>>>>>>  I agree with you Angrez,  about seeing the same thing differently,
>>>>>> but when we are coding in gem would it be a good idea to forcefully 

Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2010-01-03 Thread Pallavi Sharma
Hi Angrez

Another point we noted is as follows:

If we take the .html in watir and FireWatir they return different outputs.
We are thinking if we can directly use the BR tag for splitting.

Attaching the script and output for your reference.

require 'watir'
require 'firewatir'

#To Open Url in Internet Explorer
ie=Watir::IE.new

#To Open Url in Mozilla Firefox
#ie=FireWatir::Firefox.new

#To open url
ie.goto('http://www.makemytrip.co.in')

#To reach the required page
ie.select_list(:id,'selorigin').set('Bangalore')
ie.select_list(:id,'seldestination').set('Delhi')
ie.text_field(:id,'txtdeptDateOway').set('17/02/2010')
ie.image(:alt,'Search for Flight').click

#To get the output of ".html"
puts ie.cell(:class,'white-header-promotions').html

Regarding the first solution of splitting the output using “”, even the
“.html” method does not return the exact same output in Watir and FireWatir.

 Please find attached the script that illustrates this difference as well as
the screenshot of the Object taken for reference.

 Output:-

*Watir-*

 Go AirG8-372

 FireWatir-

Go
AirG8-372

Kindly look into it.

Regards

Pallavi.

On Sat, Jan 2, 2010 at 10:30 AM, Pallavi Sharma wrote:

> Sure Angrez,
>
> Let me know if there is any help I could provide or research on. Thanks for
> looking into the issue once again and wish you a happy new year.
>
> Rgds
> Pallavi.
>
> On Thu, Dec 31, 2009 at 3:31 PM, Angrez Singh  wrote:
>
>> The thing is this even if I add line break for  tag while fetching
>> text, it might still break somewhere else. So, let me see if something is
>> possible to make then look similar.
>> - Angrez
>>
>> On Thu, Dec 31, 2009 at 3:02 PM, Pallavi Sharma 
>> wrote:
>>
>>>  I agree with you Angrez,  about seeing the same thing differently, but
>>> when we are coding in gem would it be a good idea to forcefully insert a
>>> line break or remove a line break when we are trying to fetch the text?
>>>
>>> so as to make the results similar for watir, firewatir and other browser
>>> version of watir?
>>>
>>> Is it this what you would do?
>>>
>>> Rgds
>>>
>>> Pallavi.
>>>
>>> On Thu, Dec 31, 2009 at 2:50 PM, Angrez Singh  wrote:
>>>
>>>> For benefit of others I am adding watir-general group as well.
>>>> http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-textContent
>>>>
>>>> If you see the standards for getting the text of body element i.e. using
>>>> the function textContent, text should be returned by combining the text of
>>>> all the elements that are child node of the element for which you want the
>>>> text. Now for  element the text is empty string so it doesn't introduce
>>>> a line break.
>>>> Its not a bug in Firefox its as per the standards.
>>>> In IE, we use innerText function which is not per the standard and it
>>>> does introduce a line break when you get text.
>>>>
>>>> Issue is not which browser is following the standards and which is
>>>> better, issue is both of them see's the things differently and return
>>>> different text.
>>>>
>>>> - Angrez
>>>>
>>>> On Thu, Dec 31, 2009 at 2:20 PM, Krishna saradka <
>>>> krishna.sara...@gmail.com> wrote:
>>>>
>>>>> Dear Angrez,
>>>>>
>>>>> I'm little confused. Using a ,br. tag in html should break the line and
>>>>> move the follwoing text to the next line. Currently as per the original
>>>>> posted question on this thread, she is pointing out that the output of
>>>>> firewatir in this case is different. Which is instead of the line break it
>>>>> is introducing just a space. Where as while using IE [watir instead of
>>>>> firewatir] she is getting the desired result.
>>>>>
>>>>> While going over the below link, I understand that FF had a bug in it
>>>>> and it was not treating the  tag appropriately if the following text
>>>>> also continues in the same line in html code. This is observed while using
>>>>> textContext.
>>>>>
>>>>> Thanks & Regards,
>>>>> KK
>>>>>
>>>>> On Thu, Dec 31, 2009 at 12:55 PM, Angrez Singh wrote:
>>>>>
>>>>>> Actually for your HTML code the result returned by Firewatir is as per
>>>>>> the W3C standard. Chec

Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2010-01-01 Thread Pallavi Sharma
Sure Angrez,

Let me know if there is any help I could provide or research on. Thanks for
looking into the issue once again and wish you a happy new year.

Rgds
Pallavi.

On Thu, Dec 31, 2009 at 3:31 PM, Angrez Singh  wrote:

> The thing is this even if I add line break for  tag while fetching
> text, it might still break somewhere else. So, let me see if something is
> possible to make then look similar.
> - Angrez
>
> On Thu, Dec 31, 2009 at 3:02 PM, Pallavi Sharma 
> wrote:
>
>> I agree with you Angrez,  about seeing the same thing differently, but
>> when we are coding in gem would it be a good idea to forcefully insert a
>> line break or remove a line break when we are trying to fetch the text?
>>
>> so as to make the results similar for watir, firewatir and other browser
>> version of watir?
>>
>> Is it this what you would do?
>>
>> Rgds
>>
>> Pallavi.
>>
>> On Thu, Dec 31, 2009 at 2:50 PM, Angrez Singh  wrote:
>>
>>> For benefit of others I am adding watir-general group as well.
>>> http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-textContent
>>>
>>> If you see the standards for getting the text of body element i.e. using
>>> the function textContent, text should be returned by combining the text of
>>> all the elements that are child node of the element for which you want the
>>> text. Now for  element the text is empty string so it doesn't introduce
>>> a line break.
>>> Its not a bug in Firefox its as per the standards.
>>> In IE, we use innerText function which is not per the standard and it
>>> does introduce a line break when you get text.
>>>
>>> Issue is not which browser is following the standards and which is
>>> better, issue is both of them see's the things differently and return
>>> different text.
>>>
>>> - Angrez
>>>
>>> On Thu, Dec 31, 2009 at 2:20 PM, Krishna saradka <
>>> krishna.sara...@gmail.com> wrote:
>>>
>>>> Dear Angrez,
>>>>
>>>> I'm little confused. Using a ,br. tag in html should break the line and
>>>> move the follwoing text to the next line. Currently as per the original
>>>> posted question on this thread, she is pointing out that the output of
>>>> firewatir in this case is different. Which is instead of the line break it
>>>> is introducing just a space. Where as while using IE [watir instead of
>>>> firewatir] she is getting the desired result.
>>>>
>>>> While going over the below link, I understand that FF had a bug in it
>>>> and it was not treating the  tag appropriately if the following text
>>>> also continues in the same line in html code. This is observed while using
>>>> textContext.
>>>>
>>>> Thanks & Regards,
>>>> KK
>>>>
>>>> On Thu, Dec 31, 2009 at 12:55 PM, Angrez Singh wrote:
>>>>
>>>>> Actually for your HTML code the result returned by Firewatir is as per
>>>>> the W3C standard. Check this link:
>>>>> https://bugzilla.mozilla.org/show_bug.cgi?id=316063
>>>>>
>>>>> I am working on how we can actually make the results similar.
>>>>> - Angrez
>>>>>
>>>>>
>>>>> On Thu, Dec 31, 2009 at 11:26 AM, Pallavi Sharma <
>>>>> write2pall...@gmail.com> wrote:
>>>>>
>>>>>> Thanks Angrez.
>>>>>>
>>>>>> Rgds
>>>>>> Pallavi.
>>>>>>
>>>>>>   On Thu, Dec 31, 2009 at 11:18 AM, Angrez Singh wrote:
>>>>>>
>>>>>>>  I'll look into this issue.
>>>>>>> - Angrez
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Dec 31, 2009 at 10:40 AM, Krishna saradka <
>>>>>>> krishna.sara...@gmail.com> wrote:
>>>>>>>
>>>>>>>>  by virtue should break the line and what you observe while
>>>>>>>> running in ie is correct. May be that firewatir is not treating it 
>>>>>>>> that way.
>>>>>>>> [I have not explored firewatir to that extent to confirm this]
>>>>>>>>
>>>>>>>> If you can tell us what exactly you are intend to do after getting
>>>>>>>> the text then we can think of some workaround until we get clarity on 
>>>>

Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2009-12-31 Thread Pallavi Sharma
I agree with you Angrez,  about seeing the same thing differently, but when
we are coding in gem would it be a good idea to forcefully insert a line
break or remove a line break when we are trying to fetch the text?

so as to make the results similar for watir, firewatir and other browser
version of watir?

Is it this what you would do?

Rgds

Pallavi.

On Thu, Dec 31, 2009 at 2:50 PM, Angrez Singh  wrote:

> For benefit of others I am adding watir-general group as well.
> http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-textContent
>
> If you see the standards for getting the text of body element i.e. using
> the function textContent, text should be returned by combining the text of
> all the elements that are child node of the element for which you want the
> text. Now for  element the text is empty string so it doesn't introduce
> a line break.
> Its not a bug in Firefox its as per the standards.
> In IE, we use innerText function which is not per the standard and it does
> introduce a line break when you get text.
>
> Issue is not which browser is following the standards and which is better,
> issue is both of them see's the things differently and return different
> text.
>
> - Angrez
>
> On Thu, Dec 31, 2009 at 2:20 PM, Krishna saradka <
> krishna.sara...@gmail.com> wrote:
>
>> Dear Angrez,
>>
>> I'm little confused. Using a ,br. tag in html should break the line and
>> move the follwoing text to the next line. Currently as per the original
>> posted question on this thread, she is pointing out that the output of
>> firewatir in this case is different. Which is instead of the line break it
>> is introducing just a space. Where as while using IE [watir instead of
>> firewatir] she is getting the desired result.
>>
>> While going over the below link, I understand that FF had a bug in it and
>> it was not treating the  tag appropriately if the following text also
>> continues in the same line in html code. This is observed while using
>> textContext.
>>
>> Thanks & Regards,
>> KK
>>
>> On Thu, Dec 31, 2009 at 12:55 PM, Angrez Singh  wrote:
>>
>>> Actually for your HTML code the result returned by Firewatir is as per
>>> the W3C standard. Check this link:
>>> https://bugzilla.mozilla.org/show_bug.cgi?id=316063
>>>
>>> I am working on how we can actually make the results similar.
>>> - Angrez
>>>
>>>
>>> On Thu, Dec 31, 2009 at 11:26 AM, Pallavi Sharma <
>>> write2pall...@gmail.com> wrote:
>>>
>>>> Thanks Angrez.
>>>>
>>>> Rgds
>>>> Pallavi.
>>>>
>>>>   On Thu, Dec 31, 2009 at 11:18 AM, Angrez Singh wrote:
>>>>
>>>>>  I'll look into this issue.
>>>>> - Angrez
>>>>>
>>>>>
>>>>> On Thu, Dec 31, 2009 at 10:40 AM, Krishna saradka <
>>>>> krishna.sara...@gmail.com> wrote:
>>>>>
>>>>>>  by virtue should break the line and what you observe while
>>>>>> running in ie is correct. May be that firewatir is not treating it that 
>>>>>> way.
>>>>>> [I have not explored firewatir to that extent to confirm this]
>>>>>>
>>>>>> If you can tell us what exactly you are intend to do after getting the
>>>>>> text then we can think of some workaround until we get clarity on the 
>>>>>> above.
>>>>>>
>>>>>> If you are comparing the string to arrive at some decision then for
>>>>>> the time being try making it compare depending on whether it is ie or ff.
>>>>>> Though this is not a clean way of doing the things.
>>>>>>
>>>>>> Thanks & regards,
>>>>>> KK
>>>>>>
>>>>>>   On Thu, Dec 31, 2009 at 10:11 AM, Pallavi Sharma <
>>>>>> write2pall...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi Angrez
>>>>>>>
>>>>>>> Could you please give some time and help with this..
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>> Pallavi.
>>>>>>>
>>>>>>>
>>>>>>> -- Forwarded message --
>>>>>>> From: Pallavi Sharma 
>>>>>>> Date: Wed, Dec 30, 2009 at 9:21 AM
>>>>>>> Subject: Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in
>>

Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2009-12-31 Thread Pallavi Sharma
Hmm... Ok Angrez, Thanks for looking into this issue, if there is any way we
could make it similar kindly let me know.

Would be grateful.

Thanks

Pallavi.

On Thu, Dec 31, 2009 at 12:55 PM, Angrez Singh  wrote:

> Actually for your HTML code the result returned by Firewatir is as per the
> W3C standard. Check this link:
> https://bugzilla.mozilla.org/show_bug.cgi?id=316063
>
> I am working on how we can actually make the results similar.
> - Angrez
>
> On Thu, Dec 31, 2009 at 11:26 AM, Pallavi Sharma 
> wrote:
>
>> Thanks Angrez.
>>
>> Rgds
>> Pallavi.
>>
>> On Thu, Dec 31, 2009 at 11:18 AM, Angrez Singh  wrote:
>>
>>> I'll look into this issue.
>>> - Angrez
>>>
>>>
>>> On Thu, Dec 31, 2009 at 10:40 AM, Krishna saradka <
>>> krishna.sara...@gmail.com> wrote:
>>>
>>>>  by virtue should break the line and what you observe while running
>>>> in ie is correct. May be that firewatir is not treating it that way. [I 
>>>> have
>>>> not explored firewatir to that extent to confirm this]
>>>>
>>>> If you can tell us what exactly you are intend to do after getting the
>>>> text then we can think of some workaround until we get clarity on the 
>>>> above.
>>>>
>>>> If you are comparing the string to arrive at some decision then for the
>>>> time being try making it compare depending on whether it is ie or ff. 
>>>> Though
>>>> this is not a clean way of doing the things.
>>>>
>>>> Thanks & regards,
>>>> KK
>>>>
>>>> On Thu, Dec 31, 2009 at 10:11 AM, Pallavi Sharma <
>>>> write2pall...@gmail.com> wrote:
>>>>
>>>>> Hi Angrez
>>>>>
>>>>> Could you please give some time and help with this..
>>>>>
>>>>> Regards
>>>>>
>>>>> Pallavi.
>>>>>
>>>>>
>>>>> -- Forwarded message --
>>>>> From: Pallavi Sharma 
>>>>> Date: Wed, Dec 30, 2009 at 9:21 AM
>>>>> Subject: Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in
>>>>> Watir and FireWatir
>>>>> To: watir-general@googlegroups.com
>>>>>
>>>>>
>>>>> Hi
>>>>>
>>>>> My code looks like this:
>>>>>
>>>>> Say the input is:
>>>>>
>>>>>  hello  bye  
>>>>>
>>>>> Now if you do from watir saying
>>>>>
>>>>> puts ie.text
>>>>>
>>>>> it will print
>>>>>
>>>>> hello
>>>>> bye
>>>>>
>>>>> so text is seperated by new line
>>>>>
>>>>> but with firewatir
>>>>>
>>>>> ff.text
>>>>>
>>>>> output is:
>>>>>
>>>>> hello bye
>>>>>
>>>>> separated by space.
>>>>>
>>>>> So thats my problem. As the delimiter used by watir and firewatir is
>>>>> not same, i cannot simply run my same watir scripts in fire watir.
>>>>>
>>>>> Any solution or feedback on it...
>>>>>
>>>>> Regards
>>>>> Pallavi.
>>>>>
>>>>>
>>>>> On Wed, Dec 30, 2009 at 4:52 AM, George wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> What does your code look like?
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Dec 27, 8:15 pm, Pallavi Sharma  wrote:
>>>>>> > Hi
>>>>>> >
>>>>>> > Has anyone here answer for this please.
>>>>>> >
>>>>>> > Regards
>>>>>> > Pallavi.
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> > -- Forwarded message --
>>>>>> > From: Pallavi Sharma 
>>>>>> > Date: Tue, Dec 22, 2009 at 10:23 AM
>>>>>> > Subject: Regarding Getting Page Text in Watir and FireWatir
>>>>>> > To: watir-general@googlegroups.com
>>>>>> >
>>>>>> > Hello
>>>>>> >
>>>>>> > If i try to get the page text for watir and firewatir a

Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2009-12-30 Thread Pallavi Sharma
Thanks Angrez.

Rgds
Pallavi.

On Thu, Dec 31, 2009 at 11:18 AM, Angrez Singh  wrote:

> I'll look into this issue.
> - Angrez
>
>
> On Thu, Dec 31, 2009 at 10:40 AM, Krishna saradka <
> krishna.sara...@gmail.com> wrote:
>
>>  by virtue should break the line and what you observe while running in
>> ie is correct. May be that firewatir is not treating it that way. [I have
>> not explored firewatir to that extent to confirm this]
>>
>> If you can tell us what exactly you are intend to do after getting the
>> text then we can think of some workaround until we get clarity on the above.
>>
>> If you are comparing the string to arrive at some decision then for the
>> time being try making it compare depending on whether it is ie or ff. Though
>> this is not a clean way of doing the things.
>>
>> Thanks & regards,
>> KK
>>
>> On Thu, Dec 31, 2009 at 10:11 AM, Pallavi Sharma > > wrote:
>>
>>> Hi Angrez
>>>
>>> Could you please give some time and help with this..
>>>
>>> Regards
>>>
>>> Pallavi.
>>>
>>>
>>> -- Forwarded message --
>>> From: Pallavi Sharma 
>>> Date: Wed, Dec 30, 2009 at 9:21 AM
>>> Subject: Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir
>>> and FireWatir
>>> To: watir-general@googlegroups.com
>>>
>>>
>>> Hi
>>>
>>> My code looks like this:
>>>
>>> Say the input is:
>>>
>>>  hello  bye  
>>>
>>> Now if you do from watir saying
>>>
>>> puts ie.text
>>>
>>> it will print
>>>
>>> hello
>>> bye
>>>
>>> so text is seperated by new line
>>>
>>> but with firewatir
>>>
>>> ff.text
>>>
>>> output is:
>>>
>>> hello bye
>>>
>>> separated by space.
>>>
>>> So thats my problem. As the delimiter used by watir and firewatir is not
>>> same, i cannot simply run my same watir scripts in fire watir.
>>>
>>> Any solution or feedback on it...
>>>
>>> Regards
>>> Pallavi.
>>>
>>>
>>> On Wed, Dec 30, 2009 at 4:52 AM, George wrote:
>>>
>>>> Hello,
>>>>
>>>> What does your code look like?
>>>>
>>>>
>>>>
>>>> On Dec 27, 8:15 pm, Pallavi Sharma  wrote:
>>>> > Hi
>>>> >
>>>> > Has anyone here answer for this please.
>>>> >
>>>> > Regards
>>>> > Pallavi.
>>>> >
>>>> >
>>>> >
>>>> > -- Forwarded message --
>>>> > From: Pallavi Sharma 
>>>> > Date: Tue, Dec 22, 2009 at 10:23 AM
>>>> > Subject: Regarding Getting Page Text in Watir and FireWatir
>>>> > To: watir-general@googlegroups.com
>>>> >
>>>> > Hello
>>>> >
>>>> > If i try to get the page text for watir and firewatir a peculiar
>>>> problem
>>>> > arises;
>>>> >
>>>> > for watir if there is  tag then with the test a new line appers
>>>> >
>>>> > but for Firewatir this doesn't happen.
>>>> >
>>>> > I am not able to run directly my test cases made in watir into
>>>> firewatir due
>>>> > to this behaviour as the split fails on the output of this method .
>>>> >
>>>> > Is there is something we could do about it/ or any other way??
>>>> >
>>>> > Regards
>>>> > Pallavi.
>>>>
>>>>  --
>>>> 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
>>>>
>>>
>>>
>>>--
>>> You received this message because you are subscribed to the Google Groups
>>> "Watir General" group.
>>> To post to this group, s

Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2009-12-30 Thread Pallavi Sharma
Thanks for the reply.

Ideally i would have expected firewatir to behave the watir way and put a
new line. I understand its not a clean way, and even we chose it after much
deliberation as there was nothing much we could do with the page and text
validation on it for comparisions.

Would really appreciate if someone using Firewatir could get back and help
me with this.

Rgds

Pallavi.

On Thu, Dec 31, 2009 at 10:40 AM, Krishna saradka  wrote:

>  by virtue should break the line and what you observe while running in
> ie is correct. May be that firewatir is not treating it that way. [I have
> not explored firewatir to that extent to confirm this]
>
> If you can tell us what exactly you are intend to do after getting the text
> then we can think of some workaround until we get clarity on the above.
>
> If you are comparing the string to arrive at some decision then for the
> time being try making it compare depending on whether it is ie or ff. Though
> this is not a clean way of doing the things.
>
> Thanks & regards,
> KK
>
> On Thu, Dec 31, 2009 at 10:11 AM, Pallavi Sharma 
> wrote:
>
>> Hi Angrez
>>
>> Could you please give some time and help with this..
>>
>> Regards
>>
>> Pallavi.
>>
>>
>> -- Forwarded message --
>> From: Pallavi Sharma 
>> Date: Wed, Dec 30, 2009 at 9:21 AM
>> Subject: Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir
>> and FireWatir
>> To: watir-general@googlegroups.com
>>
>>
>> Hi
>>
>> My code looks like this:
>>
>> Say the input is:
>>
>>  hello  bye  
>>
>> Now if you do from watir saying
>>
>> puts ie.text
>>
>> it will print
>>
>> hello
>> bye
>>
>> so text is seperated by new line
>>
>> but with firewatir
>>
>> ff.text
>>
>> output is:
>>
>> hello bye
>>
>> separated by space.
>>
>> So thats my problem. As the delimiter used by watir and firewatir is not
>> same, i cannot simply run my same watir scripts in fire watir.
>>
>> Any solution or feedback on it...
>>
>> Regards
>> Pallavi.
>>
>>
>> On Wed, Dec 30, 2009 at 4:52 AM, George  wrote:
>>
>>> Hello,
>>>
>>> What does your code look like?
>>>
>>>
>>>
>>> On Dec 27, 8:15 pm, Pallavi Sharma  wrote:
>>> > Hi
>>> >
>>> > Has anyone here answer for this please.
>>> >
>>> > Regards
>>> > Pallavi.
>>> >
>>> >
>>> >
>>> > -- Forwarded message --
>>> > From: Pallavi Sharma 
>>> > Date: Tue, Dec 22, 2009 at 10:23 AM
>>> > Subject: Regarding Getting Page Text in Watir and FireWatir
>>> > To: watir-general@googlegroups.com
>>> >
>>> > Hello
>>> >
>>> > If i try to get the page text for watir and firewatir a peculiar
>>> problem
>>> > arises;
>>> >
>>> > for watir if there is  tag then with the test a new line appers
>>> >
>>> > but for Firewatir this doesn't happen.
>>> >
>>> > I am not able to run directly my test cases made in watir into
>>> firewatir due
>>> > to this behaviour as the split fails on the output of this method .
>>> >
>>> > Is there is something we could do about it/ or any other way??
>>> >
>>> > Regards
>>> > Pallavi.
>>>
>>>  --
>>> 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
>>>
>>
>>
>>   --
>> 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
>>
>
>  --
> 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
>

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

Fwd: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2009-12-30 Thread Pallavi Sharma
Hi Angrez

Could you please give some time and help with this..

Regards

Pallavi.

-- Forwarded message --
From: Pallavi Sharma 
Date: Wed, Dec 30, 2009 at 9:21 AM
Subject: Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and
FireWatir
To: watir-general@googlegroups.com


Hi

My code looks like this:

Say the input is:

 hello  bye  

Now if you do from watir saying

puts ie.text

it will print

hello
bye

so text is seperated by new line

but with firewatir

ff.text

output is:

hello bye

separated by space.

So thats my problem. As the delimiter used by watir and firewatir is not
same, i cannot simply run my same watir scripts in fire watir.

Any solution or feedback on it...

Regards
Pallavi.


On Wed, Dec 30, 2009 at 4:52 AM, George  wrote:

> Hello,
>
> What does your code look like?
>
>
>
> On Dec 27, 8:15 pm, Pallavi Sharma  wrote:
> > Hi
> >
> > Has anyone here answer for this please.
> >
> > Regards
> > Pallavi.
> >
> >
> >
> > -- Forwarded message --
> > From: Pallavi Sharma 
> > Date: Tue, Dec 22, 2009 at 10:23 AM
> > Subject: Regarding Getting Page Text in Watir and FireWatir
> > To: watir-general@googlegroups.com
> >
> > Hello
> >
> > If i try to get the page text for watir and firewatir a peculiar problem
> > arises;
> >
> > for watir if there is  tag then with the test a new line appers
> >
> > but for Firewatir this doesn't happen.
> >
> > I am not able to run directly my test cases made in watir into firewatir
> due
> > to this behaviour as the split fails on the output of this method .
> >
> > Is there is something we could do about it/ or any other way??
> >
> > Regards
> > Pallavi.
>
> --
> 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
>

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

Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2009-12-29 Thread Pallavi Sharma
Hi

My code looks like this:

Say the input is:

 hello  bye  

Now if you do from watir saying

puts ie.text

it will print

hello
bye

so text is seperated by new line

but with firewatir

ff.text

output is:

hello bye

separated by space.

So thats my problem. As the delimiter used by watir and firewatir is not
same, i cannot simply run my same watir scripts in fire watir.

Any solution or feedback on it...

Regards
Pallavi.


On Wed, Dec 30, 2009 at 4:52 AM, George  wrote:

> Hello,
>
> What does your code look like?
>
>
>
> On Dec 27, 8:15 pm, Pallavi Sharma  wrote:
> > Hi
> >
> > Has anyone here answer for this please.
> >
> > Regards
> > Pallavi.
> >
> >
> >
> > -- Forwarded message --
> > From: Pallavi Sharma 
> > Date: Tue, Dec 22, 2009 at 10:23 AM
> > Subject: Regarding Getting Page Text in Watir and FireWatir
> > To: watir-general@googlegroups.com
> >
> > Hello
> >
> > If i try to get the page text for watir and firewatir a peculiar problem
> > arises;
> >
> > for watir if there is  tag then with the test a new line appers
> >
> > but for Firewatir this doesn't happen.
> >
> > I am not able to run directly my test cases made in watir into firewatir
> due
> > to this behaviour as the split fails on the output of this method .
> >
> > Is there is something we could do about it/ or any other way??
> >
> > Regards
> > Pallavi.
>
> --
> 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
>

-- 
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: unexpected popup window which has no title ::: need help

2009-12-28 Thread Pallavi Sharma
Chetan

If its an unexpected window with no title and you just wish to detect and
close it, then Auto IT script which is provided in popup helps would work.

I am facing the difficulty in identifying the specific button like OK,
Cancel

Adding watir general groups for everyone's benefit.

Regards
Pallavi.

On Mon, Dec 28, 2009 at 2:45 PM, Chetan Patel  wrote:

> HI Pallavi,
>
>
>
> Greetings,
>
>
>
> This is chetan patel and working as software eng at indusface ,Baroda
> ,Gujarat.
>
>
>
> I have got your reference from Google group (firewatir)
>
>
>
> I am facing same problem u have , how to manage  unexpected popup window
> which has no title(I have installed autoIt on my machine)
>
>
>
> Please send me snap of code if you have got any solutions.
>
>
>
> Thanks,
>
>
>
> Chetan J.
>

-- 
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] Fwd: Regarding Getting Page Text in Watir and FireWatir

2009-12-27 Thread Pallavi Sharma
Hi

Has anyone here answer for this please.

Regards
Pallavi.

-- Forwarded message --
From: Pallavi Sharma 
Date: Tue, Dec 22, 2009 at 10:23 AM
Subject: Regarding Getting Page Text in Watir and FireWatir
To: watir-general@googlegroups.com


Hello

If i try to get the page text for watir and firewatir a peculiar problem
arises;

for watir if there is  tag then with the test a new line appers

but for Firewatir this doesn't happen.

I am not able to run directly my test cases made in watir into firewatir due
to this behaviour as the split fails on the output of this method .

Is there is something we could do about it/ or any other way??

Regards
Pallavi.

-- 
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] Regarding Getting Page Text in Watir and FireWatir

2009-12-21 Thread Pallavi Sharma
Hello

If i try to get the page text for watir and firewatir a peculiar problem
arises;

for watir if there is  tag then with the test a new line appers

but for Firewatir this doesn't happen.

I am not able to run directly my test cases made in watir into firewatir due
to this behaviour as the split fails on the output of this method .

Is there is something we could do about it/ or any other way??

Regards
Pallavi.

-- 
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: happy belated birthday watir.

2009-11-18 Thread Pallavi Sharma
Wow... this is awesome... wishing everyone from the core team congrats and
applauds for the effort.

Also to this lively community.


--
Pallavi.

On Thu, Nov 19, 2009 at 2:50 AM, Tiffany Fodor  wrote:

>
> Hooray!  Happy Birthday Watir!!!
>
> Congratulations to the core team for designing a tool that has lasted
> so long and grown so much!
>
> I know it's not really appropriate for a 5-year-old, but I'll drink to
> Watir's 5th tonight.  :)
>
> -Tiffany
>
> On Nov 18, 11:53 am, Paul Rogers  wrote:
> > If Im correct, watirs first public appearance was 5 years ago ( plus a
> few
> > days as I forgot to send the email).
> >
> > Bret was teaching a class on test automation at StarWest, and I helped
> out.
> > This was the first appearance of watir. During the class we found lots of
> > bugs. Thanks to all the students for not walking out on us. Is anyone
> from
> > that class on the list?
> >
> > http://www.sqe.com/Events/Archive/sw2004/tutorials.html
> >
> > Paul
> >
>

--~--~-~--~~~---~--~~
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 do i have this error message by using xpath in watir

2009-11-17 Thread Pallavi Sharma
The script works for me. Which watir gem version and ruby are u using?

--

Pallavi

On Wed, Nov 18, 2009 at 10:21 AM, Capricorn  wrote:

>
> Hi all,
> I'm new here, and I met some problem while I was using Watir gem to
> automate my testcase.
> I want to use Watir with xpath, coding like this:
>
> require "watir"
>
> @ie = Watir::IE.new
> @ie.goto("www.g.cn")#google in china
> @ie.text_field(:xpath,"//inp...@name='q']").set 'test'
>
> And there comes the following exceptions:
> D:/ruby/lib/ruby/1.8/rexml/parsers/treeparser.rb:90:in `parse':
> # (REXML::ParseException)
>
> Line:
>
> Position:
>
> Last 80 unconsumed characters:
>
>   href="ht>
>
> D:/ruby/lib/ruby/1.8/rexml/parsers/baseparser.rb:320:in `pull'
>
> D:/ruby/lib/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse'
>
> D:/ruby/lib/ruby/1.8/rexml/document.rb:190:in `build'
>
> D:/ruby/lib/ruby/1.8/rexml/document.rb:45:in `initialize'
>
> D:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:
> 713:in
> `new'
>
> D:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:
> 713:in
> `create_rexml_document_object'
>
> D:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:
> 693:in
> `rexml_document_object'
>
> D:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:
> 897:in
> `elements_by_xpath'
>
> D:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:
> 890:in
> `element_by_xpath'
>
> D:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/container.rb:
> 730:in
> `locate_input_element'
>
> D:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/input_elements.rb:
> 5:in
> `locate'
>
> D:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/element.rb:49:in
> `assert_exists'
>
> D:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/element.rb:284:in
> `enabled?'
>
> D:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/element.rb:56:in
> `assert_enabled'
>
> D:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/input_elements.rb:
> 323:in
> `set'
>
> D:/zhilan/tbtest_trunk/tbautotest/product/mytest/new_main.rb:24
>
> Then I changed to ebay site, everything went well.
> Does this problem come out because there are double byte characters in
> g.cn? Maybe it's a naive question, I've worked on this for sometime
> but
> still no progress,really hope someone will have solutions to this.
> Many
> 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: ruby not exit

2009-11-16 Thread Pallavi Sharma
maybe you can try putting an exit() after your last puts statement.

--
Pallavi

On Mon, Nov 16, 2009 at 12:43 PM, Mamunur Rashid  wrote:

>
> i've written following code
>
> require 'watir'
> Watir::Browser.default = "firefox"
> url="http://turagv2:8080/lotry/Login.do";
> name="admin"
> password="admin"
> $b = Watir::Browser.start(url)
> $b.text_field(:name, "username").set(name)
> puts 'test1'
> $b.text_field(:name, "password").set(password)
> puts 'test2'
> #$b.button(:value, "Sign in").click
> test=$b.form(:action, "/lotry/LoginSubmit.do").submit
> puts 'test3'
>
> it works well but ruby.exe not exit. [it works fine with IE]
>
> >
>

--~--~-~--~~~---~--~~
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- I cannot close the second popup.

2009-11-16 Thread Pallavi Sharma
Can't you start two start clickers at once? Will they both try to access the
first pop up and if found close it?

So  what i am suggesting is this:

ff.startClicker("ok")
$ff.startClicker("ok")
$ff.image(:name, /elete/).click

Wont this work Angrez?

I had a similar situation for IE, and i used the Auto IT script to handle
popup by calling them in separate threads but both invoked at the same
time.


--
Pallavi.






On Mon, Nov 16, 2009 at 3:17 PM, Angrez Singh  wrote:

> It would be bit tricky to handle the second pop up. I'll try here at my end
> and if possible will come up with some solution, but as of now it might not
> be possible.
>
> Thanks,
> Angrez
>
>
> On Mon, Nov 16, 2009 at 1:14 PM, Shlomit Gazit 
> wrote:
>
>>
>> Anybody??
>>
>> On Nov 13, 4:43 pm, Shlomit Gazit  wrote:
>> > Hello,
>> >
>> > I am trying to handlepopupswithfirewatir.
>> > My scenario is clicking on delete button, a popup confirmation will
>> > open and I should click "ok".  After that a second popup will open and
>> > I should write the reason and click "ok".
>> >
>> > So far I was able to click on the delete button and the second popup
>> > will appear but not closed (the first popup is not appearing, but I
>> > assume it is by design).
>> >
>> > How can I close the second popup?
>> >
>> > Myfirewatircode is:
>> >
>> > $ff.startClicker("ok")
>> > $ff.image(:name, /elete/).click
>> > $ff.startClicker("ok")
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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: Can Watir fetch the system time?

2009-11-08 Thread Pallavi Sharma
Watir is designed in Ruby, and Ruby being a powerful language supports all
such functionalities:

Link: http://www.tutorialspoint.com/ruby/ruby_date_time.htm

hope this helps.

--

Pallavi.

On Mon, Nov 9, 2009 at 10:04 AM, yuping zhong wrote:

>
> Dear All,
>
> I want to know if Watir can get the system time.
> If true,how to do that?
>
> Thanks!
>
> -Zhong
> >
>

--~--~-~--~~~---~--~~
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: .Click! and IE hangs

2009-11-07 Thread Pallavi Sharma
Which IE version are you using?



On Sat, Nov 7, 2009 at 2:29 AM, George  wrote:

>
> This seems to work just fine for me:
>
> @browser = Watir::IE.attach(:title, /MakeMyTrip/)
> @browser.image(:src, /search-for-flights.gif/).click
> @browser.link(:id, 'continue').click
>
> On Nov 4, 10:22 pm, Pallavi Sharma  wrote:
> > Hi
> >
> > I have a scenario as follows:
> >
> > 1. openwww.makemytrip.comand select International Flights
> > 2. Select the cities in them as delhi, mumbai and click on search button
> > 3. A div appears with two buttons 'continue' and 'cancel' and i need to
> > click on either of them.
> >
> > Now if i use 'Click' on the search it hangs, click_no_wait doesn't work
> > somehow in my framework and .click! works perfectly but it causes IE to
> come
> > in an image downloading state and it goes on like forever. Is there any
> > reason to this? Is it web site specefic issue? Can watir attach to a
> browser
> > if its not in a ready state or we need to give explicit wait_until
> command.
> >
> > The script i try:
> >
> > ie=Watir::IE.attach(:title,//)
> > ie.image(:src,'
> http://www.makemytrip.com/images/search-for-flights.gif').click!
> > ie.link(:id,'cancel').click!
> >
> > Can anyone here please help me with this.
> >
> > Thanks
> > --
> > Pallavi.
> >
>

--~--~-~--~~~---~--~~
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 Click and Timeout::timeout

2009-11-02 Thread Pallavi Sharma
Hi

Can anyone here please tell me why the Timeout::timeout() will not work with
.click if the it causes opening of a pop up.

Is there any other solution i can try with this?

I tried SystemTimer and Terminator but they also didn't work.

I looked into the code and there is a statement called "waitForIE"? is it
because of this?

Please anyone??


--

Thanks

Pallavi.

On Mon, Nov 2, 2009 at 5:16 PM, Pallavi Sharma wrote:

> Also click_no_wait doesn't work in the FW i am building. Somehow the
> spawining of the ruby process just highlights the object but doesn't click.
>
>
> On Mon, Nov 2, 2009 at 5:14 PM, Pallavi Sharma wrote:
>
>> Why will .Click Fail? Can you tell me that please?
>>
>> --
>> Pallavi.
>>
>>
>> On Mon, Nov 2, 2009 at 5:12 PM, Jarmo Pertman  wrote:
>>
>>>
>>> Use #click_no_wait instead.
>>>
>>> Jarmo
>>>
>>> On Nov 2, 11:29 am, Pallavi Sharma  wrote:
>>> > Hi
>>> >
>>> > I am trying a scenario, where the object click results in a pop up
>>> window so
>>> > it hangs until the popup is handled.
>>> >
>>> > so i am trying something like this:
>>> >
>>> > begin
>>> > Timeout::timeout(30)
>>> > {
>>> >  obj.click}
>>> >
>>> > rescue Exception => e
>>> > message=e
>>> > end
>>> >
>>> > So ideally this should time out the code in the block and come out and
>>> go to
>>> > exception.
>>> >
>>> > But until i handle the popup this doesnot come out from the click.
>>> >
>>> > Why is this happening?
>>> >
>>> > Will in this case System timer  or Terminator work?
>>> >
>>> > Or nothing will work in here due to the way obj.click is implemented.
>>> >
>>> > Kindly help
>>> >
>>> > Regards
>>> > --
>>> > Pallavi.
>>> >>>
>>>
>>
>

--~--~-~--~~~---~--~~
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 and Auto it and FireWatir

2009-11-02 Thread Pallavi Sharma
Hi Angrez

The html page:



My page

function show_confirm()
{
var r=confirm("Press a button");
if (r==true)
  {

  }
else
  {

  }
}










Thanks for looking into this issue

--
Pallavi.

On Mon, Nov 2, 2009 at 9:36 PM, Angrez Singh  wrote:

> Can't see your HTML code file? Can you attache that again?
>
> - Angrez
>
>
> On Mon, Nov 2, 2009 at 5:40 PM, Pallavi Sharma wrote:
>
>> The Ruby Code:
>>
>> # Function to look for popups
>> def check_for_popups
>> autoit = WIN32OLE.new('AutoItX3.Control')
>> #autoit.Opt("WinTitleMatchMode", 4)
>> #
>> # Do forever - assumes popups could occur anywhere/anytime in your
>> application.
>> loop do
>> # Look for window with given title. Give up after 1 second.
>> #ret = autoit.WinWait('Microsoft Internet Explorer', '', 1
>>   ret = autoit.WinWait(ARGV[0], '', 1)
>> #
>> #puts "HERE"
>> # If window found, send appropriate keystroke (e.g. {enter}, {Y},
>> {N}).
>> if (ret==1) then
>>   autoit.ControlClick(ARGV[0],'',ARGV[1])
>>   $flag=true
>>   exit(0)
>>   #autoit.Send('{enter}')
>> end
>> #
>> # Take a rest to avoid chewing up cycles and give another thread a
>> go.
>> # Then resume the loop.
>> #sleep(3)
>> end
>> end
>> #
>> # MAIN APPLICATION CODE
>>
>> Timeout::timeout(ARGV[2].to_i) do
>> begin
>>   check_for_popups
>>   #popuphandle
>>   if $flag==true then
>> exit(0)
>>   end
>> rescue Timeout::Error
>>   #puts 'No popup existed'
>> end
>> end
>>
>> Here ARGV[0]=Window Title  [ i need to use REG Expression]
>> ARGV[1] ==button text
>> ARGV[2]== Wait time.
>>
>> --
>>
>> Thanks
>> Pallavi
>>
>>
>> On Mon, Nov 2, 2009 at 5:22 PM, Pallavi Sharma 
>> wrote:
>>
>>> Angrez
>>>
>>> I have attached both the html page and auto it code, and on clicking the
>>> button a popup window appears and on clicking on the popup nothing happens,
>>> whether you click ok or cancel
>>>
>>> The ruby code for this is not working with Regular Expression Angrez.
>>> That is why i switched to Auto it.
>>>
>>> But this works only on IE and not on FireFox.
>>>
>>> The winclicker is not working with regular expression.
>>>
>>> Can you please send me the winclicker code which works with Regular
>>> expression if you can please, would be grateful.
>>>
>>> --
>>> Thanks
>>>
>>> Pallavi.
>>>
>>>
>>> On Mon, Nov 2, 2009 at 5:17 PM, Angrez Singh  wrote:
>>>
>>>> If you post the HTML code along with ruby code it would be helpful. No
>>>> one yet knows what kind of pop up you are talking about. Your HTML code
>>>> shows just one button clicking on which nothing happens.
>>>>
>>>> Thanks,
>>>> Angrez
>>>>
>>>>
>>>> On Mon, Nov 2, 2009 at 5:13 PM, Pallavi Sharma >>> > wrote:
>>>>
>>>>>  1. I am using Firewatir to work on Firefox 3.5, coz somehow my test
>>>>>> runs get stuck on FF 3.0 i dont know why
>>>>>>
>>>>> This should not happen. Can you let me know what is not working?
>>>>>
>>>>>>
>>>>>
>>>>> I exactly dont know Angrez but the code just hangs in there, but this
>>>>> is not an issue with 3.5.
>>>>>
>>>>> Can you tell me how else to debug this?
>>>>>
>>>>> On Mon, Nov 2, 2009 at 4:15 PM, Angrez Singh  wrote:
>>>>>
>>>>>> 1. I am using Firewatir to work on Firefox 3.5, coz somehow my test
>>>>>>> runs get stuck on FF 3.0 i dont know why
>>>>>>>
>>>>>> This should not happen. Can you let me know what is not working?
>>>>>>
>>>>>>>
>>>>>>> 2. I need to use auto it directly as some popups come which's title i
>>>>>>> dont know before han so i need to use REGEXPTITLE functionality
>>>>>>>
>>>>>>> 3. Now the problem is the auto it script doesn't work on FF 3.5 but
>>>>>>> on 3.0 and my Firewatir doesnot work on 3.0 but on 3.5
>>>>>>>
>>>>>>> Are they javascript popups? If yes, why are you not using the
>>>>>> in-build pop up clicker?
>>>>>>
>>>>>> Thanks,
>>>>>> Angrez
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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 and Auto it and FireWatir

2009-11-02 Thread Pallavi Sharma
The Ruby Code:

# Function to look for popups
def check_for_popups
autoit = WIN32OLE.new('AutoItX3.Control')
#autoit.Opt("WinTitleMatchMode", 4)
#
# Do forever - assumes popups could occur anywhere/anytime in your
application.
loop do
# Look for window with given title. Give up after 1 second.
#ret = autoit.WinWait('Microsoft Internet Explorer', '', 1
  ret = autoit.WinWait(ARGV[0], '', 1)
#
#puts "HERE"
# If window found, send appropriate keystroke (e.g. {enter}, {Y}, {N}).
if (ret==1) then
  autoit.ControlClick(ARGV[0],'',ARGV[1])
  $flag=true
  exit(0)
  #autoit.Send('{enter}')
end
#
# Take a rest to avoid chewing up cycles and give another thread a
go.
# Then resume the loop.
#sleep(3)
end
end
#
# MAIN APPLICATION CODE

Timeout::timeout(ARGV[2].to_i) do
begin
  check_for_popups
  #popuphandle
  if $flag==true then
exit(0)
  end
rescue Timeout::Error
  #puts 'No popup existed'
end
end

Here ARGV[0]=Window Title  [ i need to use REG Expression]
ARGV[1] ==button text
ARGV[2]== Wait time.

--

Thanks
Pallavi


On Mon, Nov 2, 2009 at 5:22 PM, Pallavi Sharma wrote:

> Angrez
>
> I have attached both the html page and auto it code, and on clicking the
> button a popup window appears and on clicking on the popup nothing happens,
> whether you click ok or cancel
>
> The ruby code for this is not working with Regular Expression Angrez. That
> is why i switched to Auto it.
>
> But this works only on IE and not on FireFox.
>
> The winclicker is not working with regular expression.
>
> Can you please send me the winclicker code which works with Regular
> expression if you can please, would be grateful.
>
> --
> Thanks
>
> Pallavi.
>
>
> On Mon, Nov 2, 2009 at 5:17 PM, Angrez Singh  wrote:
>
>> If you post the HTML code along with ruby code it would be helpful. No one
>> yet knows what kind of pop up you are talking about. Your HTML code shows
>> just one button clicking on which nothing happens.
>>
>> Thanks,
>> Angrez
>>
>>
>> On Mon, Nov 2, 2009 at 5:13 PM, Pallavi Sharma 
>> wrote:
>>
>>>  1. I am using Firewatir to work on Firefox 3.5, coz somehow my test
>>>> runs get stuck on FF 3.0 i dont know why
>>>>
>>> This should not happen. Can you let me know what is not working?
>>>
>>>>
>>>
>>> I exactly dont know Angrez but the code just hangs in there, but this is
>>> not an issue with 3.5.
>>>
>>> Can you tell me how else to debug this?
>>>
>>> On Mon, Nov 2, 2009 at 4:15 PM, Angrez Singh  wrote:
>>>
>>>> 1. I am using Firewatir to work on Firefox 3.5, coz somehow my test runs
>>>>> get stuck on FF 3.0 i dont know why
>>>>>
>>>> This should not happen. Can you let me know what is not working?
>>>>
>>>>>
>>>>> 2. I need to use auto it directly as some popups come which's title i
>>>>> dont know before han so i need to use REGEXPTITLE functionality
>>>>>
>>>>> 3. Now the problem is the auto it script doesn't work on FF 3.5 but on
>>>>> 3.0 and my Firewatir doesnot work on 3.0 but on 3.5
>>>>>
>>>>> Are they javascript popups? If yes, why are you not using the in-build
>>>> pop up clicker?
>>>>
>>>> Thanks,
>>>> Angrez
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>> >>
>>
>

--~--~-~--~~~---~--~~
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 and Auto it and FireWatir

2009-11-02 Thread Pallavi Sharma
Angrez

I have attached both the html page and auto it code, and on clicking the
button a popup window appears and on clicking on the popup nothing happens,
whether you click ok or cancel

The ruby code for this is not working with Regular Expression Angrez. That
is why i switched to Auto it.

But this works only on IE and not on FireFox.

The winclicker is not working with regular expression.

Can you please send me the winclicker code which works with Regular
expression if you can please, would be grateful.

--
Thanks

Pallavi.

On Mon, Nov 2, 2009 at 5:17 PM, Angrez Singh  wrote:

> If you post the HTML code along with ruby code it would be helpful. No one
> yet knows what kind of pop up you are talking about. Your HTML code shows
> just one button clicking on which nothing happens.
>
> Thanks,
> Angrez
>
>
> On Mon, Nov 2, 2009 at 5:13 PM, Pallavi Sharma wrote:
>
>>  1. I am using Firewatir to work on Firefox 3.5, coz somehow my test runs
>>> get stuck on FF 3.0 i dont know why
>>>
>> This should not happen. Can you let me know what is not working?
>>
>>>
>>
>> I exactly dont know Angrez but the code just hangs in there, but this is
>> not an issue with 3.5.
>>
>> Can you tell me how else to debug this?
>>
>> On Mon, Nov 2, 2009 at 4:15 PM, Angrez Singh  wrote:
>>
>>> 1. I am using Firewatir to work on Firefox 3.5, coz somehow my test runs
>>>> get stuck on FF 3.0 i dont know why
>>>>
>>> This should not happen. Can you let me know what is not working?
>>>
>>>>
>>>> 2. I need to use auto it directly as some popups come which's title i
>>>> dont know before han so i need to use REGEXPTITLE functionality
>>>>
>>>> 3. Now the problem is the auto it script doesn't work on FF 3.5 but on
>>>> 3.0 and my Firewatir doesnot work on 3.0 but on 3.5
>>>>
>>>> Are they javascript popups? If yes, why are you not using the in-build
>>> pop up clicker?
>>>
>>> Thanks,
>>> Angrez
>>>
>>>
>>>
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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 Click and Timeout::timeout

2009-11-02 Thread Pallavi Sharma
Also click_no_wait doesn't work in the FW i am building. Somehow the
spawining of the ruby process just highlights the object but doesn't click.

On Mon, Nov 2, 2009 at 5:14 PM, Pallavi Sharma wrote:

> Why will .Click Fail? Can you tell me that please?
>
> --
> Pallavi.
>
>
> On Mon, Nov 2, 2009 at 5:12 PM, Jarmo Pertman  wrote:
>
>>
>> Use #click_no_wait instead.
>>
>> Jarmo
>>
>> On Nov 2, 11:29 am, Pallavi Sharma  wrote:
>> > Hi
>> >
>> > I am trying a scenario, where the object click results in a pop up
>> window so
>> > it hangs until the popup is handled.
>> >
>> > so i am trying something like this:
>> >
>> > begin
>> > Timeout::timeout(30)
>> > {
>> >  obj.click}
>> >
>> > rescue Exception => e
>> > message=e
>> > end
>> >
>> > So ideally this should time out the code in the block and come out and
>> go to
>> > exception.
>> >
>> > But until i handle the popup this doesnot come out from the click.
>> >
>> > Why is this happening?
>> >
>> > Will in this case System timer  or Terminator work?
>> >
>> > Or nothing will work in here due to the way obj.click is implemented.
>> >
>> > Kindly help
>> >
>> > Regards
>> > --
>> > Pallavi.
>> >>
>>
>

--~--~-~--~~~---~--~~
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 Click and Timeout::timeout

2009-11-02 Thread Pallavi Sharma
Why will .Click Fail? Can you tell me that please?

--
Pallavi.

On Mon, Nov 2, 2009 at 5:12 PM, Jarmo Pertman  wrote:

>
> Use #click_no_wait instead.
>
> Jarmo
>
> On Nov 2, 11:29 am, Pallavi Sharma  wrote:
> > Hi
> >
> > I am trying a scenario, where the object click results in a pop up window
> so
> > it hangs until the popup is handled.
> >
> > so i am trying something like this:
> >
> > begin
> > Timeout::timeout(30)
> > {
> >  obj.click}
> >
> > rescue Exception => e
> > message=e
> > end
> >
> > So ideally this should time out the code in the block and come out and go
> to
> > exception.
> >
> > But until i handle the popup this doesnot come out from the click.
> >
> > Why is this happening?
> >
> > Will in this case System timer  or Terminator work?
> >
> > Or nothing will work in here due to the way obj.click is implemented.
> >
> > Kindly help
> >
> > Regards
> > --
> > Pallavi.
> >
>

--~--~-~--~~~---~--~~
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 and Auto it and FireWatir

2009-11-02 Thread Pallavi Sharma
>
> 1. I am using Firewatir to work on Firefox 3.5, coz somehow my test runs
> get stuck on FF 3.0 i dont know why
>
This should not happen. Can you let me know what is not working?

>

I exactly dont know Angrez but the code just hangs in there, but this is not
an issue with 3.5.

Can you tell me how else to debug this?

On Mon, Nov 2, 2009 at 4:15 PM, Angrez Singh  wrote:

> 1. I am using Firewatir to work on Firefox 3.5, coz somehow my test runs
>> get stuck on FF 3.0 i dont know why
>>
> This should not happen. Can you let me know what is not working?
>
>>
>> 2. I need to use auto it directly as some popups come which's title i dont
>> know before han so i need to use REGEXPTITLE functionality
>>
>> 3. Now the problem is the auto it script doesn't work on FF 3.5 but on 3.0
>> and my Firewatir doesnot work on 3.0 but on 3.5
>>
>> Are they javascript popups? If yes, why are you not using the in-build pop
> up clicker?
>
> Thanks,
> Angrez
>
> >
>

--~--~-~--~~~---~--~~
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 and Auto it and FireWatir

2009-11-02 Thread Pallavi Sharma
Will it support using Regular Expressions?

I tried it wasn't working for me so thats why switched to Auto it

--
Pallavi.

On Mon, Nov 2, 2009 at 4:15 PM, Angrez Singh  wrote:

> 1. I am using Firewatir to work on Firefox 3.5, coz somehow my test runs
>> get stuck on FF 3.0 i dont know why
>>
> This should not happen. Can you let me know what is not working?
>
>>
>> 2. I need to use auto it directly as some popups come which's title i dont
>> know before han so i need to use REGEXPTITLE functionality
>>
>> 3. Now the problem is the auto it script doesn't work on FF 3.5 but on 3.0
>> and my Firewatir doesnot work on 3.0 but on 3.5
>>
>> Are they javascript popups? If yes, why are you not using the in-build pop
> up clicker?
>
> Thanks,
> Angrez
>
> >
>

--~--~-~--~~~---~--~~
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] Object Click and Timeout::timeout

2009-11-02 Thread Pallavi Sharma
Hi

I am trying a scenario, where the object click results in a pop up window so
it hangs until the popup is handled.

so i am trying something like this:

begin
Timeout::timeout(30)
{
 obj.click
}
rescue Exception => e
message=e
end


So ideally this should time out the code in the block and come out and go to
exception.

But until i handle the popup this doesnot come out from the click.

Why is this happening?

Will in this case System timer  or Terminator work?

Or nothing will work in here due to the way obj.click is implemented.

Kindly help

Regards
--
Pallavi.

--~--~-~--~~~---~--~~
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] Firefox 3.5 and Auto it and FireWatir

2009-10-30 Thread Pallavi Sharma
Hi

I have a scenario as follows:

1. I am using Firewatir to work on Firefox 3.5, coz somehow my test runs get
stuck on FF 3.0 i dont know why

2. I need to use auto it directly as some popups come which's title i dont
know before han so i need to use REGEXPTITLE functionality

3. Now the problem is the auto it script doesn't work on FF 3.5 but on 3.0
and my Firewatir doesnot work on 3.0 but on 3.5

In the auto it script the thing which doesn't work is i am not able to click
on the OK/Cancel button of the pop up. I am able to identify the window and
close it although
have tried using &OK etc

The html page and auto it script is attached.

Has anyone here encountered this issue before? Or has a solution. I know
this is not the forum but still looking for some help in here.

Posting the same on auto it also.

Thanks

--
Pallavi.

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

Title: My page









HandleWindowwithClass.au3
Description: Binary data


[wtr-general] good link on watir.

2009-10-29 Thread Pallavi Sharma
Hi

Anyone seen this link: http://justaddwatir.com/watir/

quite useful and interesting.

--
Pallavi

--~--~-~--~~~---~--~~
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, AutoIT, Window Title and Regular Expression

2009-10-29 Thread Pallavi Sharma
Yes, same here. but still the ruby script doesn;t work for me.

As Zeljko has stated watir has not implemented complete autoit
functinalities

Now my question here is if anyone can please answer:

If i have auto it complete installed and watir then should the ruby script
work? coz its not working for me.

--
Pallavi.

On Thu, Oct 29, 2009 at 4:03 PM, SMF SMF  wrote:

> In my machine I have AutoIT - autoit-v3-setup.exe and Watir -
> ruby186-26.exe
>
>
>
> On Thu, Oct 29, 2009 at 3:59 PM, Pallavi Sharma 
> wrote:
>
>> Another person has replied and stated that the ruby script works with
>> REGEXPTITLE option
>>
>> I am sorry i dont know the name, so SMF ; well fine but autoit is
>> installed on my system also and the ruby script with REGEXPTITLE doesn;t
>> work for me.
>>
>> Is it that if you have complete auto it on the system then the ruby/watir
>> script will work??
>>
>> --
>> Pallavi.
>>
>> On Thu, Oct 29, 2009 at 3:49 PM, Željko Filipin <
>> zeljko.fili...@wa-research.ch> wrote:
>>
>>> 2009/10/29 Pallavi Sharma 
>>>
>>> > i wonder why for SMF SMF the ruby script works??
>>>
>>> I did not understand this.
>>>
>>> Ž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: Watir, AutoIT, Window Title and Regular Expression

2009-10-29 Thread Pallavi Sharma
Also, in the scripts i am trying to detect if a Notepad window is opened if
yes then close it.

for me autoit script works but not ruby/watir.

--
Pallavi

On Thu, Oct 29, 2009 at 3:59 PM, Pallavi Sharma wrote:

> Another person has replied and stated that the ruby script works with
> REGEXPTITLE option
>
> I am sorry i dont know the name, so SMF ; well fine but autoit is installed
> on my system also and the ruby script with REGEXPTITLE doesn;t work for me.
>
> Is it that if you have complete auto it on the system then the ruby/watir
> script will work??
>
> --
> Pallavi.
>
> On Thu, Oct 29, 2009 at 3:49 PM, Željko Filipin <
> zeljko.fili...@wa-research.ch> wrote:
>
>> 2009/10/29 Pallavi Sharma 
>>
>> > i wonder why for SMF SMF the ruby script works??
>>
>> I did not understand this.
>>
>> Ž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: Watir, AutoIT, Window Title and Regular Expression

2009-10-29 Thread Pallavi Sharma
Another person has replied and stated that the ruby script works with
REGEXPTITLE option

I am sorry i dont know the name, so SMF ; well fine but autoit is installed
on my system also and the ruby script with REGEXPTITLE doesn;t work for me.

Is it that if you have complete auto it on the system then the ruby/watir
script will work??

--
Pallavi.

On Thu, Oct 29, 2009 at 3:49 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> 2009/10/29 Pallavi Sharma 
>
> > i wonder why for SMF SMF the ruby script works??
>
> I did not understand this.
>
> Ž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: Watir, AutoIT, Window Title and Regular Expression

2009-10-29 Thread Pallavi Sharma
Oh Thanks Zeljko

thats what even i was thinking, but i wonder why for SMF SMF the ruby script
works??

nyways thanks Zeljko.

--
Pallavi.

On Thu, Oct 29, 2009 at 2:40 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> On Thu, Oct 29, 2009 at 8:04 AM, Pallavi Sharma 
> wrote:
> > Watir auto it implementation is not working if i use the REGEXPTITLE of
> auto it with it. The same script written directly in AutoIT works although.
>
> I have played with autoit a few months ago, also trying to use regular
> expressions. Watir installs a smaller version of autoit, that has only a
> subset of full autoit functionality, and egular expression support is not
> there.
>
>
> Željko
> --
> watir.com - community manager
> watirpodcast.com - host
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Watir, AutoIT, Window Title and Regular Expression

2009-10-29 Thread Pallavi Sharma
Hi

Watir auto it implementation is not working if i use the REGEXPTITLE of auto
it with it. The same script written directly in AutoIT works although.

Does anyone knows why is this happening?

Is something wrong with my script or is this not supported?

*Ruby Script:*

require 'win32ole'

autoit = WIN32OLE.new('AutoItX3.Control')
ret = autoit.WinWait("[REGEXPTITLE:.*pad.*]")
autoit.WinClose("[REGEXPTITLE:.*pad.*]")


*AutoIT Script*
*
*
*
WinWait("[REGEXPTITLE:.*pad.*]")
WinClose("[REGEXPTITLE:.*pad.*]")


Anyone here please help.

Thanks,

--
Pallavi
*

--~--~-~--~~~---~--~~
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 "select_list"(s) with the same name

2009-10-28 Thread Pallavi Sharma
This after thing is really nice i never knew that do we have a before also?

does it works in multi level also like nested elements??

--
Pallavi.

On Wed, Oct 28, 2009 at 8:03 PM, Bret Pettichord wrote:

>
> This should also work
>
> ie.select_list(:name => "select", :after? => ie.h2(:text, "Fine
> Art")).set("Drawing - In A Day")
>
> Bret
>
> Pallavi Sharma wrote:
> > Have you tried multiple attributes and used index??
> >
> >
> > ie.select_list(:name =>  "select", :index => 2).set("Drawing - In A Day")
> >
> > Try this. It should solve the issue.
> >
> > --
> > Pallavi
> >
> > On Wed, Oct 28, 2009 at 7:38 AM, Ben  > <mailto:bgo...@googlemail.com>> wrote:
> >
> >
> >
> >
> >
> > Below is a sniplet of the  code of the web page.  I 'm trying to
> > test.
> > How can I select the option from the second list, the 'Fine Art'
> > section using WATIR?
> >
> > For example
> >
> > ie.select_list(:name,  "select").set("Drawing - In A Day")
> >
> > WATIR wont let me because the system is looking at the list from the
> > 'Craft' section. Thanks for your help.
> >
> >
> > Craft
> > Some text 
> >  > selected>*** CHOOSE ***
> > Candle Making
> > Doll Making
> > Glass Kiln Forming & Fusing
> > Jewellery - Wirework
> > 
> >
> > Fine Art
> > Some text.
> >  > selected>*** CHOOSE ***
> > Art - Folio Preparation
> > Drawing - Basics
> > Drawing - Caricatures
> > Drawing - In A Day
> > Drawing - Pastels
> > Trompe L'Oeil Mural Illusion
> > 
> >
> >
> >
> >
> >
> >
> >
> > >
>
>
> >
>

--~--~-~--~~~---~--~~
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 or selenium

2009-10-28 Thread Pallavi Sharma
Sorry to answer as the question as it is not directed to all

I believe what Raveendran means is that with Selenium you can code in your
own fav programming language whether its java, perl, ruby, c# etc etc . For
each their is a driver available which interacts with selenium RC.

But watir works with Ruby

where as there are other flavours of watir also available known as watij for
java, watIN for .net

and the blog was a nice representation of the available feature test. nice
job Raveendran.

Its a good discussion, being a user of open source tools for a long time
now.. even i am not sure which one is better over other..

but some insights are helpful to judge what works for you the best...

--
Pallavi.

On Wed, Oct 28, 2009 at 5:44 PM, Jarmo Pertman  wrote:

>
> Hello, Raveendran.
>
> I got confused by the last sentence in your blog "You can also express
> Selenium tests in a programming language, taking advantage of language-
> specific drivers that communicate in Selenese to the browser bot.".
> What did you mean by that exactly? I mean, why cannot you express
> Watir tests in a programming language? Aren't you programming Watir
> tests in Ruby - so in a programming language? Or are you not
> considering Ruby as a programming language? :P
>
> Jarmo
>
> On Oct 28, 6:16 am, Raveendran P  wrote:
> > Hi E,
> >
> >This link will highlight some imp points -->
> http://bit.ly/1dtC2w
> >
> > thanks
> >
> > On Tue, Oct 27, 2009 at 7:21 PM, Gossler Erika  >wrote:
> >
> > > Hi,
> >
> > > I'm searching any info of comparing Watir and Selenium.
> >
> > > I have found a lot of usefull links&tips on the internet, but if you
> have
> > > some recent comparison of these two let me know.
> >
> > > Many thanks,
> > > E.
> >
> > --
> > Regards,
> > P.Raveendranhttp://raveendran.wordpress.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] Fire Watir and Get Object Text

2009-10-28 Thread Pallavi Sharma
Hi

When i do in firewatir the following:

object.text  => it returns too many characters, a lot of special characters
etc which is causing problem

object.innerhtml => returnn blank

object.html  => returns only the header text.


I need to fetch just the text on the object like watir does.


Anyone here has a solution for it?

Thanks

--
Pallavi.

--~--~-~--~~~---~--~~
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 "select_list"(s) with the same name

2009-10-27 Thread Pallavi Sharma
Have you tried multiple attributes and used index??


ie.select_list(:name =>  "select", :index => 2).set("Drawing - In A Day")

Try this. It should solve the issue.

--
Pallavi

On Wed, Oct 28, 2009 at 7:38 AM, Ben  wrote:

>
>
>
>
> Below is a sniplet of the  code of the web page.  I 'm trying to
> test.
> How can I select the option from the second list, the 'Fine Art'
> section using WATIR?
>
> For example
>
> ie.select_list(:name,  "select").set("Drawing - In A Day")
>
> WATIR wont let me because the system is looking at the list from the
> 'Craft' section. Thanks for your help.
>
>
> Craft
> Some text 
>  selected>*** CHOOSE ***
> Candle Making
> Doll Making
> Glass Kiln Forming & Fusing
> Jewellery - Wirework
> 
>
> Fine Art
> Some text.
>  selected>*** CHOOSE ***
> Art - Folio Preparation
> Drawing - Basics
> Drawing - Caricatures
> Drawing - In A Day
> Drawing - Pastels
> Trompe L'Oeil Mural Illusion
> 
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
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 recognized DIV object

2009-10-27 Thread Pallavi Sharma
This is cool... never knew that...

--
Pallavi.

On Wed, Oct 28, 2009 at 3:20 AM, George  wrote:

>
> If it's the text field within the div, I believe you can also use the
> after? method:
>
> $ie.text_field(:after? $ie.div(:text, 'name1')).set('abc')
>
>
> On Oct 27, 3:44 am, Pallavi Sharma  wrote:
> > Div doesn't have "set" function
> >
> > What i was saying that the Div contains maybe a text box on which you are
> > trying to set the text.
> >
> > so directly give the textbox identification
> >
> > ie.text_field(:prop,value).set
> >
> > this should work..
> >
> > Let me know.
> >
> >
> >
> > On Tue, Oct 27, 2009 at 4:08 PM, rrash586  wrote:
> >
> > > Thanks for input ,
> > > i tried it as
> > > $ie.div(:text,'name1').set(abc')
> > > whether i am doing something wrong ..
> > > i am not getting it
> > > for the above i.e $ie.div(:text,'name1').set(abc') for this
> > > i am getting following error
> > > undefined method `set' for # (NoMethodError)
> >
> > > Please let me know if i am missing something.
> >
> > > On Oct 27, 10:13 am, Pallavi Sharma  wrote:
> > > > You can try with index property, if any two objects have the same
> > > property,
> > > > use a third one called index. Watir supports multiple attributes to
> > > > recognize an object.
> >
> > > > You can directly give the object properties, doesn't matter whether
> it is
> > > in
> > > > a div or not with watir.
> >
> > > > Hope this helps.
> >
> > > > --
> > > > Pallavi
> >
> > > > On Mon, Oct 26, 2009 at 5:51 PM, rrash586 
> wrote:
> >
> > > > > Hi All,
> >
> > > > > I am testing the GWT based application on IE7. In my application
> when
> > > > > i click on the add button a new row (run time generation) is
> > > > > generated .I am facing the problem while locating the object as it
> is
> > > > > in DIV.
> >
> > > > > can anyone let me know how to click on the object in DIV
> > > > > i am having only the text property set for the Div object.
> >
> > > > > Also one more question is there is that how watir separate out the
> two
> > > > > object having the same property name and value.
> >
> > > > > thanks in Advance- Hide quoted text -
> >
> > > > - Show quoted text -
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: how to recognized DIV object

2009-10-27 Thread Pallavi Sharma
Div doesn't have "set" function

What i was saying that the Div contains maybe a text box on which you are
trying to set the text.

so directly give the textbox identification

ie.text_field(:prop,value).set


this should work..

Let me know.

On Tue, Oct 27, 2009 at 4:08 PM, rrash586  wrote:

>
> Thanks for input ,
> i tried it as
> $ie.div(:text,'name1').set(abc')
> whether i am doing something wrong ..
> i am not getting it
> for the above i.e $ie.div(:text,'name1').set(abc') for this
> i am getting following error
> undefined method `set' for # (NoMethodError)
>
> Please let me know if i am missing something.
>
> On Oct 27, 10:13 am, Pallavi Sharma  wrote:
> > You can try with index property, if any two objects have the same
> property,
> > use a third one called index. Watir supports multiple attributes to
> > recognize an object.
> >
> > You can directly give the object properties, doesn't matter whether it is
> in
> > a div or not with watir.
> >
> > Hope this helps.
> >
> > --
> > Pallavi
> >
> >
> >
> > On Mon, Oct 26, 2009 at 5:51 PM, rrash586  wrote:
> >
> > > Hi All,
> >
> > > I am testing the GWT based application on IE7. In my application when
> > > i click on the add button a new row (run time generation) is
> > > generated .I am facing the problem while locating the object as it is
> > > in DIV.
> >
> > > can anyone let me know how to click on the object in DIV
> > > i am having only the text property set for the Div object.
> >
> > > Also one more question is there is that how watir separate out the two
> > > object having the same property name and value.
> >
> > > thanks in Advance- Hide quoted text -
> >
> > - Show quoted text -
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: FireWatir Issue with Regular expressions

2009-10-27 Thread Pallavi Sharma
oh i guess it installs correct but when i say gem --version firewatir gives
0.9.4

why so?? any idea??




On Tue, Oct 27, 2009 at 2:33 PM, Pallavi Sharma wrote:

> Hi Angrez
>
> when i do gem install firewatir, it is installing gem version 0.9.4; can
> you please let me know where can i get the updated gem from?
>
> Also can you also upgrade the same on ruby gems..
>
>
> thanks
>
> Pallavi.
>
>
> On Tue, Oct 27, 2009 at 1:21 PM, Pallavi Sharma 
> wrote:
>
>> :) feeling sheepish...
>>
>> Thanks will do so now...
>>
>>
>> On Tue, Oct 27, 2009 at 12:39 PM, Angrez Singh  wrote:
>>
>>> Firewatir 0.9.4 :) ... that is history now .. you should upgrade .. I am
>>> not sure how you are able to run the test cases on firewatir.
>>>
>>> - Angrez
>>>
>>>
>>> On Tue, Oct 27, 2009 at 9:32 AM, Pallavi Sharma >> > wrote:
>>>
>>>> Sorry Angrez, forgot to mention that. it is 0.9.4.
>>>>
>>>> I think i should upgrade firewatir now.
>>>>
>>>>
>>>>
>>>> On Mon, Oct 26, 2009 at 3:50 PM, Angrez Singh  wrote:
>>>>
>>>>> Not sure about that. Which Firewatir version are you using?
>>>>>
>>>>>
>>>>> On Mon, Oct 26, 2009 at 3:41 PM, Pallavi Sharma <
>>>>> write2pall...@gmail.com> wrote:
>>>>>
>>>>>> The version on which we are checking is Firefox 3.0, maybe it is
>>>>>> because of this.
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Oct 26, 2009 at 3:22 PM, Pallavi Sharma <
>>>>>> write2pall...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi Angrez
>>>>>>>
>>>>>>> So can it be a possibility that this might fail with other firewatir
>>>>>>> and firefox versions?
>>>>>>>
>>>>>>> Please let me know.
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> Pallavi.
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Oct 26, 2009 at 3:04 PM, Angrez Singh wrote:
>>>>>>>
>>>>>>>> Your code works for me. I am using Firewatir 1.6.5rc2 with Firefox
>>>>>>>> 3.5.3
>>>>>>>>
>>>>>>>> - Angrez
>>>>>>>>
>>>>>>>> On Mon, Oct 26, 2009 at 2:17 PM, Pallavi Sharma <
>>>>>>>> write2pall...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Hi
>>>>>>>>>
>>>>>>>>> I have a weird situation where the Fire-watir sometimes work very
>>>>>>>>> smoothly with the scripts involving regular expression to identify the
>>>>>>>>> objects but in another case, the script just hangs.
>>>>>>>>>
>>>>>>>>> and also this scenario happens on different systems, which have the
>>>>>>>>> same configuration.
>>>>>>>>>
>>>>>>>>> Can anyone advice me on this? I believe there is more to this
>>>>>>>>> issue. Can anyone please tell me what else should i check or provide 
>>>>>>>>> with to
>>>>>>>>> the group.
>>>>>>>>>
>>>>>>>>> The script for the same is here:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> require 'firewatir'
>>>>>>>>>
>>>>>>>>> ff=FireWatir::Firefox.new
>>>>>>>>> ff.goto('http://www.makemytrip.com')
>>>>>>>>> ff.link(:href,/international-flights/).click
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> I don't face any issues with IE and watir though.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>>
>>>>>>>>> Pallavi.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>> >>>
>>>
>>
>

--~--~-~--~~~---~--~~
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 Issue with Regular expressions

2009-10-27 Thread Pallavi Sharma
Hi Angrez

when i do gem install firewatir, it is installing gem version 0.9.4; can you
please let me know where can i get the updated gem from?

Also can you also upgrade the same on ruby gems..


thanks

Pallavi.

On Tue, Oct 27, 2009 at 1:21 PM, Pallavi Sharma wrote:

> :) feeling sheepish...
>
> Thanks will do so now...
>
>
> On Tue, Oct 27, 2009 at 12:39 PM, Angrez Singh  wrote:
>
>> Firewatir 0.9.4 :) ... that is history now .. you should upgrade .. I am
>> not sure how you are able to run the test cases on firewatir.
>>
>> - Angrez
>>
>>
>> On Tue, Oct 27, 2009 at 9:32 AM, Pallavi Sharma 
>> wrote:
>>
>>> Sorry Angrez, forgot to mention that. it is 0.9.4.
>>>
>>> I think i should upgrade firewatir now.
>>>
>>>
>>>
>>> On Mon, Oct 26, 2009 at 3:50 PM, Angrez Singh  wrote:
>>>
>>>> Not sure about that. Which Firewatir version are you using?
>>>>
>>>>
>>>> On Mon, Oct 26, 2009 at 3:41 PM, Pallavi Sharma <
>>>> write2pall...@gmail.com> wrote:
>>>>
>>>>> The version on which we are checking is Firefox 3.0, maybe it is
>>>>> because of this.
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Oct 26, 2009 at 3:22 PM, Pallavi Sharma <
>>>>> write2pall...@gmail.com> wrote:
>>>>>
>>>>>> Hi Angrez
>>>>>>
>>>>>> So can it be a possibility that this might fail with other firewatir
>>>>>> and firefox versions?
>>>>>>
>>>>>> Please let me know.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Pallavi.
>>>>>>
>>>>>>
>>>>>> On Mon, Oct 26, 2009 at 3:04 PM, Angrez Singh wrote:
>>>>>>
>>>>>>> Your code works for me. I am using Firewatir 1.6.5rc2 with Firefox
>>>>>>> 3.5.3
>>>>>>>
>>>>>>> - Angrez
>>>>>>>
>>>>>>> On Mon, Oct 26, 2009 at 2:17 PM, Pallavi Sharma <
>>>>>>> write2pall...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi
>>>>>>>>
>>>>>>>> I have a weird situation where the Fire-watir sometimes work very
>>>>>>>> smoothly with the scripts involving regular expression to identify the
>>>>>>>> objects but in another case, the script just hangs.
>>>>>>>>
>>>>>>>> and also this scenario happens on different systems, which have the
>>>>>>>> same configuration.
>>>>>>>>
>>>>>>>> Can anyone advice me on this? I believe there is more to this issue.
>>>>>>>> Can anyone please tell me what else should i check or provide with to 
>>>>>>>> the
>>>>>>>> group.
>>>>>>>>
>>>>>>>> The script for the same is here:
>>>>>>>>
>>>>>>>>
>>>>>>>> require 'firewatir'
>>>>>>>>
>>>>>>>> ff=FireWatir::Firefox.new
>>>>>>>> ff.goto('http://www.makemytrip.com')
>>>>>>>> ff.link(:href,/international-flights/).click
>>>>>>>>
>>>>>>>>
>>>>>>>> I don't face any issues with IE and watir though.
>>>>>>>>
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> Pallavi.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>> >>
>>
>

--~--~-~--~~~---~--~~
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 Issue with Regular expressions

2009-10-27 Thread Pallavi Sharma
:) feeling sheepish...

Thanks will do so now...

On Tue, Oct 27, 2009 at 12:39 PM, Angrez Singh  wrote:

> Firewatir 0.9.4 :) ... that is history now .. you should upgrade .. I am
> not sure how you are able to run the test cases on firewatir.
>
> - Angrez
>
>
> On Tue, Oct 27, 2009 at 9:32 AM, Pallavi Sharma 
> wrote:
>
>> Sorry Angrez, forgot to mention that. it is 0.9.4.
>>
>> I think i should upgrade firewatir now.
>>
>>
>>
>> On Mon, Oct 26, 2009 at 3:50 PM, Angrez Singh  wrote:
>>
>>> Not sure about that. Which Firewatir version are you using?
>>>
>>>
>>> On Mon, Oct 26, 2009 at 3:41 PM, Pallavi Sharma >> > wrote:
>>>
>>>> The version on which we are checking is Firefox 3.0, maybe it is because
>>>> of this.
>>>>
>>>>
>>>>
>>>> On Mon, Oct 26, 2009 at 3:22 PM, Pallavi Sharma <
>>>> write2pall...@gmail.com> wrote:
>>>>
>>>>> Hi Angrez
>>>>>
>>>>> So can it be a possibility that this might fail with other firewatir
>>>>> and firefox versions?
>>>>>
>>>>> Please let me know.
>>>>>
>>>>> Thanks
>>>>>
>>>>> Pallavi.
>>>>>
>>>>>
>>>>> On Mon, Oct 26, 2009 at 3:04 PM, Angrez Singh wrote:
>>>>>
>>>>>> Your code works for me. I am using Firewatir 1.6.5rc2 with Firefox
>>>>>> 3.5.3
>>>>>>
>>>>>> - Angrez
>>>>>>
>>>>>> On Mon, Oct 26, 2009 at 2:17 PM, Pallavi Sharma <
>>>>>> write2pall...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi
>>>>>>>
>>>>>>> I have a weird situation where the Fire-watir sometimes work very
>>>>>>> smoothly with the scripts involving regular expression to identify the
>>>>>>> objects but in another case, the script just hangs.
>>>>>>>
>>>>>>> and also this scenario happens on different systems, which have the
>>>>>>> same configuration.
>>>>>>>
>>>>>>> Can anyone advice me on this? I believe there is more to this issue.
>>>>>>> Can anyone please tell me what else should i check or provide with to 
>>>>>>> the
>>>>>>> group.
>>>>>>>
>>>>>>> The script for the same is here:
>>>>>>>
>>>>>>>
>>>>>>> require 'firewatir'
>>>>>>>
>>>>>>> ff=FireWatir::Firefox.new
>>>>>>> ff.goto('http://www.makemytrip.com')
>>>>>>> ff.link(:href,/international-flights/).click
>>>>>>>
>>>>>>>
>>>>>>> I don't face any issues with IE and watir though.
>>>>>>>
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Pallavi.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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 recognized DIV object

2009-10-26 Thread Pallavi Sharma
You can try with index property, if any two objects have the same property,
use a third one called index. Watir supports multiple attributes to
recognize an object.

You can directly give the object properties, doesn't matter whether it is in
a div or not with watir.

Hope this helps.

--
Pallavi


On Mon, Oct 26, 2009 at 5:51 PM, rrash586  wrote:

>
> Hi All,
>
> I am testing the GWT based application on IE7. In my application when
> i click on the add button a new row (run time generation) is
> generated .I am facing the problem while locating the object as it is
> in DIV.
>
> can anyone let me know how to click on the object in DIV
> i am having only the text property set for the Div object.
>
> Also one more question is there is that how watir separate out the two
> object having the same property name and value.
>
> thanks in Advance
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: FireWatir Issue with Regular expressions

2009-10-26 Thread Pallavi Sharma
Sorry Angrez, forgot to mention that. it is 0.9.4.

I think i should upgrade firewatir now.



On Mon, Oct 26, 2009 at 3:50 PM, Angrez Singh  wrote:

> Not sure about that. Which Firewatir version are you using?
>
>
> On Mon, Oct 26, 2009 at 3:41 PM, Pallavi Sharma 
> wrote:
>
>> The version on which we are checking is Firefox 3.0, maybe it is because
>> of this.
>>
>>
>>
>> On Mon, Oct 26, 2009 at 3:22 PM, Pallavi Sharma 
>> wrote:
>>
>>> Hi Angrez
>>>
>>> So can it be a possibility that this might fail with other firewatir and
>>> firefox versions?
>>>
>>> Please let me know.
>>>
>>> Thanks
>>>
>>> Pallavi.
>>>
>>>
>>> On Mon, Oct 26, 2009 at 3:04 PM, Angrez Singh  wrote:
>>>
>>>> Your code works for me. I am using Firewatir 1.6.5rc2 with Firefox 3.5.3
>>>>
>>>> - Angrez
>>>>
>>>> On Mon, Oct 26, 2009 at 2:17 PM, Pallavi Sharma <
>>>> write2pall...@gmail.com> wrote:
>>>>
>>>>> Hi
>>>>>
>>>>> I have a weird situation where the Fire-watir sometimes work very
>>>>> smoothly with the scripts involving regular expression to identify the
>>>>> objects but in another case, the script just hangs.
>>>>>
>>>>> and also this scenario happens on different systems, which have the
>>>>> same configuration.
>>>>>
>>>>> Can anyone advice me on this? I believe there is more to this issue.
>>>>> Can anyone please tell me what else should i check or provide with to the
>>>>> group.
>>>>>
>>>>> The script for the same is here:
>>>>>
>>>>>
>>>>> require 'firewatir'
>>>>>
>>>>> ff=FireWatir::Firefox.new
>>>>> ff.goto('http://www.makemytrip.com')
>>>>> ff.link(:href,/international-flights/).click
>>>>>
>>>>>
>>>>> I don't face any issues with IE and watir though.
>>>>>
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Pallavi.
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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 Issue with Regular expressions

2009-10-26 Thread Pallavi Sharma
The version on which we are checking is Firefox 3.0, maybe it is because of
this.



On Mon, Oct 26, 2009 at 3:22 PM, Pallavi Sharma wrote:

> Hi Angrez
>
> So can it be a possibility that this might fail with other firewatir and
> firefox versions?
>
> Please let me know.
>
> Thanks
>
> Pallavi.
>
>
> On Mon, Oct 26, 2009 at 3:04 PM, Angrez Singh  wrote:
>
>> Your code works for me. I am using Firewatir 1.6.5rc2 with Firefox 3.5.3
>>
>> - Angrez
>>
>> On Mon, Oct 26, 2009 at 2:17 PM, Pallavi Sharma 
>> wrote:
>>
>>> Hi
>>>
>>> I have a weird situation where the Fire-watir sometimes work very
>>> smoothly with the scripts involving regular expression to identify the
>>> objects but in another case, the script just hangs.
>>>
>>> and also this scenario happens on different systems, which have the same
>>> configuration.
>>>
>>> Can anyone advice me on this? I believe there is more to this issue. Can
>>> anyone please tell me what else should i check or provide with to the group.
>>>
>>> The script for the same is here:
>>>
>>>
>>> require 'firewatir'
>>>
>>> ff=FireWatir::Firefox.new
>>> ff.goto('http://www.makemytrip.com')
>>> ff.link(:href,/international-flights/).click
>>>
>>>
>>> I don't face any issues with IE and watir though.
>>>
>>>
>>> Thanks,
>>>
>>> Pallavi.
>>>
>>>
>>>
>>
>> >>
>>
>

--~--~-~--~~~---~--~~
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 Issue with Regular expressions

2009-10-26 Thread Pallavi Sharma
Hi Angrez

So can it be a possibility that this might fail with other firewatir and
firefox versions?

Please let me know.

Thanks

Pallavi.

On Mon, Oct 26, 2009 at 3:04 PM, Angrez Singh  wrote:

> Your code works for me. I am using Firewatir 1.6.5rc2 with Firefox 3.5.3
>
> - Angrez
>
> On Mon, Oct 26, 2009 at 2:17 PM, Pallavi Sharma 
> wrote:
>
>> Hi
>>
>> I have a weird situation where the Fire-watir sometimes work very smoothly
>> with the scripts involving regular expression to identify the objects but in
>> another case, the script just hangs.
>>
>> and also this scenario happens on different systems, which have the same
>> configuration.
>>
>> Can anyone advice me on this? I believe there is more to this issue. Can
>> anyone please tell me what else should i check or provide with to the group.
>>
>> The script for the same is here:
>>
>>
>> require 'firewatir'
>>
>> ff=FireWatir::Firefox.new
>> ff.goto('http://www.makemytrip.com')
>> ff.link(:href,/international-flights/).click
>>
>>
>> I don't face any issues with IE and watir though.
>>
>>
>> Thanks,
>>
>> Pallavi.
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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] FireWatir Issue with Regular expressions

2009-10-26 Thread Pallavi Sharma
Hi

I have a weird situation where the Fire-watir sometimes work very smoothly
with the scripts involving regular expression to identify the objects but in
another case, the script just hangs.

and also this scenario happens on different systems, which have the same
configuration.

Can anyone advice me on this? I believe there is more to this issue. Can
anyone please tell me what else should i check or provide with to the group.

The script for the same is here:


require 'firewatir'

ff=FireWatir::Firefox.new
ff.goto('http://www.makemytrip.com')
ff.link(:href,/international-flights/).click


I don't face any issues with IE and watir though.


Thanks,

Pallavi.

--~--~-~--~~~---~--~~
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] FireWatir Issue with Regular expressions

2009-10-26 Thread Pallavi Sharma
Hi

I have a weird situation where the Fire-watir sometimes work very smoothly
with the scripts involving regular expression to identify the objects but in
another case, the script just hangs.

and also this scenario happens on different systems, which have the same
configuration.

Can anyone advice me on this? I believe there is more to this issue. Can
anyone please tell me what else should i check or provide with to the group.

The script for the same is here:


require 'firewatir'

ff=FireWatir::Firefox.new
ff.goto('http://www.makemytrip.com')
ff.link(:href,/international-flights/).click


I don't face any issues with IE and watir though.


Thanks,

Pallavi.

--~--~-~--~~~---~--~~
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: Downloading File and FireWatir

2009-10-23 Thread Pallavi Sharma
Done :) :)
This is cool Zeljko. I will add some more stuff i have on watir and
firewatir.

Feels good to contribute some..


Thanks

Pallavi.

On Fri, Oct 23, 2009 at 3:34 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> 2009/10/23 Pallavi Sharma 
> > Please do let me know what to do exactly.
>
> - go to http://wiki.openqa.org/display/WTR/File+Downloads
> - click `Edit`
> - click `Rich Text`
> - select the code
> - click `--Format--` select box
> - select `code`
> - enter comment at the bottom of the page
> - click `Save`
>
> Let me know if you need further help.
>
>
> Ž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: Downloading File and FireWatir

2009-10-23 Thread Pallavi Sharma
Zeljko
Sorry didn't get time. I actually need some help, coz i tried a lot but
couldn't mend it.

Sorry should have told you so.

Please do let me know what to do exactly.

I put seperators between the code line but still didn't help.


Pallavi.

On Fri, Oct 23, 2009 at 2:55 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> On Wed, Oct 21, 2009 at 12:42 PM, Željko Filipin <
> zeljko.fili...@wa-research.ch> wrote:
> > You have to add {code}
>
> Pallavi,
>
> I see that you have not done this. Do you need help? I will do it if you do
> not have the time.
>
>
> Ž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: Has anyone tried using AutoIt to handle unexpected Popup windows

2009-10-21 Thread Pallavi Sharma
Yes, i don't do it using ruby, i do it using vb.net a framework which i have
build for automation solution using watir.


On Wed, Oct 21, 2009 at 5:15 PM, al3kc  wrote:

>
>
> Do you create separate thread for check_for_popup method?
> >
>

--~--~-~--~~~---~--~~
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: Has anyone tried using AutoIt to handle unexpected Popup windows

2009-10-21 Thread Pallavi Sharma
Yeah you are right about it, I know this, but was looking for something to
do with the using of regular expression in title. Would have helped my
implementation.
Anyways thanks, will try what you have suggested.

Thanks
Pallavi.



On Wed, Oct 21, 2009 at 3:36 PM, Ankur Gera  wrote:

>
>
> Hi Pallavi,
>
> Use the AutoIt software(AutoIt Window Info) ,  you will get the info about
> class of that pop-up window.What i have seen is that , this class remains
> constant for almost all of the pop-up's , try to use this as an argument in
> place of title.
>
> Thanks & Regards,
> Ankur Gera
> TCS
>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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: Has anyone tried using AutoIt to handle unexpected Popup windows

2009-10-21 Thread Pallavi Sharma
Ankur
I already know the code to handle a popup window via autoit if you know the
window tile.

Do you have an idea about handling a popup where i dont know what is the
windowtitle?

Means handling unexpected popup window, which will like handle pop up
whatever may be the window title.

If you have that then please share else, this all code is available with
watir wiki itself.


Pallavi.

On Wed, Oct 21, 2009 at 2:59 PM, Ankur Gera  wrote:

>
> Hi Pallavi,
>
> Below is the respective code :-
>
> require 'watir'
> require 'win32ole'
>
> #Supply AutoItX3 as an argument to the constructor of WIN32OLE
> #for handling pop-up windows using WIN32OLE objects.WIN32OLE will act as an
> interface
> #for handling pop-up windows using AutoItX3 functions.
> ai = WIN32OLE.new("AutoItX3.Control")
>
> #New IE Browser window
> ie=Watir::IE.new
>
> #Go to AutoIt website
> ie.goto("http://www.autoitscript.com/autoit3/downloads.shtml";)
>
> #Click Download AutoIt image
> ie.image(:src,/download_autoit/).click_no_wait
>
>
> #Wait for the pop-up window with the specified title supplied to come
> res=ai.WinWait("File Download - Security Warning","",30)
> puts res  #Used for debugging purpose
>
> #Always try to Activate the pop-up window before using ControlClick fn()
> res=ai.WinActivate("File Download - Security Warning")
> puts res  #Used for debugging purpose
>
> #Click on the specified control on the pop-up window
> res=ai.ControlClick("File Download - Security Warning","","&Save")
> puts res  #Used for debugging purpose
>
>
> puts"\n" #Place the cursor on the next line
> #Wait for the pop-up window with the specified title supplied to come
> res=ai.WinWait("Save As","",30)
> puts res  #Used for debugging purpose
>
> #Always try to Activate the pop-up window before using ControlClick fn()
> res=ai.WinActivate("Save As")
> puts res  #Used for debugging purpose
>
> #Send the path in the pop-up window where you want to store the respective
> file
> res=ai.ControlSend("Save As","","Edit1", "C:\AutoItV3.exe")
> puts res  #Used for debugging purpose
>
> #Click on the specified control on the pop-up window
> res=ai.ControlClick("Save As","","&Save")
> puts res  #Used for debugging purpose
>
> #Close the IE Browser window
> ie.close
>
> Thanks & Regards,
> Ankur Gera
> TCS
>
> >
>

--~--~-~--~~~---~--~~
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: Downloading File and FireWatir

2009-10-21 Thread Pallavi Sharma
Zeljko
I updated it, but i guess my script is causing some error on the page its
coming in Pink color.

How do i rectify that?

Let me know

Pallavi.



On Wed, Oct 21, 2009 at 2:41 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> On Wed, Oct 21, 2009 at 10:53 AM, Pallavi Sharma 
> wrote:
> > Sorry i forgot to ask in the earlier mail about the steps for "How to put
> a post on wiki"
>
> I knew we have instructions somewhere. :)
>
> http://wiki.openqa.org/display/WTR/How+Can+I+Help
>
> Ž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: Has anyone tried using AutoIt to handle unexpected Popup windows

2009-10-21 Thread Pallavi Sharma
Hi Ankur
Please send in the code.

Thanks

On Wed, Oct 21, 2009 at 2:49 PM, Ankur Gera  wrote:

>
>
> Hi Pallavi,
>
> Try to use the code which i provided for handling pop-up's through AutoIt.
>
> Thanks & Regards,
> Ankur Gera
> TCS
>
>
> >
>

--~--~-~--~~~---~--~~
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: Has anyone tried using AutoIt to handle unexpected Popup windows

2009-10-21 Thread Pallavi Sharma
I know, i am going to ask there. I know its not a watir issue, just
wondering whether someone ever tried this here in this forum.
recovery scenarios are a part of any automation framework.

I will try again and if i get a solution will post it here for further help.

On Wed, Oct 21, 2009 at 2:21 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> On Wed, Oct 21, 2009 at 10:46 AM, Pallavi Sharma 
> wrote:
> > I have full installed AutoIT on my system Zeljko, still this doesn't
> work.
>
> Did you ask at Autoit forum? This sounds to me like Autoit problem, not
> really Watir related.
>
> Ž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: Downloading File and FireWatir

2009-10-21 Thread Pallavi Sharma
Zeljko
Sorry i forgot to ask in the earlier mail about the steps for "How to put a
post on wiki"

I have never done that before.

So please do let me know.

Thanks
Pallavi.

On Wed, Oct 21, 2009 at 10:34 AM, Pallavi Sharma wrote:

> Sure Zeljko
> I will do that :)
>
>
> On Tue, Oct 20, 2009 at 4:43 PM, Željko Filipin <
> zeljko.fili...@wa-research.ch> wrote:
>
>> On Tue, Oct 20, 2009 at 12:33 PM, Pallavi Sharma 
>> wrote:
>> > I am done with the solution. Its also atttached with the mail.
>>
>> It will be hard for other people to find your code here. Would you please
>> post it at wiki? Please let me know if you need any help with that.
>>
>> http://wiki.openqa.org/display/WTR/File+Downloads
>>
>> Ž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: Has anyone tried using AutoIt to handle unexpected Popup windows

2009-10-21 Thread Pallavi Sharma
I have full installed AutoIT on my system Zeljko, still this doesn't work.
Sharing the page and the script.

I have used two methods to handle unexpected popups, winclicker and autoit

I used with winclicker windowtitle as // it didn't worked

with auto it REGEXPTITLE:.* it also didn't worked.


Please let me know about it.

The script runs from command line HandlePopup.rb "windowtitle" "Buttontext"
"Timeout"




On Wed, Oct 21, 2009 at 1:51 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> On Wed, Oct 21, 2009 at 9:59 AM, Pallavi Sharma 
> wrote:
> > as WinWait "REGEXPTITLE:.*" but it doesn't work.
>
> When I was playing with autoit, I vaguely remember that regular expressions
> worked only if I had full Autoit installed on the machine. Watir installs
> only subset of Autoit functionality, and I think regular expressions are not
> supported there. Try installing Autoit, it should fix it.
>
> Ž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
-~--~~~~--~~--~--~---










HandlePopUp.rb
Description: Binary data


[wtr-general] Has anyone tried using AutoIt to handle unexpected Popup windows

2009-10-21 Thread Pallavi Sharma
Hi
I have a scenario in which i need to handle pop up windows which are
unexpected like i don't know the window title. For the same using AutoIt

I tried the REGEXPTITLE stuff provided here:
http://www.autoitscript.com/autoit3/docs/intro/windowsadvanced.htm,
 as WinWait "REGEXPTITLE:.*" but it doesn't work.

Has anyone ever done this?

If yes please help with it.

Also has anyone ever tried building recovery scenarios around watir
frameworks?

I am in need of some divine interventions here.

Anyone here please.

Thanks

Pallavi.

--~--~-~--~~~---~--~~
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: Downloading File and FireWatir

2009-10-20 Thread Pallavi Sharma
Sure Zeljko
I will do that :)

On Tue, Oct 20, 2009 at 4:43 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> On Tue, Oct 20, 2009 at 12:33 PM, Pallavi Sharma 
> wrote:
> > I am done with the solution. Its also atttached with the mail.
>
> It will be hard for other people to find your code here. Would you please
> post it at wiki? Please let me know if you need any help with that.
>
> http://wiki.openqa.org/display/WTR/File+Downloads
>
> Ž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: Downloading File and FireWatir

2009-10-20 Thread Pallavi Sharma
Hi
I am done with the solution. Its also atttached with the mail. If someone is
interested.


Thanks

Pallavi.

On Mon, Oct 19, 2009 at 3:36 PM, Pallavi Sharma wrote:

> Hi
> Has anyone tried downloading of a file with FireWatir?
>
> I am not able to get through this one.
>
>
> Any help on it, please.
>
>
> Thanks
>
> Pallavi.
>

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



ScriptDownloadff.rb
Description: Binary data


[wtr-general] Downloading File and FireWatir

2009-10-19 Thread Pallavi Sharma
Hi
Has anyone tried downloading of a file with FireWatir?

I am not able to get through this one.


Any help on it, please.


Thanks

Pallavi.

--~--~-~--~~~---~--~~
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] Get X and Y Coordinates of an Object and FireWatir

2009-10-19 Thread Pallavi Sharma
Hi
Alan provided me with a solution which works on IE:
http://wiki.openqa.org/display/WTR/Right+Click+an+Element


Does anyone knows something similar for FireWatir?


Please let me know.


Thanks

Pallavi.

--~--~-~--~~~---~--~~
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: Capturing Java Script Errors

2009-10-18 Thread Pallavi Sharma
Hi Everyone
I found this link:
http://exploretesting.blogspot.com/2008/09/reporting-ie-js-error-messages-in-watir.html

for
reporting JS error, has anyone here tried this.


Also please let me know if the alert message for JS in the browser is off,
is there a way i can still detect the error in the browsers?

Please let me know.


Thanks

Pallavi.

On Sun, Oct 18, 2009 at 1:51 AM, Alan Baird  wrote:

> Jarmo -
> I would be interested in seeing an example of your Formatter.  I know there
> is one already out there from the RSpec team, but if you have something
> different and the time I think it would make a great blog post or addition
> to the wiki.
>
> Alan
>
>
> On Fri, Oct 16, 2009 at 4:44 AM, Jarmo Pertman  wrote:
>
>>
>> We are using RSpec to run our tests (http://rspec.info) and I've
>> created my own HTMLFormatter class which extends their
>> Spec::Runner::Formatter::HtmlFormatte and then using
>> #extra_failure_content method, which will be invoked if some test
>> fails by RSpec itself. So, if test fails, I'm also checking if page
>> had any JS errors and then make a screenshot of it. Otherwise (if test
>> passes) JS errors will be ignored.
>>
>> Jarmo
>>
>> On Oct 16, 5:30 am, dt_nz  wrote:
>> > Hi
>> > To capture a java script error, how do you call theses methods.  Do
>> > you have a separate thread that is always running
>> > save_javascript_error in a loop, or is save_javascript_error called
>> > after each action on a page?
>> >
>> > We have an existing framework that runs a lot of tests in our
>> > regression runs and am ideally looking for a solution to incorporate
>> > it into our existing structure.
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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: Capturing Java Script Errors

2009-10-14 Thread Pallavi Sharma
Hi Bret
Is there a way in watir I can fetch the warning message which appears in the
status bar of IE during a JS error?

Can that be a solution for this issue?

Please let me know.

Thanks

Pallavi.

On Mon, Oct 12, 2009 at 8:45 AM, Bret Pettichord wrote:

>
> Marlon MxM wrote:
> > have you tried the solutions listed here
> > http://wiki.openqa.org/display/WTR/Pop+Ups?
> Mostly that consists of variations on using AutoIt.
>
> I'm looking for more creative approaches.
>
> E.g. as regards this dialog:
> http://wiki.openqa.org/display/WTR/Security+Information
>
> I got rid of this simply by changing the security setting of the browser
> (manually) to stop displaying this window.
>
> I know that there must be some hook that is available to trap the
> javascript errors. If you have Visual Studio installed, instead of
> getting this dialog, the visual studio debugger is started up. So there
> is a hook there.
>
> I was thinking it would be cool to hook in our own code to that hook,
> and was wondering if any one had already done this.
>
> Bret
>
> --
> Bret Pettichord
> Lead Developer, Watir, www.watir.com
> Blog, www.io.com/~wazmo/blog
> Twitter, www.twitter.com/bpettichord
>
>
> >
>

--~--~-~--~~~---~--~~
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: Capturing Java Script Errors

2009-10-14 Thread Pallavi Sharma
Hi Jarmo
Can you share the code for the AutoIt if its not an issue. I would be
interested in something similar for our work.



On Fri, Oct 9, 2009 at 3:46 PM, Jarmo Pertman  wrote:

>
> Hello.
>
> We used AutoIt for opening the javascript error message window, then
> make a screenshot of the error message itself and close the window,
> not that IE js error messages would be useful on most of the times.
> This is a little dirty hack, but it works for us sort of.
>
> Jarmo
>
> On Oct 9, 6:15 am, dt_nz  wrote:
> > Hi
> > I was hoping someone could point me in the right direction to get some
> > help capturing java script errors.  We have a rather large number of
> > tests that are executed during our regression run, and there can be a
> > significant amount of page reloads etc that sometimes cause java
> > script errors.  In the past we have simply turned java scripts off
> > from popping up so our tests continue without stopping, and relied on
> > manual testing to pick the errors up.
> >
> > Any help would be appreciated
> >
>

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



  1   2   >