Here is my HTML for that....
========================
 Active Element: [INPUT], Index: [536]
 <INPUT class=dxeEditArea onkeypress="aspxEKeyPress
('ctl00_contentChildWindow_secUserDetails_subsecUserInfo_txtPhoneNumber_txtMaskTextBox',
event)"
id=ctl00_contentChildWindow_secUserDetails_subsecUserInfo_txtPhoneNumber_txtMas
 kTextBox_I onkeydown="aspxEKeyDown
('ctl00_contentChildWindow_secUserDetails_subsecUserInfo_txtPhoneNumber_txtMaskTextBox',
event)" onblur="aspxELostFocus
('ctl00_contentChildWindow_secUserDetails_subsecUserInfo_txtPhoneNumber_t
 xtMaskTextBox')" style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px;
PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px;
PADDING-BOTTOM: 0px; MARGIN: 0px 1px 1px; WIDTH: 100%; PADDING-TOP:
0px; BACKGROUND-COLOR:
  transparent; BORDER-RIGHT-WIDTH: 0px" onfocus="aspxEGotFocus
('ctl00_contentChildWindow_secUserDetails_subsecUserInfo_txtPhoneNumber_txtMaskTextBox')"
onchange="aspxEValueChanged
('ctl00_contentChildWindow_secUserDetails_subsec
 UserInfo_txtPhoneNumber_txtMaskTextBox')" value="(___) ___-____"
name=ctl00$contentChildWindow$secUserDetails$subsecUserInfo
$txtPhoneNumber$txtMaskTextBox>
===============================================================================================================================

Thanks
Satish

On May 13, 4:12 pm, Vicky Goyal <vikasrattango...@gmail.com> wrote:
> wel,
> you need to check the javascript code for that.
> There might be some validation for putting a certain type of text.
> Chk out that functionality
> paste your code here... dont attach screen shot.. may be html code
>
> On May 14, 1:08 am, satish <spanchumar...@gmail.com> wrote:
>
>
>
> > Hi Vikas, it does not type any thing since cursor is all the way to
> > the end. I can see it is trying to type at the end one letter at a
> > time.
> > But we want to start typing from the begining..
>
> > any thoughts on that.?
>
> > Thanks
> > Satish.
>
> > On May 13, 3:52 pm, Vicky Goyal <vikasrattango...@gmail.com> wrote:
>
> > > as you say
> > > if you have to set number as
> > > 123456789
> > > it s typing as                                      1
> > >                                                        2
> > >                                                       3
> > >                                                      4
> > >                                                     5
> > >                                                    6
> > >                                                   7
> > >                                                  8
> > >                                                 9
> > > i.e 987654321
>
> > > Well, i m not sure how to deal tht with watir code.
> > > but logically for your application, why dont you set value as
> > > 987654321
> > > so that it can save the way u want.... :) hope this helps
> > >                                                           9
> > >                                                        8
> > >                                                       7
> > >                                                      6
> > >                                                     6
> > >                                                    4
> > >                                                   3
> > >                                                  2
> > >                                                 1
> > > i.e 123456789
> > > this is the value you want.
>
> > > Go ahead with this approach, meanwhile community shall seek for more
> > > answers.. which directly hits the issue.
>
> > > regds
> > > Vikas goyal
> > > Infosys
>
> > > On May 14, 12:39 am, Željko Filipin <zeljko.fili...@wa-research.ch>
> > > wrote:
>
> > > > On Wed, May 13, 2009 at 8:54 PM, satish <spanchumar...@gmail.com> wrote:
> > > > > I have a text field which has phone number mask "(___) ___-____".
>
> > > > I have never seen something like that. Can you share a screen shot or 
> > > > link
> > > > to the page?
>
> > > > Željko- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to