Re: Identification of Window fails - becos of declaration?
There should not be any space between * and --.
Hope this would work.
I won't think in your case the title of the web page is changing and you have to go for regular expression.I did not understand completely what you are telling. If the title keeps on changing then only you have to use regular expression.