[tclwebtest] RE: Can't use do_request with a dotted decimal URL
Status: Abandoned
Brought to you by:
tils
From: Molek, G. <GM...@ze...> - 2003-07-24 12:58:52
|
I just recently downloaded tclwebtest, the ChangeLog file shows -- Release 0.3 2003-05-26 --- My test case is very simple (based on one of the self-test files that came with the package): set URL1 "http://www.google.com" set URL2 "http://216.239.39.99" do_request $URL1 link reset_current while {![catch {link find -next}]} { debug "found a link: [link get_text] <[link get_url]>" } do_request $URL2 link reset_current while {![catch {link find -next}]} { debug "found a link: [link get_text] <[link get_url]>" } If I run it as above, both do_requests work. If swap URL1 and URL2, e.g., set URL2 "http://www.google.com" set URL1 "http://216.239.39.99" do_request $URL1 link reset_current while {![catch {link find -next}]} { debug "found a link: [link get_text] <[link get_url]>" } do_request $URL2 link reset_current while {![catch {link find -next}]} { debug "found a link: [link get_text] <[link get_url]>" } So that I attempt the dotted decimal URL request first (or only try the dotted decimal URL request), it doesn't work. Weird, Gordon |