Zeljko
The problem is that its not mentioned that the input is of type text, like
it should in case its a text field.
Will watir work with such html code, where its just written input ...
Kindly answer this, the browser depicts its a text field.
Thanks for the help so far.
Regards
Pallavi.
On Tue, Jan 19, 2010 at 10:49 AM, Pallavi Sharma write2pall...@gmail.com
wrote:
The problem is that its not mentioned that the input is of type text, like
it should in case its a text field.
My browsers display it as text field. I think input tag defaults to text if
no type attribute is
Ok Zeljko
Thanks, for the info i would check and revert back the same.
Regards
Pallavi.
On Tue, Jan 19, 2010 at 3:28 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Tue, Jan 19, 2010 at 10:49 AM, Pallavi Sharma write2pall...@gmail.com
wrote:
The problem is that its not
Zeljo
I checked, but other elements are getting recognized with watir, but for
this particula dojo kind element, we are not able to recognize.
Anything else which we could try please..
Regards
Pallavi.
On Tue, Jan 19, 2010 at 3:48 PM, Pallavi Sharma write2pall...@gmail.comwrote:
Ok Zeljko
On Tue, Jan 19, 2010 at 2:38 PM, Pallavi Sharma write2pall...@gmail.com
wrote:
other elements are getting recognized with watir, but for this particula
dojo kind element, we are not able to recognize.
When you use the code I have provided, another element is recognized?
Or you can recognize
Zeljko
The latter one is true, its not indexing issue. The elements have different
properties.
Can it be possible, that the element doesn't allowing setting of text on it,
in case of a dojo control...??
Regards
Pallavi
On Tue, Jan 19, 2010 at 7:12 PM, Željko Filipin
On Tue, Jan 19, 2010 at 3:04 PM, Pallavi Sharma write2pall...@gmail.com
wrote:
Can it be possible, that the element doesn't allowing setting of text on
it, in case of a dojo control...??
It is hard to tell when I can not see the page. Is it public?
What do you get from this:
Zeljko
Thanks for the help, the input elements were under a Span tag,
so when i tried browser.span(:id,'sfg').text_field(:name,'dfrf)
it worked... :)
Thanks a lot for the help.
The ip is not public, but i would surely share the screen shot with the IE
developer tool bar for the same.
Subject: Re: [wtr-general] Re: Not able to access Dojo controls
From: write2pall...@gmail.com
To: watir-general@googlegroups.com
Zeljko
The latter one is true, its not indexing issue. The elements have different
properties.
Can it be possible, that the element doesn't allowing setting of text
2010/1/19 Dhruti Shah gautamdhr...@hotmail.com
Is there any way you can remove my email id from this group.
Removed.
Željko
--
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.com
Hi Ankur
That didn't work.
Code used:-
require 'watir'
ie=Watir::IE.attach(:title,//)
ie.frame(:index,1).frame(:index,1).text_field(:xpath,//form
[...@id='stockEnq_loadDetails']/inp...@name='input FromDate']).flash
ie.frame(:index,1).frame(:index,1).text_field(:xpath,//form
I think the code you provided above is not enough.
When I paste the code to my local, open it with my IE, I can't see anything.
Have you got a public website with the html code?
For this kind of location, I think it is not difficult.
Thanks.
Wesley Chen.
For life, the easier, the better.
On
On Mon, Jan 18, 2010 at 6:16 AM, Betsy joybe...@gmail.com wrote:
INPUT style=VERTICAL-ALIGN: middle; WIDTH: 7em
name=inputFromDate __doClobber__ autocomplete=off
dojoAttachPoint=inputNode value=18/01/2010 /
This should work (not tested):
browser.text_field(:name = inputFromDate).set text
INPUT style=VERTICAL-ALIGN: middle; WIDTH: 7em
name=inputFromDate __doClobber__ autocomplete=off
dojoAttachPoint=inputNode value=18/01/2010 /
from the below partial code:-
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML Strict//ENMETA http-
equiv=Content-Type content=text/html; charset=utf-8 HTML
Hi Betsy,
Try to use the following code and let me know whether it works fine or
not.
*
ie.text_field(:xpath,//fo...@id='stockEnq_loadDetails']/inp...@name='inputFromDate']).flash
ie.text_field(:xpath,//fo...@id='stockEnq_loadDetails']/inp...@name='inputFromDate']).set
xyz
*
Thanks
15 matches
Mail list logo