Finally i am able to resolve it but it works sometime and sometime it does
not work
*@browser.input(:value=>"Create New Customer").click*

please advise another convenient way to handle it?
Thanks,



On Tue, Mar 19, 2013 at 6:36 PM, Sohail Mirza <[email protected]> wrote:

> No Success Alex. Sorry
>
> On Tue, Mar 19, 2013 at 5:22 PM, Alex Shtayer <[email protected]> wrote:
>
>> I don't think that problem in fact that div is nested, but more that
>> click event is not working as it should
>>
>> Try
>>
>> browser.button(:id, "*btnAddNewCustomer*").fire_event("onclick")
>> or
>> browser.button(:id, "*btnAddNewCustomer*").fire_event("onmousedown")
>> or
>> browser.button(:id, "*btnAddNewCustomer*").send_keys :enter
>> or
>> browser.button(:id, "*btnAddNewCustomer*").click
>> browser.button(:id, "*btnAddNewCustomer*").click
>> to see whether problem in click action
>>
>> --
>> --
>> Before posting, please read http://watir.com/support. In short: search
>> before you ask, be nice.
>>
>> [email protected]
>> http://groups.google.com/group/watir-general
>> [email protected]
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Watir General" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to