hi! has this issue been solved already?
got something like this:
Dependent to an existing member?
label class=custom-checkbox checked data-bind=css: { checked:
isDependent() }, click: toggleAsDependent
spanDependent to an existing member?/span
input type=checkbox/
i/
/label
I have a method
Hi,
Please can you define about to_s which you wrote in a
statement, becasue i am getting error of it.
Thanks
On Friday, April 3, 2009 6:00:59 PM UTC+5, Darin Duphorn wrote:
Sorry it was checked instead of set. If you want to validate it true or
false remember to set it to
On Wed, Dec 19, 2012 at 7:18 AM, ehsan@wemotech.com wrote:
Please can you define about to_s which you wrote in a
statement, becasue i am getting error of it.
to_s → string
Returns a string representing obj. The default to_s prints the object’s
class and an encoding of the
Hi,
do you have skype id ? i am working on Watir,m so i need a little
help in that when i needed. or please add me on Skype Name:
ehsan.ali.2727
Thanks
On Thursday, April 2, 2009 10:03:20 PM UTC+5, satish wrote:
I have a checkbox, I have to perform check every time whether it is
On Wed, Dec 19, 2012 at 12:08 PM, ehsan@wemotech.com wrote:
do you have skype id
Are you asking the entire Google group? :)
If you have a question, post it to the group.
Željko
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
Yup, you are correct, but I wanted to show it in the == context.
Anyway, it was good for you to point out the correct usage, which I
have been using also so that everyone else (hopefully) would use that
approach too :)
Jarmo
On Apr 7, 7:08 pm, Bret Pettichord b...@pettichord.com wrote:
Even
Why are you making it to string and comparing with string
representation of TrueClass? You also had only one '=', which makes
your if to be always true.
Correct would be of course
if $ie.checkbox(:name,blah).checked? == true
end
On Apr 3, 4:00 pm, Darin Duphorn dduph...@redbrickhealth.com
Jarmo Pertman wrote:
Correct would be of course
if $ie.checkbox(:name,blah).checked? == true
end
Even better:
if $ie.checkbox(:name,blah).checked?
end
--
Bret Pettichord
CTO, WatirCraft LLC, www.watircraft.com
Lead Developer, Watir, www.watir.com
Blog, www.io.com/~wazmo/blog
The Rdoc works as a more technical reference. but intially it can be
a bit intimidating (kinda like trying to learn a new language from a
dictionary). as you get a feel for things the rdoc becomes more and
more useful. the Rdoc is a HTML documentation that is built
dynamically and runs from a
Thank you very much to all for quick responce.
I used chceked? and it worked for my schenario.
I am very new to Watir. Is there any pdf file I can read for
biginners? or is there a site you can refer me too for kick starting
my automation?
Thanks a lot
Satish.
On Apr 3, 9:00 am, Darin Duphorn
Sorry it was checked instead of set. If you want to validate it true or
false remember to set it to string.
if $ie.checkbox(:name,blah).checked?.to_s = 'true'
end
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Darin Duphorn
You may try
ie.checkbox( ).isSet?
Thanks.
Wesley Chen.
On Fri, Apr 3, 2009 at 1:03 AM, satish spanchumar...@gmail.com wrote:
I have a checkbox, I have to perform check every time whether it is
checked or not.
Can some one help me with code.
Thank you,
Satish.
You can also use there:
ie.checkbox.enabled?
ie.checkbox.disabled?
ie.checkbox.blank?
As a beginner, I love the flexibility and forgiveness of writing
code...
On Apr 2, 5:53 pm, Wesley Chen cjq@gmail.com wrote:
You may try
ie.checkbox( ).isSet?
Thanks.
Wesley Chen.
On Fri, Apr 3,
13 matches
Mail list logo