Re: [wtr-general] HTML element order different in IE8 from IE7

2010-09-03 Thread Ethan
There are several problems here.

- The attributes of an html object aren't meant to be in any particular
order; them changing is not really a bug.
- Using a regexp to parse html is a fundamentally broken idea.
- Why are you passing a third argument to #radio at all if you are just
getting that value from the html, corresponding to the same element you are
trying to retrieve? why not just do ie.radio(:name, 'anniversaryDate') ?

The error message isn't great, that is true. I would recommend to open a
ticket for that at http://jira.openqa.org/browse/WTR


On Fri, Sep 3, 2010 at 15:34, Lisa Crispin  wrote:

> I had a script fail when running it on IE8, it's several years old and
> works fine on IE7. It's setting a radio button:
> ie.radio(:name, 'anniversaryDate', anniversary_date).set
> The value of anniversary_date is a date like '10-01-2008' (at least, in
> IE7), it's set by using regex to parse the html
>   anniv_regex = /id=anniversaryDate(\d+).*?value="?(.+?)"? name=/
>
> In IE7 the html looks like this:
>  id="anniversaryDate1">
>
> In IE8 the html looks like this:
>  value="10-01-1992"/>
>
> In IE7, the value of anniversary_date ends up as: 10-01-2010
> In IE8, the value of anniversary_date ends up as: 10-01-2010 type=radio
>
> And I get an error "Watir::Exception::UnknownObjectException: Unable to
> locate element, using :name, "anniversaryDate"
> C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:56:in
> `assert_exists'
> C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:288:in
> `enabled?'
> C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:60:in
> `assert_enabled'
>
> C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/input_elements.rb:538:in
> `set'"
>
> But in IRB if I type ie.radio(:name, 'anniversaryDate', '10-01-2010').set
> it works fine - so it's not that it can't find the name, the value is wrong.
>
>
> So one problem is a weird IE8 thing, I don't know what to do about that.
> But the other problem is, the error message is misleading. I wasted some
> time thinking something was wrong with the name.
>
> Thanks
> Lisa
>
> --
> Lisa Crispin
> Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers
> and Agile Teams_ (Addison-Wesley 2009)
> Contributor to _Beautiful Testing_ (O'Reilly 2009)
> http://lisacrispin.com
> @lisacrispin on Twitter
>
>  --
> 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] HTML element order different in IE8 from IE7

2010-09-03 Thread Charley Baker
You've kind of nailed it with the irb session. That's a really brittle
regex and best avoided, now I understand the IE7/8 thing, how and
where the DOM attributes show up really doesn't matter for browsers,
coding it this way would be a code smell. This should work:

ie.radio(:name => 'anniversaryDate', :value => '10-01-2008').set

However, I'm curious as to why you're setting anniversary_date and
parsing the html, which seems to be the larger problem. It's hard to
understand without the context of the script, but you should be able
to store your variable away, and use it to set the radio button
instead of scraping html. Let me know if that makes sense, ping me if
it doesn't. I still want to stop down there sometime and see what you
guys are doing. :)


Charley Baker
Lead Developer, Watir, http://watir.com



On Fri, Sep 3, 2010 at 1:34 PM, Lisa Crispin  wrote:
> I had a script fail when running it on IE8, it's several years old and works
> fine on IE7. It's setting a radio button:
> ie.radio(:name, 'anniversaryDate', anniversary_date).set
> The value of anniversary_date is a date like '10-01-2008' (at least, in
> IE7), it's set by using regex to parse the html
>   anniv_regex = /id=anniversaryDate(\d+).*?value="?(.+?)"? name=/
>
> In IE7 the html looks like this:
>  id="anniversaryDate1">
>
> In IE8 the html looks like this:
>  value="10-01-1992"/>
>
> In IE7, the value of anniversary_date ends up as: 10-01-2010
> In IE8, the value of anniversary_date ends up as: 10-01-2010 type=radio
>
> And I get an error "Watir::Exception::UnknownObjectException: Unable to
> locate element, using :name, "anniversaryDate"
>     C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:56:in
> `assert_exists'
>     C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:288:in
> `enabled?'
>     C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:60:in
> `assert_enabled'
>
> C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/input_elements.rb:538:in
> `set'"
>
> But in IRB if I type ie.radio(:name, 'anniversaryDate', '10-01-2010').set it
> works fine - so it's not that it can't find the name, the value is wrong.
>
> So one problem is a weird IE8 thing, I don't know what to do about that. But
> the other problem is, the error message is misleading. I wasted some time
> thinking something was wrong with the name.
>
> Thanks
> Lisa
>
> --
> Lisa Crispin
> Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers
> and Agile Teams_ (Addison-Wesley 2009)
> Contributor to _Beautiful Testing_ (O'Reilly 2009)
> http://lisacrispin.com
> @lisacrispin on Twitter
>
> --
> 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] Misleading error message on set radio button

