hi,
I have used this as...
$oPopup=Watir::autoit
$oPopup.AutoItSetOption("WinTitleMatchMode", 4)
0.upto(timeout) |i|
ret = $oPopup.WinWait("Microsoft Internet Explorer","",1)
win_text = $oPopup.WinGetText("Microsoft Internet Explorer")
if 1 =
You can get the text of the window using AutoIt, in javascript popups the
text is usually in the first or second static text control:
oPopup = Watir::autoit
# Change into the WinTitleMatchMode that supports classnames and
handles
oPopup.AutoItSetOption("WinTit
Hi Ajitesh,
I am Shalini gupta.Hope u'll be fine.I am also working on watir.I have
problem with java popups.i am able to handle that.but how to get text on
popup i dont know.please help me regarding this.Thanks in Advance.
Regards and Thanks
Shalini Gupta
On 4/23/07, Ajitesh Srinetra <[EMAIL PR
Adding
require 'test/unit/assertions'
include Test::Unit::Assertions
will help.A lot of examples for assertions is provided in unit tests
examples .Please follow them in your testcases
Ajitesh
___
Wtr-general mailing list
Wtr-general@rubyforge.org
htt
Hi Vamsi,
Adding
require 'test/unit/assertions'
include Test::Unit::Assertions
to the top of your script should help.
Zeljko
--
ZeljkoFilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi,
could anyone help me to resolve this error:
NoMethodError: undefined method `assert_equal' for
#
Thanks in Advance.
Regards
Vamsi
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general