Hi,
I have got the below code and it is working fine now. Thanks for your
suppport..
hwnd = $ie.enabled_popup(waitTime)
if (hwnd) # yes there is a popup
w = WinClicker.new
if ( user_input )
w.setTextValueForFileNameField( hwnd, "#{user_input}" )
end
# I put this in to see the text being input it is not necessary to work
sleep 3
# "OK" or whatever the name on the button is
w.clickWindowsButton_hwnd( hwnd, "#{button}" )
#
# this is just cleanup
w=nil
end
On Wed, Jun 13, 2012 at 8:58 PM, Mathusudhanan R <[email protected]>wrote:
> Im using watir..
>
>
> On Mon, Jun 11, 2012 at 1:57 PM, Željko Filipin
> <[email protected]>wrote:
>
>> Are you using watir or watir-webdriver gem?
>>
>> Željko
>>
>> --
>> 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]
>>
>
>
--
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]