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

Ask general questions here.
ejji09
Posts: 54
Joined: Thu Sep 10, 2015 2:48 pm

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

Post by ejji09 » Thu Nov 05, 2015 4:32 pm

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.

Martin
Posts: 152
Joined: Fri Aug 15, 2014 12:24 pm

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

Post by Martin » Fri Nov 06, 2015 8:10 am

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.