On Wednesday, June 13, 2012 8:51:43 AM UTC-7, sivam wrote:
>
> 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]
>>>
>>
>>
Glad to hear you got it solved.   Unless your app is IE only, you might 
want to consider moving to Watir-Webdriver in order to get access to cross 
browser support so you can test against Firefox and Chrome (and even mobil 
platforms) using the same tool.
 

-- 
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]

Reply via email to