It is wet-web

Raghu

Jeff Wood wrote:

>... not to sound dense, but, what might the gem name be ???
>
>j.
>
>On 11/19/05, Raghu Venkataramana <[EMAIL PROTECTED]> wrote:
>  
>
>>The latest version for download is a gem.
>>
>>Raghu
>>
>>Jeff Wood wrote:
>>
>>    
>>
>>>When will we see a gem installable version of WET ?
>>>
>>>j.
>>>
>>>On 11/18/05, *Raghu Venkataramana* <[EMAIL PROTECTED]
>>><mailto:[EMAIL PROTECTED]>> wrote:
>>>
>>>    Hi Amitha,
>>>
>>>    Assuming that you are using the latest version of WET (0.5.3), you
>>>    will
>>>    have wet-winobjects
>>>    installed on your machine. Using wet-winobjects, you will be able
>>>    to do
>>>    what you asked. For example,
>>>    in your case, you can do :
>>>
>>>    dlg = $ie.Dialog("title:=Microsoft Internet Explorer")
>>>    lbl = dlg.win_label("index:=1")  # Pl. Try index of 2, 3 - one of
>>>    them works
>>>    puts lbl.display_text
>>>
>>>    will printout out
>>>    Do You really want to .... (The text that is displayed on the dialog)
>>>
>>>    The dlg.win_label above retrieves a handle to the first 'Static'
>>>    element
>>>    in the dialog window.
>>>    The display_text method of the win_label class gets the actual text
>>>    being displayed by the
>>>    label.
>>>
>>>    Hope this helps.
>>>
>>>    The wet-winobjects is a ruby gem including rdocs. The rdocs describes
>>>    all the wet-winboject
>>>    class API.
>>>
>>>    Cheers
>>>    Raghu
>>>
>>>
>>>    Amitha Shetty wrote:
>>>
>>>    > Hi,
>>>    >   I am using WET to handle alert windows.I am able to dismiss the
>>>    > alert window by clicking on the ' OK'  button using
>>>    > def_ok()
>>>    > $ie.Button("value:=Submit").click_without_blocking()
>>>    > $ie.Dialog("title:=Microsoft Internet
>>>    Explorer").Button("text:=OK").click
>>>    > end
>>>    > But I want to retrieve the text in the alert window and verify
>>>    if the
>>>    > right alert message is displayed.
>>>    > For Eg:An alert window saying 'Do You really want to do
>>>    this".How do I
>>>    > get the text? How can I use Label(*args) method to do this?
>>>    >
>>>    > Thanks,
>>>    > Amitha
>>>    >
>>>    >
>>>    ------------------------------------------------------------------------
>>>
>>>    > Enjoy this Diwali with Y! India Click here
>>>    > <http://in.promos.yahoo.com/fabmall/index.html>
>>>    >
>>>    >------------------------------------------------------------------------
>>>
>>>    >
>>>    >_______________________________________________
>>>    >Wtr-general mailing list
>>>    >[email protected] <mailto:[email protected]>
>>>    > http://rubyforge.org/mailman/listinfo/wtr-general
>>>    >
>>>    >
>>>
>>>
>>>    --
>>>    Qantom Software
>>>
>>>    http://www.qantom.com
>>>    Ph : 91-80-26799269 Xtn. 125
>>>    sip : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>>>    --
>>>
>>>    _______________________________________________
>>>    Wtr-general mailing list
>>>    [email protected] <mailto:[email protected]>
>>>    http://rubyforge.org/mailman/listinfo/wtr-general
>>>
>>>
>>>
>>>
>>>--
>>>"Remember. Understand. Believe. Yield! -> http://ruby-lang.org";
>>>
>>>Jeff Wood
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>Wtr-general mailing list
>>>[email protected]
>>>http://rubyforge.org/mailman/listinfo/wtr-general
>>>
>>>
>>>      
>>>
>>_______________________________________________
>>Wtr-general mailing list
>>[email protected]
>>http://rubyforge.org/mailman/listinfo/wtr-general
>>
>>    
>>
>
>
>--
>"Remember. Understand. Believe. Yield! -> http://ruby-lang.org";
>
>Jeff Wood
>
>_______________________________________________
>Wtr-general mailing list
>[email protected]
>http://rubyforge.org/mailman/listinfo/wtr-general
>
>  
>

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to