05-20-2011, 02:33 AM
I don't recommend using "window id" in your expression - it could change from one run to the next. I'd also leave out the "index:=1" (the "index" value is the index of that object type on the page if there are multiple objects of that type that have the same identifying information). Usually the index is 0 unless you have multiple of the same object type with the same identifying information on the page.
Also, don't escape the "&" characters in the second line in your example (don't put "\" in front of it). The text value actually contains the "&" symbol. I've seen this a lot in IE.
Also, don't escape the "&" characters in the second line in your example (don't put "\" in front of it). The text value actually contains the "&" symbol. I've seen this a lot in IE.