[wtr-general] Re: watir help: click_no_wait doesn't actually click

2008-12-09 Thread Divya

It happens only on Vista

On Dec 9, 2:10 am, Bret Pettichord [EMAIL PROTECTED] wrote:
 Larry,

 We've had multiple reports of this problem with click_no_wait, but I
 have not been able to reproduce them.

 Bret

 [EMAIL PROTECTED] wrote:
  Hey all -

  I'm trying to dismiss popups as described at
 http://wiki.seleniumhq.org/display/WTR/JavaScript+Pop+Ups, solution
  #5.  The first problem was that watir/contrib/enabled_popup was
  unhappy, but that was fixed by requiring watir/ie (per another post
  from this 
  group,http://groups.google.com/group/watir-general/browse_thread/thread/f3d...).
  Now, though, it gets to the click_no_wait line and apparently does
  nothing.  Or, not quite nothing: when Ruby selects anything, a link or
  a field or a button or a whatever, it highlights it yellow, and I can
  see that it's selecting the correct button.  It just doesn't click it.

  In other words, if I use BROWSER.button(:id,
  Btndelete).click_no_wait nothing happens except the button turns
  yellow for a split-second; if I use BROWSER.button(:id,
  Btndelete).click it actually clicks (but then, of course, the popup
  code never executes).  I've got Ruby 1.8 and Watir 1.6.2.  Thanks in
  advance...
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Need to pick amount from the script

2008-12-05 Thread Divya

Hi,
View Source is like this:

form  method=post action=/xxx/xxx
div
Sent to: -nn br/Amount: Ksh 100.00br/Date: 
05/12/2008
03:41 PMbr/Message: br/Transaction ID: 73538br/Balance: Ksh
7487.68

br/


I want to pick that amount Ksh 100 from the script.

Iam New to WATIR can please anyone help me in this regard.

Thanks
divi
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] How to enter values in text field present in forms

2008-12-02 Thread Divya

Hi,
How to enter values in text field present in forms?

I tried
ie.form(:name, 'phone').set(record['mobilenumber'])

please let me know
thanks
divya

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Not able to identify object

2008-12-02 Thread Divya

Hi
Iam divya from bangalore

My watir code is like this:
ie = IE.new
ie.focus
ie.goto(record['url'])
ie.maximize
ie.wait()
ie.textField(:name, 'phone').set(9123456789)


And view source is like this:
Mobile Number:
br/
input type=text name=phone maxlength=11 
size=11 value=
AUTOCOMPLETE=OFF style=-wap-input-format:'*N' /
br/
PIN:
br/
!-- Either 4 or 6 digits --
input type=password name=pin maxlength=6 
size=6 style=-
wap-input-format:'*N' /
br/

I was not able to identify the object based on name phone and pin in
my script.
Message displayed as Unable to lovate element using name

Please help me in this regard



--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---