Hello,

I've just started working with WET and am impressed.  It is a great
accomplishment and contribution to the WATIR testing community.

The HTML based results and DataTables are high on my list of 'features' 
I'll use immediatley the XML object repository is next, but takes a bit
more to setup to play with.

Though I am reluctant to say so I'm having a problem with the resplendid
toolkit.  Seems when I run my test.qwt file everything
worksz...particulary like the html results file.  Cool!  However, I have
one problem and a question.  I'm getting stack overflow errors after
clicking a button and its waiting for the page to refresh.  The refresh
takes about 3 seconds.  The overflow message appears to be caused by
wait. 

Helow I've included: 

1.) Text from the html log; 
2.) Stack overflow message from the console
3.) Test.QWT script


1.) Text from the html log;
===========================
Creating new browser window
Navigating to http://localhost/WebUI/Portal/
Clicking WebLink(text:=Vendor: Maintenance)
Setting WebEdit(name:=txtMasterId) to 350
Clicking WebButton(value:=Retrieve)
stack level too deep => Error



2.) Stack overflow message from the console
=========================================== 
stack level too deep
e:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:1849:in `wait'
e:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:1849:in `wait'
e:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:1849:in `wait'
e:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:1849:in `wait'
e:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:1849:in `wait'
e:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:1849:in `wait'
e:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:1849:in `wait'
e:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:1849:in `wait'
e:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:1849:in `wait'
e:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:1849:in `wait'
e:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:1849:in `wait'
e:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:1849:in `wait'
e:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:1849:in `wait'
e:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:1849:in `wait'
e:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:1849:in `wait'


this keeps repeating this until the page refreshes...and then prints...



e:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:1849:in
`waitForIE'
E:\TAG\ep000120\_INSTALL\WATIR\WET/qantom/webobjects/WebObject.rb:46:in
`click'
E:\TAG\ep000120\TESTS\FRAMES\WET\scripts\test.qws:13E:/TAG/ep000120/_INS
TALL/WATIR/WET/qantom/WetRunner.rb:48:in `load'
E:/TAG/ep000120/_INSTALL/WATIR/WET/qantom/WetRunner.rb:48E:/TAG/ep000120
/_INSTALL/WATIR/WET/qantom/WetRunner.rb:39:in `each'
E:/TAG/ep000120/_INSTALL/WATIR/WET/qantom/WetRunner.rb:39


3.) Test.QWT script
===================
Browser.new().goto("http://localhost/WebUI/Portal/";)
Browser("title:=//").Link("text:=/Vendor: Maint.+/").click
Browser("title:=//").Frame("index:=3").TextField("name:=/txtMasterI.+/")
set("350")
Browser("title:=//").Frame("index:=3").Button("value:=Retrieve").click



Sorry, I'm not very versed in Ruby so I couldn't diagnose what's going
on here...but could use some help

Again, Thanks for your generosity to the community with this exceptional
tool.

Kim
******************************************************************
This email and any files transmitted with it from the ElPaso
Corporation are confidential and intended solely for the
use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the
sender.
******************************************************************
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to