04-21-2009, 06:23 AM
I looked all over & can't find an answer or else I missed it.
I added an object (lets say a popup in IE) via recording to the OR. During the run most of the time QTP 9.2 finds the object in the OR. However, sometimes it can't. If I check the properties of the popup, the properties for the popup have changed for this one instance.
This is the script:
For those instances where the same popup properties have changed in the OR it will register as:
Is there a way to tell the code to search the OR for another entry without having to stop the run and register another OR object?
I even tried this, but no luck:
Thanks.
I added an object (lets say a popup in IE) via recording to the OR. During the run most of the time QTP 9.2 finds the object in the OR. However, sometimes it can't. If I check the properties of the popup, the properties for the popup have changed for this one instance.
This is the script:
Code:
If browser("IEopen").dialog(Microsoft IE)".Winbutton("OK").Exist(1) Then
browser("IEopen").dialog(Microsoft IE)".WinButton("OK").click
end if
Code:
browser("IEopen_2").dialog("Microsoft IE").WinButton("OK")
Is there a way to tell the code to search the OR for another entry without having to stop the run and register another OR object?
I even tried this, but no luck:
Code:
browser("name:=IEopen*").dialog("name:=Microsoft IE*").WinButton("name:=OK*")
Thanks.