Hi, all!
I'm testing Web app in IE.
This application opens several browser windows, and I have to navigate between them. Robot Help suggests to use "Level" notation for windows with the same caption. But it fails with me. My codes is:

Window SetContext, "Caption=Cap1 - Microsoft Internet Explorer", ""
HTMLLink Click, "HTMLId=Viewer_NewButtonButtonLink", "" 'The second window with the same caption opens

Window SetContext, "Caption=Cap1 - Microsoft Internet Explorer;Level=2", ""
Browser NewPage,"","Wait=2"

The second SetContext does not work. Why?

P.S. I know, that in this particular case I can use "CurrentWindow" notation. But in real life I have more than one window open, and "CurrentWindow" does not work for me.