Not detecting UI elements randomly *Recurring Issue*

Experiences, small talk, and other automation gossip.
KenLee
Posts: 10
Joined: Wed May 09, 2012 10:40 pm

Not detecting UI elements randomly *Recurring Issue*

Post by KenLee » Sat Jun 09, 2012 12:04 am

I've not modify the rxpath between each test and ranorex will sometimes detect the button and sometimes not. I say there is only 50% accuracy and I don't know what is causing that.

This inconsistency is really slowing down my work.

What information do you need to know to investigate this problem?

User avatar
artur_gadomski
Posts: 207
Joined: Mon Jul 19, 2010 6:55 am
Location: Copenhagen, Denmark
Contact:

Re: Not detecting UI elements randomly *Recurring Issue*

Post by artur_gadomski » Mon Jun 11, 2012 7:06 am

Support will need a Ranorex Snapshot of the problematic button. From my experience I'll tell you that if something works/fails some of the times it's most likely due to timing. If you're running on a slower machine or machine is particularly busy Ranorex can have trouble detecting controls in time. Try extending timeout to say 5 minutes. If it passes every time then it's timing. If it still fails then it's something else.

KenLee
Posts: 10
Joined: Wed May 09, 2012 10:40 pm

Re: Not detecting UI elements randomly *Recurring Issue*

Post by KenLee » Mon Jun 11, 2012 7:44 pm

I've tried changing my Default search time longer. I will see if that makes a difference.
If not, I will post a picture of the element Ranorex is trying to find.