Can't Identify Objects in Sub App on 2nd Launch
Posted: Thu Dec 22, 2016 12:03 am
Hey Gang,
Just checking with the knowledge base.
AUT = Windows WPF App.
In the normal work flow, there are a number of dialogs..that are seen as separate apps by Ranorex.
The UI Maps for all apps are nice and tidy and have no problem identifying objects.
During execution of a Test.rxrec:
On first launch of the dialog app., can identify all objects exactly as they're mapped. Works great.
On second launch of the dialog app. (in same test execution) fails..cant' find the objects.
The test stops.
Access the Repository and can highlight all the objects in dialog app. again, no problem.
I've double/triple checked the XPaths on the dialog app is exactly the same on both launch instances.
I've tried WAITS.
I've tried DELAYs.
Work around on the 2nd pass has been to switch to issuing Key Sequences to get focus on a control and then do stuff. This works fine.
But what the heck!?
Any ideas would be appreciated.
p.s. n' NO I cannot send a snapshot to any one ever.
Just checking with the knowledge base.
AUT = Windows WPF App.
In the normal work flow, there are a number of dialogs..that are seen as separate apps by Ranorex.
The UI Maps for all apps are nice and tidy and have no problem identifying objects.
During execution of a Test.rxrec:
On first launch of the dialog app., can identify all objects exactly as they're mapped. Works great.
On second launch of the dialog app. (in same test execution) fails..cant' find the objects.
The test stops.
Access the Repository and can highlight all the objects in dialog app. again, no problem.
I've double/triple checked the XPaths on the dialog app is exactly the same on both launch instances.
I've tried WAITS.
I've tried DELAYs.
Work around on the 2nd pass has been to switch to issuing Key Sequences to get focus on a control and then do stuff. This works fine.
But what the heck!?
Any ideas would be appreciated.
p.s. n' NO I cannot send a snapshot to any one ever.