02-15-2011, 11:03 PM
(This post was last modified: 02-15-2011, 11:28 PM by jsknight1969.)
Try using regexpwndtitle or text properties. I am currently working on a newer version of this function because I ran into situations where I could not interact with the popups. When I have a better solution, I will post it.
PS: The above code did work for javascript popups where you can specify the title, but in some .NET validations the title of the window is just "Windows Internet Explorer" and this code has issues with it.
Ok. Change this.
I'm not sure if the nativeclass property will change, but so far, this is working for me. use the object spy and determine if the native class is the same on your testing.
PS: The above code did work for javascript popups where you can specify the title, but in some .NET validations the title of the window is just "Windows Internet Explorer" and this code has issues with it.
Ok. Change this.
Code:
With Browser(Browserobj).Dialog("title:=.*")
to
With Browser(Browserobj).Dialog("regexpwndtitle:=.*","nativeclass:=#32770" )
I'm not sure if the nativeclass property will change, but so far, this is working for me. use the object spy and determine if the native class is the same on your testing.