hello every one,
I have a problem while “handling popups”.
It is like
1)In my application after a button click a popup is expected and then I
have to handle that popup.
2)I have written popup handler in seperate thread(using autoit).
3)But when I issue a button click my script is hanging at that point and
its not allowing any other thread to execute .
*) I also used click_no_wait but I found it’s not even clicking the
button its going for the next statement
I also tried it in ruby version
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
Please give some solution .
I think I am missing some thing or there may be problem with ruby
versions.
I am stucked here ,please help me.
/Phani
hello every one,
I have a problem while “handling popups”.
It is like
1)In my application after a button click a popup is expected and then I
have to handle that popup.
2)I have written popup handler in seperate thread(using autoit).
Do you start this thread before issuing the click?
Anyway my first hunch is to use jruby since it has “real” threads (or
maybe 1.9.x…).
-r
Hi Roger,
Yes I have started popup handler thread before “click”.I have seen that
popup handler handling other normal popups(other than on-click popups).I
think it’s not thread problem.
hanging after button click is expected but I have to use click_no_wait
to make it work so that it doesn’t hang.But click_no_wait is not
working.
I am attaching my code please find it.
/Phani.
Hi Kevin,
I have been using popup handler in a thread( which is almost equal
starting in separate process).Please find my code in the attachment.
/Phani
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.