Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object properties changing - not found in OR
#1
Solved: 11 Years, 4 Months ago
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:

Code:
If browser("IEopen").dialog(Microsoft IE)".Winbutton("OK").Exist(1) Then
browser("IEopen").dialog(Microsoft IE)".WinButton("OK").click
end if
For those instances where the same popup properties have changed in the OR it will register as:
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.
Reply


Messages In This Thread
Object properties changing - not found in OR - by tmcken - 04-21-2009, 06:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Object not found during the 2nd iteration of an Action call in a For loop BGunay 0 969 04-23-2020, 07:08 PM
Last Post: BGunay
  Page element keep changing chong67 4 4,620 11-08-2016, 09:17 PM
Last Post: Paul Rammone
  verify that parent properties match object currently displayed in your application. sona 0 3,133 02-21-2016, 12:00 PM
Last Post: sona
  Object repository losing object properties ishan.mahajan@adp.com 2 3,760 08-20-2015, 11:33 PM
Last Post: ADITI1992
  login object not found in object repository Akram 2 3,109 06-01-2015, 07:47 PM
Last Post: babu123

Forum Jump:


Users browsing this thread: 3 Guest(s)