Thanks it works fine.
Regards,
jam
On Feb 17, 12:19 pm, wesley chen wrote:
> Why don't you try $ie.radio(...).checked?
>
> Thanks.
> Wesley Chen.
>
> On Tue, Feb 17, 2009 at 2:44 PM, jam wrote:
>
> > Hi,
>
> > how to check whether radio button is set or not. I tried with set?.
> > does't work
Why don't you try $ie.radio(...).checked?
Thanks.
Wesley Chen.
On Tue, Feb 17, 2009 at 2:44 PM, jam wrote:
>
> Hi,
>
> how to check whether radio button is set or not. I tried with set?.
> does't work. How to do this?
>
> Thanks,
> Jam
> >
>
--~--~-~--~~~---~--~--
Hi,
how to check whether radio button is set or not. I tried with set?.
does't work. How to do this?
Thanks,
Jam
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send ema
It may be that you are not exiting Excel correctly and that an instance of the
Excel object is still locking the file. Look in your task manager if there are
any instances of excel.exe after you have closed all the Excel windows. If this
is the problem you should use something like application.
If the browser's title is chinese, such as '你好', then I can locate on it
by: $ie=Watir::IE.attach(:title,"你好"), but I can't locate on it by regular
expression as $ie=Watir::IE.attach(:title,/你好/).
Any suggestion to deal with the problem so that, we can locate on the
browser window by regular expr
Hi,
i am trying to automate Watir with Ms-excel2003..my code as follows
application = WIN32OLE.new('excel.Application')
x=application.workbooks.open('test2.xls').worksheets('sheet2')
x.application.cells(1,3)['value']="pass"
if i run this code, my excel files becomes Read_only mode
Try this:
require 'watir/ie'
require 'watir/contrib/enabled_popup'
venky wrote:
> hallo,
>
> I could't require enabled_popup (require 'watir/contrib/
> enabled_popup')
>
> I am getting an error message
> <
> d:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/
> enabled_popup.rb:5:
Did you try to click the options and choose "unblock"? Also try set
the IE security level as "Low". Hope this helps.
On Jan 20, 9:06 pm, wesley chen wrote:
> When I try the method provide above, I have a question.
> When I turn to linkhttp://cidian.youdao.com/, and click a link manual, it
> will
In my experience, each time when the page is redirected to another
page, I need to reattach the browser. Try $ie.attach(:title,//) after
your $ie.frame("main").link(:name,"balances").click statement. Hope
this help.
On Feb 11, 9:19 am, Vidya wrote:
> I am a newbie to firewatir. I am having an is
Hi Jaz,
No... I didn't contact Daniel Berger yet because I wanted to do some
more tests. I added more debug info to the involved gems and I found
that the problem occurs at line 35 of windows-pr-1.0.1\lib\windows
\msvcrt\string.rb...
In that file at line 35, a call is made to strtok_s and this me
Hello Venkat,
Please see this thread - Gem Recall Notice: win32-api
http://groups.google.com/group/watir-general/browse_thread/thread/e18b8fa2c0e7b1bd/7cbbd05ad71c5a89?hl=en&lnk=gst&q=bad+gem#7cbbd05ad71c5a89
A bad gem was introduced momentarily.
Regards,
Darryl(gem dandy)Brown
On Feb 16, 9
Bill Mosteller wrote:
> Thanks. Just tried onClick, and it doesn't work either.
>
> From the Ruby PickAxe book:
>
> "And if some thread happens to make a call to the operating system
> that takes a long time to complete, all threads will hang until the
> interpreter gets control back."
>
Exact
dmitry...@gmail.com schrieb:
> Hello everyone,
> I'm having problems with using
>
> require 'roo'
ask in http://groups.google.com/group/ruby-roo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" gro
HI,
I tried posting earlier but I don't think it went through. So if I
double posted I apologize.
I'm unable to access a checkbox based on value and I've tried
different ways but I'm not succeeding.
ie.checkbox(:name,'projects','c2e76d84.60f7eb8a.1a946853.b8bf93b8-
ed46-460c.8704.7202497204e
hallo,
I could't require enabled_popup (require 'watir/contrib/
enabled_popup')
I am getting an error message
<
d:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/
enabled_popup.rb:5: uninitialized constant Watir::PageContainer::Win32
(NameError)
from d:/ruby/lib/ruby/site_ruby
hallo,
I could't require enabled_popup (require 'watir/contrib/
enabled_popup')
I am getting an error message
<
d:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/
enabled_popup.rb:5: uninitialized constant Watir::PageContainer::Win32
(NameError)
from d:/ruby/lib/ruby/site_rub
Hi,
I'm having a lot of trouble using xpath to try and access this
checkbox.
Basically I have a several checkboxes that all have the same name
attribute of "projects". The text that goes along with the check box
is next to it but not as an attribute.
For example:
ANALYZERPROJECT (mserver-ZPRO
hallo,
I could't require enabled_popup (require 'watir/contrib/
enabled_popup')
I am getting an error message
<
d:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/
enabled_popup.rb:5: uninitialized constant Watir::PageContainer::Win32
(NameError)
from d:/ruby/lib/ruby/site_ruby
Hi Bill,
I tried in another system its not working even there. Iam entering the
'#' in authentication popup(Which is not working). I copied and pasted
in my app its fine. Kindly let me know how to solve it.
Thanks,
Jam
On Feb 16, 3:42 pm, Bill Xu wrote:
> hi:
> I could not reproduce this pro
hi:
I could not reproduce this problem :( (I can entered the "#" properly)
But a good way you can try is copy and past to see whether it could not
past to your program.
Watir.autoit.Send('username#')
On Mon, Feb 16, 2009 at 6:21 PM, jam wrote:
>
> Hi,
>
> Iam usingWatir.autoit.Send('
Hi,
Iam usingWatir.autoit.Send('username#') when I do this
# character is not getting entered. I am using this to handle a
authentication popup. kindly help in this.
Thanks,
Jam
--~--~-~--~~~---~--~~
You received this message because you are subsc
hi I removed include Watir from my coding..its workin now..
Thanks a lot.
Malar
--~--~-~--~~~---~--~~
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.co
class Watir::IE # monkey-patch Watir's IE class
def element *args
arg1, arg2 = args # this is needed so hashes would work as input
elements =
[ :table, :link, :cell, :image,:checkbox, :radio, :text_field, :select_list,
:button]
# Watir elements which
elements.each do |el| # iterate
23 matches
Mail list logo