webbot -img -alt file-alt.log

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

webbot -img -alt file-alt.log

Jan Hutař
have another question - please just check if I understand to the docs (http://www.w3.org/Robot/User/CommandLine.html) well:
  I have 4 html files available thought http://localhost.localdomain/test/<filename>, each with one of these lines:

alt-ok.html:     <img src='that-rocks.png' width='468' height='60' alt='Some alternate text'/>
alt-blank.html:  <img src='that-rocks.png' width='468' height='60' alt=''/>
alt-no.html:     <img src='that-rocks.png' width='468' height='60'/>
image-away.html: <img src='http://www.example.com/logo.png' width='96' height='31' alt='example'/>

all linked from index.html. Running this command:

webbot -n -depth 10 -prefix http://localhost/test/ -img -alt file-alt.log http://localhost/test/index.html

puts to file-alt.log:

http://localhost/test/alt-ok.html --> http://localhost/test/that-rocks.png
http://localhost/test/image-away.html --> http://www.redhat.com/g/chrome/logo_rh_home.png

Which seems odd to me.

Is it OK, or is it bug?


Jan Hutar   Quality Assurance Engineer
[hidden email]        Red Hat, Inc.

attachment0 (196 bytes) Download Attachment