| || |
Dynamically loaded OR and SetTOProperty
During test execution I add the OR to the test dynamically:
Set qtRepositories = qtApp.Test.Actions("Action1").ObjectRepositories
qtRepositories.Add ORPath, 1
Later on I try to change some object's location identifier via SetTOProperty (index).
Problem: The default object's ordinal identifier (Type, Value) = (Location, 0) doesn't change.
When using a fixed associated OR this works fine: One default object -> recognition of all instances
I have tried several things:
WaitProperty, parameterized identifier (Location, [0,12]) within OR.
Yet I believe its a QTP bug: Dynamically OR and SetTOProperty don't work together.
Has anyone encountered this effect too?