[Wtr-general] ASP.NET and Watir

Alan Ark arkie at compli.com
Thu Oct 26 10:59:09 EDT 2006


I am using Watir to extensively test our ASP.NET application.

 

I would start with using irb to start your investigations on what you are actually looking at.  The show* commands are what I would use.

 

Both IE and Firefox also have a web developer extensions available so that you can get a peek into your page a little easier (without having to do a view source).

   _____  

From: wtr-general-bounces at rubyforge.org [mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Roger Studner
Sent: Tuesday, October 24, 2006 1:05 PM
To: wtr-general at rubyforge.org
Subject: [Wtr-general] ASP.NET and Watir

 

Possibly i'm unlucky.. or just haven't read enough of the archives.

I'm trying to test an HYPERLINK "http://ASP.NET"ASP.NET web app.. that has 3 frames.

I essentially, cannot get more than about 2% of anything to work haha. 

When I first start up.. if I do ie.frame("detail").show_all_objects().. I get a bunch of stuff.

Now.. if I do ie.frame("header").link(:url, /users/).click...   the page refreshes.. the detail frame is full of stuff... I can view source and see the HTML.. button's etc... 

But now if I do ie.frame("detail"). anything.. doesn't matter.. .links .buttons .text_fields... I get nothing back.. ever.

Is it well known that it is impossible to test dynamically generated HYPERLINK "http://ASP.NET"ASP.NET stuff with Watir?  (that being said, every execution, every time, yields identical HTML in view source).

Thanks,
Roger



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.11/493 - Release Date: 10/23/2006


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.11/497 - Release Date: 10/25/2006
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20061026/b437de0e/attachment-0001.html 


More information about the Wtr-general mailing list