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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roger Studner
Sent: Tuesday, October 24, 2006 1:05 PM
To: [email protected]
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 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 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

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to