Some times can not get the element when run a test case
Posted: Tue Jan 20, 2015 4:32 pm
Hi, I was currently use ranorex to test a WPF based application,
I firstly trace the button in Backstage page (come from Actipro WPF Toolkit) to build a test case. and when run the whole case, every time this button can not be found. and at this time, In this page If I try to trace this button, it also can not be found.
But if I start application and go to backstage manually, Generally, this button can be traced.
I have delay 3 seconds before trace the button in test case, but still doesn't work...
It's very strange.
Is this a bug in ranorex? or What's wrong with my implementation? or any solutions I can try?
Thanks!
I firstly trace the button in Backstage page (come from Actipro WPF Toolkit) to build a test case. and when run the whole case, every time this button can not be found. and at this time, In this page If I try to trace this button, it also can not be found.
But if I start application and go to backstage manually, Generally, this button can be traced.
I have delay 3 seconds before trace the button in test case, but still doesn't work...
It's very strange.
Is this a bug in ranorex? or What's wrong with my implementation? or any solutions I can try?
Thanks!