[Wtr-general] Script hangs and does nothing
Michael Bolton
mb at michaelbolton.net
Fri Feb 24 14:01:01 EST 2006
Yes: I know that those are two different links, pointing to two different.
In fact, that was one of the key points of my message.
Your script clicks on the second link (
<http://www.seattlesymphony.org/symphony/buy/subs/newsub/index.aspx>
http://www.seattlesymphony.org/symphony/buy/subs/newsub/index.aspx)
When I point the W3C consortium's validator (http://validator.w3.org) at
that page, I get this report:
[quote]
I got the following unexpected response when trying to retrieve
<http://www.seattlesymphony.org/symphony/buy/subs/newsub/index.aspx>:
301 Moved
[/quote]
I wonder if Watir is also finding that the page moved, but doesn't know how
to cope.
---Michael B.
_____
From: wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] On Behalf Of saud aziz
Sent: February 24, 2006 1:12 AM
To: wtr-general at rubyforge.org
Subject: Re: [Wtr-general] Script hangs and does nothing
Those two are different links. If you go to first link that you mentioned
and click on "New Subscriptions" button, that will take you to the second
link you mentioned.
On 2/23/06, Michael Bolton <mb at michaelbolton.net> wrote:
Here's what I'm observing: when I click on the URI in your message below, I
get this:
http://www.seattlesymphony.org/symphony/buy/subs/index.aspx
<http://www.seattlesymphony.org/symphony/buy/subs/index.aspx>
This page has on it the heading "Series Tickets".
When I click the link in your script, I get this:
http://www.seattlesymphony.org/symphony/buy/subs/newsub/index.aspx
This page has on it the heading "New Subscriptions"
So they're different. I'd start by investigating that, and what my earlier
message notes--on the latter page,
<input type="image" name="template:ibNewSubscription"
id="template_ibNewSubscription"
src="../../../_img/button/subs/newsubscription.gif" alt="New Subscription"
border="0" style=
"margin:7px auto;" />
is what you get, and this has no action associated with it.
This is an important heuristic. It's not always true; it may not even be
true in this case.
But it behooves us to consider the possibility: when the test crashes, it
could be
that it's because the application under test may actually have a bug in it.
---Michael B.
_____
From: wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] On Behalf Of saud aziz
Sent: February 23, 2006 10:24 PM
To: wtr-general at rubyforge.org
Subject: Re: [Wtr-general] Script hangs and does nothing
Thats another thing. If you go to
http://www.seattlesymphony.org/symphony/buy/subs/ and click on those buttons
manually, they do work. But when i run the mentioned script on that site,
it:
1) Sometimes doesn't render the button
2) if it does, it hangs
3) And sometimes it gives the same error that Bill Agee reported.
Regards,
Saud
_______________________________________________
Wtr-general mailing list
Wtr-general at rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
--
Saud Aziz
"Whenever you find yourself on the side of the majority, it is time to pause
and reflect." - Mark Twain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060224/979936d7/attachment.html
More information about the Wtr-general
mailing list