You want to interact with the elements of the 'file upload' dialog? As far
as I know that thing doesn't have a document or elements that you can access
like an html page. Or if it doesn't watir doesn't support that anyway. I
could be wrong - if you figure out how to get a WIN32OLE handle on elements
of the file upload dialog, I would be very interested in knowing how to do
that.

On Mon, Oct 26, 2009 at 21:14, H Kogi <[email protected]> wrote:

> Thank you for quick reply.  But I cannot see each object in dialog box as
> html element.  Is there anyway I can view as html elements?  IE developer
> toolbar does not work.   I am now trying with WIN32OLE.
>
>  On Mon, Oct 26, 2009 at 8:15 PM, Bret Pettichord <[email protected]>wrote:
>
>>
>> H Kogi wrote:
>> >
>> > I may be missing something very simple.  When I get window's File
>> > Upload dialog, how can I identify file_field's i.e. id, name, index,
>> > etc?  (index did not work).  I looked in to the the following site and
>> > all the links from there but not finding answers.
>> >
>> > http://wiki.openqa.org/display/WTR/File+Uploads
>>
>> http://wiki.openqa.org/display/WTR/Watir+Methods+Supported+by+HTML+Element
>>
>> --
>> Bret Pettichord
>> Lead Developer, Watir, www.watir.com
>> Blog, www.io.com/~wazmo/blog
>> Twitter, www.twitter.com/bpettichord
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to