At last I got it working after carefully studying the java scripts
unittests.
:-).
However have a question in order to understand what goes behind the scene.
Why autoit sendkey didn't work when I invoke it from same ruby script?
Is it because my current process was waiting for the modeless dialog box
to go away?
Which process does autoit attaches to? The one which is having focus
currently?
What if my process forked using system executes first and it attaches
the main
window of IE instead of the dialog box?
Thanks for all the help.
Manish
On 10/25/2005 07:26 PM, Manish Sapariya wrote:
>I couldn't get away with the dialog box popped up by my application.
>
>I tried autoit but could not get it working. Even tried simple send_keys()
>function but was not sure whether it was sending the key event to right
>window.
>
>The dialog box is not javascript dialog. Developer says it is dialog
>popped up by IE using confirm() as shown below.
>
>
>-------HTML Source----------
>
> <span class="pageNums" onMouseOver="this.className='pageNumsSel'"
>onMouseOut="this.className='pageNums'">
> <a
>href="/analyst/ReShowSearchList.do?methodToCall=removeSearch&searchName=admin%5Cmanish_SMTP"
>
>onclick="return confirm('Delete this saved search?');">delete</a>
> </span>
>-------HTML Source----------
>
>Any suggestions??
>Thanks,
>Manish
>_______________________________________________
>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