Hi Super,
I tried with using your code.
It didnt give me any error but it did not click on the desired button.
Also it did not print any value.
Also tell me one thing For this we have to run scripts compulsary in I.E or
is it ok to run in FireFox?
On Thu, Oct 22, 2009 at 8:31 PM, Super Kevy
Hey all,
What i have done is:
I got all the elements by
my_array = Browser.table(:class , 'admin-monochrome').to_a
Under my_array i got the string Test.
Now how should i click on Delete button?
Please help?
On Fri, Oct 23, 2009 at 1:55 PM, Amit Kulkarni
amitkkulkarni...@gmail.comwrote:
Hi
Well of course it didn't work against your application.
You asked to click the delete button in a table row which has 3
columns of content.
The above sample had your content in a single rowed table of which
only 1 table in the body of the html code.
ThusThe samples all point to only a single
Help required on above issue
:-)
2009/10/21 Amit Kulkarni amitkkulkarni...@gmail.com
-- Forwarded message --
From: Amit Kulkarni amitkkulkarni...@gmail.com
Date: Wed, Oct 21, 2009 at 4:40 PM
Subject: Re: [wtr-general] Re: Problem with radio button
To: watir-general
Try something like this where value=delete or update
ie.radio(:name,'act2[165]',value).focus
ie.radio(:name,'act2[165]'',value).set
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post
Thanks a lot.But the name act2[165] is not going to be same all the time.
I have my poll title as Test.So i want to set my focus on delete radio
button whose title is Test.
Is it possible to do this?
This is my html script
tr
tdTest/td
tdUnpublished/td
td class=actions
label for=Update
input
Interesting... I'm assuming table matching is the ticket and dynamic
variables being the pain...
Try this snippet and modify to suit for page
require 'watir'
require 'watir/ie'
require 'watir/dialog'
require 'Win32API'
ie = Watir::IE.new
sURL='http://www.google.com'
sURL='C:\Documents and
On Wed, Oct 21, 2009 at 9:26 AM, Amit amitkkulkarni...@gmail.com wrote:
Now here i want to click on Delete radio button beside Test poll.
Can you post html that includes radio button and Test text? We could help
more if we had that.
input id=act2_165_delete type=radio value=delete name=act2
tr
tdTest/td
tdUnpublished/td
td class=actions
label for=Update
input id=act2_165_update type=radio value=update name=act2
[165]/
Update
/label
label for=del2
input id=act2_165_delete type=radio value=delete name=act2
[165]/
Delete
/label
/td
This is html which contains the string Test.
Yes i
On Wed, Oct 21, 2009 at 10:35 AM, Amit amitkkulkarni...@gmail.com wrote:
tdTest/td
input type=radio /
Does this work?
browser.button(:after?, browser.cell(:text, Test)).set
Željko
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
On Wed, Oct 21, 2009 at 10:50 AM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
browser.button(:after?, browser.cell(:text, Test)).set
My mistake. Try this:
browser.radio(:after?, browser.cell(:text, Test)).click
If that does not work, you can always try xpath:
Hi Zeljko,
I tried by using the above step but still no success :-(
It pops up a small window saying Please select an operation along with OK
button.
I still cant figure out whats is the problem.
On Wed, Oct 21, 2009 at 4:04 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Wed, Oct
On Wed, Oct 21, 2009 at 12:51 PM, Amit Kulkarni amitkkulkarni...@gmail.com
wrote:
It pops up a small window saying Please select an operation along with OK
button.
Is the correct radio button flashed if you do this?
browser.radio(:after?, browser.cell(:text, Test)).flash
Maybe you have to fire
No it does not flashed the radio button but again it is popping the window.
I dont know why it is getting popped up.
On Wed, Oct 21, 2009 at 4:25 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Wed, Oct 21, 2009 at 12:51 PM, Amit Kulkarni
amitkkulkarni...@gmail.com wrote:
It
-- Forwarded message --
From: Amit Kulkarni amitkkulkarni...@gmail.com
Date: Wed, Oct 21, 2009 at 4:40 PM
Subject: Re: [wtr-general] Re: Problem with radio button
To: watir-general@googlegroups.com
No it does not flashed the radio button but again it is popping the window.
I dont
15 matches
Mail list logo