2010-09-03 Thread Lisa Crispin
Oops, that was a bad subject line before. It's not Watir's fault IE8 is
screwy.

On Fri, Sep 3, 2010 at 1:34 PM, Lisa Crispin  wrote:

> I had a script fail when running it on IE8, it's several years old and
> works fine on IE7. It's setting a radio button:
> ie.radio(:name, 'anniversaryDate', anniversary_date).set
> The value of anniversary_date is a date like '10-01-2008' (at least, in
> IE7), it's set by using regex to parse the html
>   anniv_regex = /id=anniversaryDate(\d+).*?value="?(.+?)"? name=/
>
> In IE7 the html looks like this:
>  id="anniversaryDate1">
>
> In IE8 the html looks like this:
>  value="10-01-1992"/>
>
> In IE7, the value of anniversary_date ends up as: 10-01-2010
> In IE8, the value of anniversary_date ends up as: 10-01-2010 type=radio
>
> And I get an error "Watir::Exception::UnknownObjectException: Unable to
> locate element, using :name, "anniversaryDate"
> C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:56:in
> `assert_exists'
> C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:288:in
> `enabled?'
> C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:60:in
> `assert_enabled'
>
> C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/input_elements.rb:538:in
> `set'"
>
> But in IRB if I type ie.radio(:name, 'anniversaryDate', '10-01-2010').set
> it works fine - so it's not that it can't find the name, the value is wrong.
>
>
> So one problem is a weird IE8 thing, I don't know what to do about that.
> But the other problem is, the error message is misleading. I wasted some
> time thinking something was wrong with the name.
>
> Thanks
> Lisa
>
> --
> Lisa Crispin
> Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers
> and Agile Teams_ (Addison-Wesley 2009)
> Contributor to _Beautiful Testing_ (O'Reilly 2009)
> http://lisacrispin.com
> @lisacrispin on Twitter
>
>


-- 
Lisa Crispin
Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers
and Agile Teams_ (Addison-Wesley 2009)
Contributor to _Beautiful Testing_ (O'Reilly 2009)
http://lisacrispin.com
@lisacrispin on Twitter

-- 
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] HTML element order different in IE8 from IE7

2010-09-03 Thread Lisa Crispin
I had a script fail when running it on IE8, it's several years old and works
fine on IE7. It's setting a radio button:
ie.radio(:name, 'anniversaryDate', anniversary_date).set
The value of anniversary_date is a date like '10-01-2008' (at least, in
IE7), it's set by using regex to parse the html
  anniv_regex = /id=anniversaryDate(\d+).*?value="?(.+?)"? name=/

In IE7 the html looks like this:


In IE8 the html looks like this:


In IE7, the value of anniversary_date ends up as: 10-01-2010
In IE8, the value of anniversary_date ends up as: 10-01-2010 type=radio

And I get an error "Watir::Exception::UnknownObjectException: Unable to
locate element, using :name, "anniversaryDate"
C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:56:in
`assert_exists'
C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:288:in
`enabled?'
C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:60:in
`assert_enabled'

C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/input_elements.rb:538:in
`set'"

But in IRB if I type ie.radio(:name, 'anniversaryDate', '10-01-2010').set it
works fine - so it's not that it can't find the name, the value is wrong.

So one problem is a weird IE8 thing, I don't know what to do about that. But
the other problem is, the error message is misleading. I wasted some time
thinking something was wrong with the name.

Thanks
Lisa

-- 
Lisa Crispin
Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers
and Agile Teams_ (Addison-Wesley 2009)
Contributor to _Beautiful Testing_ (O'Reilly 2009)
http://lisacrispin.com
@lisacrispin on Twitter

-- 
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:Automating command line tools

2010-09-03 Thread Charley Baker
http://lmgtfy.com/?q=ssh+ruby+windows

Sorry I couldn't resist. :P

Zeljko's right there are ssh libraries written in Ruby. I've used them.


Charley Baker
Lead Developer, Watir, http://watir.com



On Fri, Sep 3, 2010 at 7:43 AM, Basim Baassiri  wrote:
> Watir stands for "web application testing in ruby" so I believe the answer
> to your question is no
> On Fri, Sep 3, 2010 at 9:04 AM, Srinidhi  wrote:
>>
>> Hi All,
>>  Is it possible to automate command line tools like puttysftp or
>> openSSH in ruby. Please let me know any way.
>>
>>
>> :>>Sorry if i have posted it in wrong section. i have been asking this
>> question everywhere now.
>>
>> --
>> 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: Automating command line tools

2010-09-03 Thread Adam Reed
Try googling "ruby ssh" or "ruby sftp".  The first result on either
search answers your question.

On Sep 3, 8:43 am, Basim Baassiri  wrote:
> Watir stands for "web application testing in ruby" so I believe the answer
> to your question is no
>
> On Fri, Sep 3, 2010 at 9:04 AM, Srinidhi  wrote:
> > Hi All,
> >  Is it possible to automate command line tools like puttysftp or
> > openSSH in ruby. Please let me know any way.
>
> > :>>Sorry if i have posted it in wrong section. i have been asking this
> > question everywhere now.
>
> > --
> > 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


Re: [wtr-general] RE:Automating command line tools

2010-09-03 Thread Felipe Knorr Kuhn
Although this has nothing to do with Watir, you could use something like
expect.

http://debaan.blogspot.com/2007/09/simple-expect-ssh-example.html

Good luck

On Fri, Sep 3, 2010 at 10:04 AM, Srinidhi  wrote:

> Hi All,
>  Is it possible to automate command line tools like puttysftp or
> openSSH in ruby. Please let me know any way.
>
>
> :>>Sorry if i have posted it in wrong section. i have been asking this
> question everywhere now.
>
> --
> 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:Automating command line tools

2010-09-03 Thread Basim Baassiri
Watir stands for "web application testing in ruby" so I believe the answer
to your question is no

On Fri, Sep 3, 2010 at 9:04 AM, Srinidhi  wrote:

> Hi All,
>  Is it possible to automate command line tools like puttysftp or
> openSSH in ruby. Please let me know any way.
>
>
> :>>Sorry if i have posted it in wrong section. i have been asking this
> question everywhere now.
>
> --
> 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:Automating command line tools

2010-09-03 Thread Željko Filipin
On Fri, Sep 3, 2010 at 3:04 PM, Srinidhi  wrote:
>  Is it possible to automate command line tools like puttysftp or
> openSSH in ruby.

You should as this at a ruby forum. Or wait here, maybe somebody replies. My
guess is that there are ftp and ssh libraries in ruby.

Ž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


Re: [wtr-general] Re: in `gem_original_require': no such file to load -- win32screenshot (MissingSourceFile)

2010-09-03 Thread Rajiv Nanduani
Sorry for late reply

it was  oci8 gem
 install ruby-oci8 -v 1.0.6

On Thu, Sep 2, 2010 at 4:27 PM, Jarmo Pertman  wrote:

> What gem? win32screenshot? Or the gem using win32screenshot?
>
> Anyway, what gem is using win32screenshot? I highly recommend using
> the newest version of win32screenshot, because there are some bugs
> which prevent to capture screenshots in some circumstances with the
> old version.
>
> Jarmo
>
> On Aug 29, 6:21 pm, Rajiv Nanduani 
> wrote:
> > thanks to all,
> >
> > Now my problem get solved it was issue with gem version  when i installed
> > the  automation framework past six month before  that time gem version
> and
> > now the gem version get changed due to this i was facing the problem. now
> i
> > installed the gem with old version and it is working fine now.
> >
> >
> >
> >
> >
> > On Fri, Aug 27, 2010 at 1:33 AM, Jarmo Pertman 
> wrote:
> > > Despite of the fact that this is not a Watir's question obviously and
> > > you haven't shown us your source, you need to require 'win32/
> > > screenshot' instead of 'win32screenshot'.
> >
> > > Jarmo Pertman
> > > -
> > > IT does really matter -http://www.itreallymatters.net
> >
> > > On Aug 26, 11:56 am, Željko Filipin 
> > > wrote:
> > > > On Thu, Aug 26, 2010 at 7:50 AM, Rajiv Nanduani <
> >
> > > > rajivkumarnandv...@gmail.com> wrote:
> > > > > i try to install the oci8 by using this steps  but it did not work
> >
> > > > Again, how is this related to Watir?
> >
> > > > If this is general Ruby question, you will get better replies at a
> Ruby
> > > > list/forum/group. I do not know what oci8 is, but you could ask at
> their
> > > > support list.
> >
> > > > Željko
> >
> > > --
> > > 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
> 
> >
> > --
> > RAJIV 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
>



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


[wtr-general] RE:Automating command line tools

2010-09-03 Thread Srinidhi
Hi All,
 Is it possible to automate command line tools like puttysftp or
openSSH in ruby. Please let me know any way.


:>>Sorry if i have posted it in wrong section. i have been asking this
question everywhere now.

-- 
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] Pointers to docs

2010-09-03 Thread Željko Filipin
On Fri, Sep 3, 2010 at 12:42 PM, Ashok Prabhu 
wrote:
> However I m still unclear
> about locating elements in a dom in cases like elements inside nested
> tables, nested frames and elements based on the index attribute.

Show us the code and we will suggest solutions.

> Are
> there any pointers to any good resources for further reading.

Browse http://watir.com/, especially http://watir.com/documentation/

Ž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


[wtr-general] Pointers to docs

2010-09-03 Thread Ashok Prabhu
Hi,

I have been using Watir for sometime now. However I m still unclear
about locating elements in a dom in cases like elements inside nested
tables, nested frames and elements based on the index attribute. Are
there any pointers to any good resources for further reading.


Thanks,
~Ashok.

-- 
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: Test if frame exists to avoid locate error (source code)

2010-09-03 Thread pierrelebai...@gmail.com
Hi,

Nothing but I don't success to use this metohd I will try again


On 20 août, 17:48, Ethan  wrote:
> how is this any different than
>   ie.frame(:name, "mainFrame").exists?
>
> On Fri, Aug 20, 2010 at 04:43, pierrelebai...@gmail.com <
>
>
>
> pierrelebai...@gmail.com> wrote:
> > Hi,
>
> > I write a little procedure to test if a frame exists before access a
> > object and have an error by locate method if the frames doesn't exist.
>
> > before having an exists? methode in the next watir version ?
>
> > def existsFrame(myIe,frameName="")
> >  begin
> >    if frameName != ""
> >      myFrame = myIe.frame(:name,frameName)
> >      return true
> >    else
> >      # frameName is empty return false
> >      return false
> >    end
>
> >  rescue
> >    return false # frameName doesn't exist return false
> >  end
> > end
>
> > def main
> > ie=
> > ...
> >   if existsFrame(ie,"mainFrame")
> >     .
> >   end
> > end
>
> > --
> > 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 > legroups.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] Issue with modal dialog

2010-09-03 Thread Željko Filipin
On Fri, Sep 3, 2010 at 9:02 AM, Ashok Prabhu  wrote:
> However it did not work still.

What have you done? Show us the code.

I did not have to work with pop ups a lot, but I would recommend reading
these:

http://wiki.openqa.org/display/WTR/Pop+Ups
http://winwindow.vapir.org/

Ž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


Re: [wtr-general] JsshSocket::JSSyntaxError: missing ; before statement

2010-09-03 Thread Željko Filipin
On Fri, Sep 3, 2010 at 10:15 AM, USMAN ALI  wrote:
> got this error what's its fix

Please provide the code that caused the error.

Ž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


[wtr-general] JsshSocket::JSSyntaxError: missing ; before statement

2010-09-03 Thread USMAN ALI
got this error what's its fix



4) Error:
test_data_present(CustomersOverviewTest):
JsshSocket::JSSyntaxError:  missing ; before statement
firewatir (1.6.5) lib/firewatir/jssh_socket.rb:12:in `js_eval'
firewatir (1.6.5) lib/firewatir/element.rb:997:in `text'
/test/acceptance/200_customers_grid_test.rb:39:in
`test_data_present'

-- 
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] Issue with modal dialog

2010-09-03 Thread Ashok Prabhu
I m stuck with the following issue in modal dialog.

1. Open a modal dialog 1.
2. Click on a button in the modal dialog 1.
3. Attach to the new modal dialog (modal dialog 2).
4. Do some operations in the modal dialog 2 and click ok (closes the
modal dialog 2).
5. Click on a button in the modal dialog 1-> This step does not
work.

Please let me know how do I click on the button in the modal dialog 1.
I tried to attach to the modal dialog 1 after closing the dialog 2.
However it did not work still.

~Ashok.

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