Dear All:
I want to check whether particular 'div' is loaded or not using Watir?
Is it possible? if yes, please tell how to check for the same.
Thanks in advance.
--
Thanks and Regards,
Amit
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
On Tue, Jun 21, 2011 at 11:55 AM, Amit Bobade amit.sr...@gmail.com wrote:
I want to check whether particular 'div' is loaded or not using Watir?
This will return true or false:
browser.div(how, what).exist?
http://rdoc.info/gems/watir/1.9.0/Watir/Element:exist%3F
Željko
--
watir.com -
Thank you so much, Željko :)
On Tue, Jun 21, 2011 at 3:31 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Tue, Jun 21, 2011 at 11:55 AM, Amit Bobade amit.sr...@gmail.com
wrote:
I want to check whether particular 'div' is loaded or not using Watir?
This will return true or
Hi All,
I need to select a option from the list. HTML tag for the specified
element is as follows:
input title= class=x-form-text x-form-field x-trigger-noedit
id=recurrenceCombo style=width: 138px; type=text size=24
readOnly=readonly autocomplete=off value=Weekly/
This element is shown as
On Tue, Jun 21, 2011 at 12:16 PM, Amit Bobade amit.sr...@gmail.com wrote:
Thank you so much, Željko :)
More gems like this can be found in my Watir Book. :)
http://watir.com/book/
More to come soon.
Željko
--
Before posting, please read http://watir.com/support. In short: search before
On Tue, Jun 21, 2011 at 12:26 PM, Yayati Yadava yayatiyad...@gmail.com
wrote:
Secondly text_field method is not working due to
readOnly='readonly' .
Does it work when you try manually?
Željko
--
watir.com - community manager
watir.com/book - author
watirpodcast.com - host
--
Before posting,
We have just payed $12 for mapping watir.com to a wordpress.com hosted blog.
I would like to thank everybody that already donated to Watir project, and
to those that will donate in the future. :)
There is donate button at http://watir.com/. We've raised $815 since January
2010. We spend it on
Try using this,
browser.input(:id, /regular expression/).select yourelement
if it doesn't work, then the selection list might be inside the table then
you have to do for loop.
Hope it helps.
Ashok
On Tue, Jun 21, 2011 at 5:53 AM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Tue,
Hi Željko ,
No manually also I can not input any thing in the field.
The related field is actually a Drop Down field, I can only select
the option. I can not write into the field.
On Jun 21, 3:53 pm, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Tue, Jun 21, 2011 at 12:26 PM, Yayati
On Tue, Jun 21, 2011 at 3:31 PM, Yayati Yadava yayatiyad...@gmail.com
wrote:
No manually also I can not input any thing in the field.
What exactly are you testing? That the field can not be edited? Well, if you
can not do it manually, why are you trying to do it with Watir?
Željko
--
Before
See there is a Dropdown in my application. I want to select a option
from the dropdown list.
Manually I can select a option, but I am not able to select any option
using Water.
On Jun 21, 6:33 pm, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Tue, Jun 21, 2011 at 3:31 PM, Yayati Yadava
Hi Ashok,
Follwoing error come in using browser.input(:id, /regular
expression/).select yourelement
Error:: starfish001.rb:15: undefined method `input' for #Watir::IE:
0x32023c8 (NoMethod
Error)
On Jun 21, 6:27 pm, Ashok Tulachan tulachanas...@gmail.com wrote:
Try using this,
On Tue, Jun 21, 2011 at 3:41 PM, Yayati Yadava yayatiyad...@gmail.com
wrote:
See there is a Dropdown in my application. I want to select a option
from the dropdown list.
Then provide HTML of the dropdown.
More information:
http://wiki.openqa.org/display/WTR/Selection+Boxes
Željko
--
Before
HTML::
DIV style=WIDTH: 163px id=ext-gen295 class=x-form-field-wrap x-
form-field-trigger-wrapINPUT id=ext-gen297 value=WEEKLY type=hidden
name=recurrenceINPUT style=WIDTH: 138px id=recurrenceCombo
class=x-form-text x-form-field x-trigger-noedit title=
value=Weekly readOnly size=24 type=text
Try this,
First try to figure out if you get any text in irb.
browser.div(:id, /ext/).text?
if you did get text,then try
browser.div(:id, /ext/).select your element
Hope that helps.
Ashok
On Tue, Jun 21, 2011 at 8:56 AM, Yayati Yadava yayatiyad...@gmail.comwrote:
HTML::
DIV
On Tue, Jun 21, 2011 at 3:56 PM, Yayati Yadava yayatiyad...@gmail.com
wrote:
DIV style=WIDTH: 163px id=ext-gen295 class=x-form-field-wrap x-
form-field-trigger-wrapINPUT id=ext-gen297 value=WEEKLY type=hidden
name=recurrenceINPUT style=WIDTH: 138px id=recurrenceCombo
class=x-form-text
Following Error:
NoMethodError: undefined method `text?' for #Watir::Div:0x3290a90
located=false
how=:id what=ext-gen295
from C:/Ruby187/lib/ruby/gems/1.8/gems/watir-1.8.1/lib/watir/
element.rb:
378:in `method_missing'
from (irb):10
from :0
On Jun 21, 7:14 pm, Ashok
As I see in your project used gwt-ext
There is a complex field of drop-down
For select value in this drop-down you should do following actions:
1. Click on down-arrow picture
2. Find appeared div with values of drop-down. In my application I locate
it with following code:
def get_suggest_box
I would be happy to cleanup the popup pages. But I think that a lot of
the pre-1.9.0 methodology is still relevant for people who have not
upgraded yet. Is there or should there be concerns about that? My
recommendation is that we create a page called old popup methods or
something like that
On Tue, Jun 21, 2011 at 6:31 PM, Darryl Brown d-l-br...@roadrunner.com
wrote:
My
recommendation is that we create a page called old popup methods or
something like that and put the old stuff there for some period of
time - is this reasonable?
Sounds good to me. :)
Željko
--
Before posting,
On Mon, Jun 20, 2011 at 9:10 PM, BillyMobilly billymobi...@gmail.com wrote:
In Watir I used .href in my scripts to navigate to pages. When I run
the same script with Watir WebDriver I get an error, seems to indicate
that href has been depricated, is that true?
I wouldn't call it old popup methods but something like watir pre-1.9.0
popup methods. It's more searchable and not as negative. :)
-c
On Tue, Jun 21, 2011 at 2:24 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Tue, Jun 21, 2011 at 6:31 PM, Darryl Brown d-l-br...@roadrunner.com
22 matches
Mail list logo