Željko Filipin's Blog on Software and Testing

Test like you do not need the money.

Archive for the ‘Bugs’ Category

Internet Explorer Puts map Tag inside head Tag

without comments

I have ported Support for XPATH in Watir by Angrez Singh to wiki format. Take a look: XPath Support.

I was trying example from What to do for elements not having class in Watir section and for this HTML:

coords="150,16,159,17,168,20,175,25,182,32,150,56,150,56">
coords="182,32,188,43,190,56,150,56,150,56"
ref="PieChart.html?category=Critical&pieIndex=0">

Watir always returned nil:

ie.element_by_xpath(“//area[contains(@href , 'PieChart.html')]/”)
# => nil

I asked Angrez am I doing something wrong and he replied to check if generated HTML (that is rendered in the browser) is the same as source HTML.

Brilliant!

There seems to be a bug in Internet Explorer 7 (IE). If you create HTML file with above HTML (only that code, do not add anything else) IE puts map tag inside head tag.

ie.PNG

Firefox 2 puts it inside body tag, of course.

ff.PNG

The workaround is to put map tag explicitly inside body tag.

Written by Željko Filipin

October 17th, 2007 at 5:08 pm

Posted in Bugs

Search Companion: The Indexing Service query cannot be completed successfully because the volumes you have specified are not indexed.

with one comment

sc.png

I usually search application logs using Windows Explorer and it works fine. But this time, I tried to search for string @domain and Search Companion pop up appeared with error message “The Indexing Service query cannot be completed successfully because the volumes you have specified are not indexed.” I knew that there was nothing wrong with indexing because all other searches were working fine.

Google search found a page Unsolved Annoyances that said you will get that error message if you search for strings that start with either of following characthers: !#@

Written by Željko Filipin

September 24th, 2007 at 5:01 pm

Posted in Bugs

How much space does Windows CD take

with 6 comments

I inserted my Windows CD in CD drive, right-clicked it and selected Properties from context menu. It said: “Used space: 573 MB”. Then I selected all files and folders at that drive, right-clicked and selected Properties. It said “Size: 815 MB”. Strange. CD has maximum capacity of 700 MB, right?

cd.PNG

files.PNG

Written by Željko Filipin

May 3rd, 2007 at 11:07 am

Posted in Bugs