Page 1 of 1

Unable to find the oject when it appears on the 2ns screen.

Posted: Thu Nov 05, 2015 4:32 pm
by ejji09
Hi all,

Am testing a desktop application and when i select a option in my application it open a login page in 2nd screen and ranorex was unable to track the oject in the second screen immediatly. It will track the object in the 2nd only when the 1st screen apperas aftera couple of seconds(1st screen goes blank for a couple of seconds when the login page opens on the 2nd screen). How to track the ojects in the 2nd screen immediatly whenever it appears on the 2nd screen

Thank you.

Re: Unable to find the oject when it appears on the 2ns screen.

Posted: Fri Nov 06, 2015 8:10 am
by Martin
Add an element of the second screen (or the whole second screen itself) to repository on "WaitForExists" for it and do your actions after that.

But still it kind of seems that you have a validation or another step still to be done in the first screen. That's why Ranorex waits for it and probably completes something on that screen.

Furthermore this is only a speculation - it would be a great idea to attach the snapshot of the 2 screens and also go over the flow and check if it is actually the case of Ranorex waiting to finish an action on the 1st screen before continueing to the second.