Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
automating Modal dialog close
Devabrat Kumar
5/5/2008 9:14:00 AM
Hi
When we click Move/Copy button on Outlook webaccess through watir ,Ruby
then we get a Move/Copy Web Dialog
While it is open i cannot work on the main browser window so I could
know that it is Modal
Now when I am trying to close it using any of these approaches
1) xyz=@ie.close_modal()
OR
2) ie3=Watir::IE.attach(:title,'Move/Copy Item');
ie3.close()
With either of the two approches the script waits at this point in the
code forever
It doesnt give any error but the Dialog Box is not closed and the script
waits forever
ANY SOLUTION ?????
--regards
Devabrat.Kumar@citrix.com
--
Posted via
http://www.ruby-...
.
2 Answers
Jano Svitok
5/5/2008 9:42:00 AM
0
On Mon, May 5, 2008 at 11:13 AM, Devabrat Kumar
<devabratkumarhere@gmail.com> wrote:
> Hi
>
> When we click Move/Copy button on Outlook webaccess through watir ,Ruby
> then we get a Move/Copy Web Dialog
>
> While it is open i cannot work on the main browser window so I could
> know that it is Modal
>
> Now when I am trying to close it using any of these approaches
>
> 1) xyz=@ie.close_modal()
>
> OR
>
> 2) ie3=Watir::IE.attach(:title,'Move/Copy Item');
> ie3.close()
> With either of the two approches the script waits at this point in the
> code forever
>
> It doesnt give any error but the Dialog Box is not closed and the script
> waits forever
> ANY SOLUTION ?????
> --regards
> Devabrat.Kumar@citrix.com
AutoIt
http://www.autoitscript.co...
either create a standalone script that closes the dialog, or use
autoit dll to control it from ruby.
Devabrat Kumar
5/5/2008 9:46:00 AM
0
Thanks
Jano Svitok wrote:
> On Mon, May 5, 2008 at 11:13 AM, Devabrat Kumar
> <devabratkumarhere@gmail.com> wrote:
>> 1) xyz=@ie.close_modal()
>> ANY SOLUTION ?????
>> --regards
>> Devabrat.Kumar@citrix.com
>
> AutoIt
http://www.autoitscript.co...
> either create a standalone script that closes the dialog, or use
> autoit dll to control it from ruby.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
automating Modal dialog close
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password